I received a 500 Internal Server Error on a wordpress site I was working on and thought I’d write a quick note about what I learned.
This is what caused the error:
Redirect http://oldSiteAddress.com/oldpage.php http://newSiteAddress.com/newpage
It should have been written as follows:
Redirect /oldpage.php http://newSiteAddress.com/newpage
If you want more information about redirect how-to I found these sites to be helpful:
Just as an fyi – this particular site has been completely revamped resulting in new url configurations.
Since we still wanted users to be able to find the information from the older pages so we implemented 301 redirects for specific pages as well as the overall site. It works beautifully.