Title: Postname Permalink Auto Redirect
Author: fabioneves
Published: <strong>15 An Dàmhair 2015</strong>
Last modified: 10 An Cèitean 2017

---

Search plugins

![](https://ps.w.org/postname-permalink-auto-redirect/assets/banner-772x250.png?
rev=1266520)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/postname-permalink-auto-redirect/assets/icon-256x256.png?rev
=1266520)

# Postname Permalink Auto Redirect

 By [fabioneves](https://profiles.wordpress.org/fabioneves/)

[Download](https://downloads.wordpress.org/plugin/postname-permalink-auto-redirect.1.1.zip)

 * [Details](https://gd.wordpress.org/plugins/postname-permalink-auto-redirect/#description)
 * [Reviews](https://gd.wordpress.org/plugins/postname-permalink-auto-redirect/#reviews)
 *  [Installation](https://gd.wordpress.org/plugins/postname-permalink-auto-redirect/#installation)
 * [Development](https://gd.wordpress.org/plugins/postname-permalink-auto-redirect/#developers)

 [Support](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/)

## 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.

## Installation

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

## FAQ

  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 $$$

## Reviews

![](https://secure.gravatar.com/avatar/d9b04eeadd5f822bd7f08b1112fa49635344ac8428b5b0699a0de44a1d978184?
s=60&d=retro&r=g)

### 󠀁[Just works](https://wordpress.org/support/topic/just-works-468/)󠁿

 [jaredlt](https://profiles.wordpress.org/jaredlt/) 3 An Dùbhlachd 2018

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

![](https://secure.gravatar.com/avatar/e170e78ce4d4dd09e4e2b5cf3abf3b265bf69923d1b33717734e051698b982fe?
s=60&d=retro&r=g)

### 󠀁[Job Done you are a genius](https://wordpress.org/support/topic/job-done-you-are-a-genius/)󠁿

 [devo25](https://profiles.wordpress.org/devo25/) 23 Am Màrt 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.

![](https://secure.gravatar.com/avatar/1b3741f7f8dd332131cb8aca21eb2cdad9d0c2fdeb96f5075574c874ab62c7f4?
s=60&d=retro&r=g)

### 󠀁[This plugin was a lifesaver, but it doesn’t seem to be working anymore.](https://wordpress.org/support/topic/this-plugin-was-a-lifesaver-but-it-doesnt-seem-to-be-working-anymore/)󠁿

 [lanclet11](https://profiles.wordpress.org/lanclet11/) 8 An t-Samhain 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.

![](https://secure.gravatar.com/avatar/67b0da485f6b94a96479c116a86049e75b6d01a857fc88d22e984539d11c9880?
s=60&d=retro&r=g)

### 󠀁[Awesome plugin!](https://wordpress.org/support/topic/awesome-plugin-2952/)󠁿

 [avmaksimov](https://profiles.wordpress.org/avmaksimov/) 29 An t-Iuchar 2017

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

![](https://secure.gravatar.com/avatar/51f0771cdf1c457d8aa944d74395e6cbd646c1f566ebdb94a3b47566943bc2f2?
s=60&d=retro&r=g)

### 󠀁[Works great… but…](https://wordpress.org/support/topic/creates-a-lot-of-404/)󠁿

 [Jeffinho2016](https://profiles.wordpress.org/jeffinho2016/) 2 An Giblean 2017 
1 reply

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

![](https://secure.gravatar.com/avatar/56dd5b187e98805e2da0a4a89579f85cb02f8339bda2a022ff8ca406b4a77d12?
s=60&d=retro&r=g)

### 󠀁[Works Perfect!](https://wordpress.org/support/topic/works-perfect-397/)󠁿

 [acbrent25](https://profiles.wordpress.org/acbrent25/) 30 An Dùbhlachd 2016 1 reply

Just activate and it’s good to go!

 [ Read all 16 reviews ](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/reviews/)

## Contributors & Developers

“Postname Permalink Auto Redirect” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ fabioneves ](https://profiles.wordpress.org/fabioneves/)
 *   [ Frontkom ](https://profiles.wordpress.org/frontkom/)

[Translate “Postname Permalink Auto Redirect” into your language.](https://translate.wordpress.org/projects/wp-plugins/postname-permalink-auto-redirect)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/postname-permalink-auto-redirect/),
check out the [SVN repository](https://plugins.svn.wordpress.org/postname-permalink-auto-redirect/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/postname-permalink-auto-redirect/)
by [RSS](https://plugins.trac.wordpress.org/log/postname-permalink-auto-redirect/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

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

#### 1.0

 * First public release.

## Meta

 *  Version **1.1**
 *  Last updated **9 bliadhnaichean ago**
 *  Active installations **700+**
 *  WordPress version ** 2.9.0 or higher **
 *  Tested up to **4.7.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/postname-permalink-auto-redirect/)
 * Tags
 * [link](https://gd.wordpress.org/plugins/tags/link/)[links](https://gd.wordpress.org/plugins/tags/links/)
   [post slug](https://gd.wordpress.org/plugins/tags/post-slug/)
 *  [Advanced View](https://gd.wordpress.org/plugins/postname-permalink-auto-redirect/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  14 5-star reviews     ](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/reviews/)

## Contributors

 *   [ fabioneves ](https://profiles.wordpress.org/fabioneves/)
 *   [ Frontkom ](https://profiles.wordpress.org/frontkom/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/postname-permalink-auto-redirect/)