Postname Permalink Auto Redirect

Plugin Banner

Postname Permalink Auto Redirect

by fabioneves

Download
Description

Changed the permalink structure and don’t want to lose your SEO? You’re in the right place!

This plugin will automatically redirect the old ‘%postname%’ permalink structure to the new one as long you keep the same slug in the posts. It works by searching posts by the slug name that comes in the request, so as long as you keep the post slug intact, it should be able to find the post and redirect to whatever new permalink it now is.

Eg.:
Let’s suppose you’re using ‘/%postname%/’ as your permalink structure, but after some time you find out it’s not a good structure (it’s not!) and you change it to ‘/%category%/%postname%/’, the old links will now generate a 404 page, because there’s nothing there anymore.

In this example your site is http://my-cool-domain.com and you have a post with the slug ‘my-cool-post’ under the category ‘news’. With the old ‘/%postname%/’ structure you would access this post with the URL:
http://my-cool-domain.com/my-cool-post/

With the new ‘/%category%/%postname%/’ structure the URL will now be:
http://my-cool-domain.com/news/my-cool-post/

But.. your old http://my-cool-domain.com/my-cool-post/ is now generating a 404.

Well, not anymore, “Postname Permalink Auto Redirect” to the rescue! The plugin will 301 redirect your http://my-cool-domain.com/my-cool-post/ to http://my-cool-domain.com/news/my-cool-post/ automatically. You won’t lose your SEO and you’ll also tell the search engines that your page moved somewhere else.

Notes:
* You should keep the old postname slugs, or the plugin will not be able to find the posts based old links request.
* This plugin supports WPML.

  1. Upload postname-permalink-auto-redirect directory to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Profit $$$

Installation Instructions

  1. Upload postname-permalink-auto-redirect directory to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Profit $$$

Just works

By jaredlt on December 3, 2018

No settings to configure. You just update your permalink structure and it just works. Brilliant.

Job Done you are a genius

By devo25 on March 23, 2018

This is perfect plugin to reslove all issues when it comes to change permalink from %postname% to /%category%/%postname%/ this is the right plugin to use.

This plugin was a lifesaver, but it doesn't seem to be working anymore.

By lanclet11 on November 8, 2017

I would like to say this is working, but it isn't for me anymore. I used to backdate posts to 2013 to test them without them showing up on the homepage, but now when I change the date it doesn't redirect the way it used to, it used to easily redirect from the 2017 to 2013 url and vise versa, but no more... please help! Example: http://url/2017/07/example-page > http://url/2013/07/example-page used to automatically redirect when I made date changes, now I get 404's again... sad panda 🙁 I'm using WordPress 4.7.3 right now and it's not working, when I have time to update the website to 4.8 I'll be back with an update. Update: November 7th, 2017 - I have tested this plugin on multiple websites now and it flat out doesn't work. I have to update my review to 1 star.

Awesome plugin!

By avmaksimov on July 29, 2017

Installed, activated, changed premalink structure and that's all! Great job, guys!

Works great... but...

By Jeffinho2016 on April 2, 2017

Works great for standard pages but doesn't redirect AMP pages

Works Perfect!

By acbrent25 on December 30, 2016

Just activate and it's good to go!

Simple and Work 100%

By Gery Green (gerygreen) on November 18, 2016

I had to change the permalink structure to an old website having hundreds of posts from /%postname%/ to /%category%/%postname%/ and this is the only plugin I found that does exactly that, without any problems.

Great Plugin

By farahmawan on October 27, 2016

Good Job.

Does the job

By artifex404 on October 25, 2016

Simple plugin and does what it promises.

EXCELLENT!

By Francis Parker Yockey (vikingstrength) on October 20, 2016

I was very afraid to go from post postname to category/postname. This took care of everything. THANK YOU! Please keep this updated it works excellent!

1.1

  • Added AMP support
  • Fixed a PHP notice when not using WPML plugin

1.0

  • First public release.
Back to top