Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Change /index.html to / on all directories



10:40 am on Jan 10, 2007 (gmt 0)

10+ Year Member

Can anyone help me with the 301 rewrite rule which will rewrite index.html to the parent directory on any directory on the domain. I have seen examples for doing this on just the root but I need this site wide.





Many Thanks


12:20 pm on Jan 10, 2007 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

after the usual bumflufferies you could try:

RewriteRule ^(([^/]+/)*)index\.html$ [mydomain.com...] [R=301,L]


1:22 pm on Jan 10, 2007 (gmt 0)

Featured Threads

Hot Threads This Week

Hot Threads This Month