Forum Moderators: phranque
I would like to redirect #*$!.shtml to #*$!.php so I put this in my .htaccess
RedirectMatch permanent (.*)\.shtml$ http://www.example.com$1.php
which is only in my changed folder. The problem is I want my home page to be example.com/folder/ and instead it keeps redirecting to example.com/folder/index.php
In my root folder for about 3 years, I've had a permanent redirect from .html to .shtml. Is this causing the problem?
Basically, I'd like to know a way of redirecting every page to its .php equivalent BUT have index.php go to /