Written by James McDonald

September 10, 2015

Instead of just using RedirectPermanent in htaccess try:

RedirectMatch 301 (?i)/blog/my-really-cool-blog-post /about-us/blog/my-really-cool-blog-post

So if your old web server had capitalised URLs e.g.

http://www.example.com/blog/My-really-Cool-blog-post it will still redirect properly.

So to see if you have this problem look in your apache access.log file and look for 404s. This will give you a list of all incoming request that aren’t being found.


cat /var/log/apache2/access.log | grep -E '\s404\s'


Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…


If you have Veeam backup failing with the Updating BCD failed with Cannot update SafeBoot flag and SentinelOne is...