Forum Moderators: phranque
I am using the code below but it only redirects index.php to /
any suggestions?
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php多tml?)\ HTTP/
RewriteRule ^index\.(php多tml?)$ http://www.example.com/ [R=301,L]
[edited by: jdMorgan at 3:02 pm (utc) on April 20, 2007]
[edit reason] example.com [/edit]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php多tml?)[b][^\ ]*[/b]\ HTTP/
RewriteRule ^index\.(php多tml?)$ http://www.example.com/ [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php多tml?)[^\ ]*\ HTTP/
RewriteRule ^index\.(php多tml?)$ http://www.example.com/[b]?[/b] [R=301,L]
Jim