Forum Moderators: phranque
Ivetried the above and it works fine redirecting index.php but some urls end in /index.php?someotherstuffhere which also redirect to domain.com/ so the pages never load
Can someone tell me how to change it so its only index.php exactly gets redirected and those other pages work as normal
RewriteCond %{THE_REQUEST} ^([^/]+/)*index\.php\ HTTP/
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(([^/]+/)*)index.php$ http://www.domain.com/$1 [R=301,L]
Jim