[ad_1]
What’s the best way to fix a 404 error on my wordpress website due to mixed case url? For example, I briefly had a url for our “About Us” page as ../AboutUs. But updated the page and url to ../aboutus. Now I am seeing 404 Page Not Found errors on my website reports for the old url.
Someone said that I should edit the .htaccess file and add this to the end of the file:
RewriteEngine On
RewriteBase /
RewriteMap lc int:tolower
RewriteRule \^(.\*)$ ${lc:$1} \[R=301,L\]
But I don’t know what that will do.
What do y’all think? What is the best way to fix my 404 error?
[ad_2]