0
我一直在试图强制删除我的url的一些不必要的部分,例如删除index.php?从这个网址。如何使用htaccess友好的网址
/index.php?task=boost,boosting&action=index
以下规则适用于没有帮助
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
应该怎么看起来像正确的规则来隐藏不必要的部分如的index.php或任务或行动?