Hey all!
Well there's something I can't get past in htaccess.
Im trying to make the default page a page that doesnt really exist... The default page is index.php which exists, but I want the default page set to index.html so that it is SEO friendly, but if I set the default page is index.html I get a 404 error even after adding a Rewrite Rule to redirect all .html's to .php's
Anyone have any suggestions?
This is what I have:
Thanks everyone! Any help or suggestions are much appreciated.
Regards, Rhett.
Well there's something I can't get past in htaccess.
Im trying to make the default page a page that doesnt really exist... The default page is index.php which exists, but I want the default page set to index.html so that it is SEO friendly, but if I set the default page is index.html I get a 404 error even after adding a Rewrite Rule to redirect all .html's to .php's
Anyone have any suggestions?
This is what I have:
Code:
RewriteEngine On
RewriteRule ^(.*).html $1.php
DirectoryIndex index.html
Thanks everyone! Any help or suggestions are much appreciated.
Regards, Rhett.






