The WordPress Show: Why Are My URLs Redirecting After I Change Them?
Are you having issues with your WordPress website URLs redirecting to the wrong pages? I may have a simple solution for you.
I’ve used a plug-in called Redirection for almost 10 years now when I build WordPress sites. Its main purpose is to implement 301 redirects when redesigning websites. This is so that when an old website has a URL like mywebsite.com/contact-us and we change the new website’s page to mywebsite.com/contact, we can make the old URL go to the right place.
We perform at least 10–150 redirects on every site we redesign and relaunch. In short, we’re making sure that there is no lost traffic due to broken links during the relaunch.
Redirection also has an awesome new-ish feature that automatically creates redirects for you if you ever change the URL slug on a page or post. This is awesome, because it’s making sure you don’t break your own links.
But recently I got myself into a situation where I accidentally created a duplicate page, renamed my duplicate page the same as a page I had already created. I then deleted the earlier page and changed the slug of the newer one to the URL slug of the older one.
This created a redirect loop that wouldn’t allow me to view the page I wanted until I figured out how to delete the redirect that Redirection created for me automatically when this happened.
I spent about 15–20 minutes scratching my head until I finally figured it out. This video explains. I hope it helps!
Paul Hickey, Founder / CEO / Lead Strategist at Data Driven Design, LLC and founder of WooCommerceUniversity.com, The Voice Designer, and The Voice Event, has created and grown businesses via digital strategy and internet marketing for more than 15 years. His sweet spot is using analytics to design and build WordPress websites and grow the audience and revenue of businesses via SEO/Blogging, Google Adwords, Bing Ads, Facebook and Instagram Ads, Social Media Content Marketing, Email Marketing and most recently, Voice App Design and Development — Alexa Skills and Google Actions. The part that he’s most passionate about is quantifying next marketing actions based on real data.