Forum Moderators: phranque
RewriteRule ^home\.php$ [b]http://www.example.com[/b]/index.php [[b]R=301,[/b]L]
Where is this code installed? -- What directory?
What is the name of the "home page" file accessed when "example.com/" is requested from your server (as defined by by the DirectoryIndex directive)?
Jim
Options +FollowSymLinks
RewriteEngine on
#
RewriteRule ^home\.foo$ http://www.example.com/index.php [R=301,L]
However, if this code does work with a ".foo" file extension, but does not work with a .php extension, then it is likely that one of several other things is causing a problem:
Jim