Hello!
I am trying to replace .php extensions with .html
So far I have received:
RewriteRule ^(.*)\.html $1.php
... it works well when url is entered as /site/page.html (and page.html does not physically exist, but page.php ).
However, what I would like to have is when /site/page.php is entered, the viewer only sees /site/page.html in the browser location.
Is this doable or do I need to set up explicit redirects for each page ?: - (
Thanks in advance.
ps: dev environment I use XAMPP on os x if that matters
vector
source share