更新时间:2023-02-12 11:58:50
默认情况下,index.php文件将包含在您的URL中
参见用户指南部分删除有关添加.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