Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
RewriteEngine on RewriteCond $1 !^(index\.php|assets|zip|scripts|uploads|robots\.txt) RewriteRule ^(.*)$ /index.php?/$1 [L]
这是网站
请注意,您单击的每个链接,都会在地址栏中完成更改,而不是在页面上。
这个 HTACCESS 代码有什么问题?
提前谢谢:-)
您的 .htaccess 代码是正确的。在内部附加 index.php,以便您在浏览器地址栏中有一个更清晰的 url。清楚你的问题。您所说的“您单击的每个链接,更改都是在地址栏中完成的,而不是在页面上”?