I looked for the answer to this since it should be a rather common thing to do
and found some but the all lead me to an internal server error.. 🙁
i need to redirect all my html pages to their counter part in php
i know there is a rewriteRule i can use but cant seem to find the syntax..
a simple explenation:
i need to redirect all my *.html pages to *.php
I hope i explained it well.. would love your help or a link to some resources on this subject where i can really understand how to create this redirectRule
Create a
.htaccessin the root folder of your site and place the following rules in it:If you don’t want the address bar to reflect the change, then change that last line to