Forum Moderators: martinibuster
RewriteRule /index.html /index.php [L]
That rule says, whenever someone requests index.html, serve index.php, but don't make the switch in files visible to the browser.
Then continue using index.html in all of your on-site links. Don't switch to index.php, or you could run into duplicate content issues.
There's more good info on URL rewriting here [webmasterworld.com].
one site recommended this command:
AddHandler cgi-script .html
another site recommended this commmand:
AddType application/x-httpd-php .php .html
Does anyone know which of the above is correct for parsing html as php?
there are tons of thread around about it [google.com]