Forum Moderators: phranque
Thanks
RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php
This is an external 301-Moved Permanently redirect. If you wish to simply serve php files instead of html files, without notifying the client that the URL has changed, you can do that with mod_rewrite. The advantage of using an external redirect is that it informs search engines that your pages have been replaced.
Jim