RedirectMatch 301 (.*)\.html$ http://www.sitename.com$1.php
and added it as the last line of my .htaccess file. I uploaded this and the new pages about a week ago, but it has not worked because I deleted the old .htm files and the site went away (obviously I had copies of the old files which I reloadd and now the site is back).
I think the issue is either,
1. I need to add a redirect line in the .htaccess file for each page, or
2. I am missing something from the redirect script to make it work.
Obviously I have never done this before, and I have spent about 4 hours researching and trying stuff to no avail. So, I throw myself on your, um, knowledge... Anyway, any suggestions, hints or a good tutorial would be appreciated. thanks.

New Topic/Question
Reply


MultiQuote


|