更新时间:2023-02-12 11:37:02
默认情况下,index.php文件将包含在您的网址
中,请参阅用户指南部分删除有关添加.htacces的index.php文件
By default, the index.php file will be included in your URLs see the user guide section Removing the index.php file about adding a .htacces
创建具有以下内容的.htaccess文件:
Create a .htaccess file with the following contents:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
并将其放在您网站的根文件夹中
and put it in the root folder of your site