我如何消除"index.php"
在代码点火器中位于中心某处的每个路径中的突出?我要清洁非index.php-fied URLs
吗?
如果您使用的是Apache,请将.htaccess文件放在根Web目录中,其中包含以下内容:
RewriteEngine on
RewriteCond $1 !^(index\.php|[Javascript / CSS / Image root Folder name(s)]|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]