When I change a slug from post-a to post-b, will WordPress create a redirect from /post-a to /post-b, like HTTP 301 or something similar? If not, is there a plugin for that?


I just went and tested this (WP 3.3.1), the wordpress core will automatically do a redirect if you change the post slug, even if you change the slug from post-a to post-b and then to post-c, post-a will return a 301 to post-c. That said, the redirection plugin that Mike Jolley recommended is an outstanding plugin and a great way to monitor for 404 errors and such.

  • 5
    Just to add a note, this built-in redirection doesn't work when the part of URL that is not the slug changes, e.g. when the pattern is /[year]/[month]/[date]/[slug] and the date changes, WordPress will not create a redirect. A plugin is necessary in that case. – Borek Bernard May 30 '12 at 20:59
  • Where abouts in the DB is this redirect rule saved? Cheers – raison Apr 24 '18 at 9:52

This plugin can be used to monitor URL changes like that and set up redirection automatically:


  • 2
    If only it worked :( I ended up using wordpress.org/extend/plugins/quick-pagepost-redirect-plugin though it lacks some features. – Borek Bernard May 30 '12 at 21:02
  • 1
    Yes, it did work perfectly until at least the middle of 2012 on one of my fairly complex WP installs (always autoupdated as new stable releases are pushed by WP). However something's broken in its autosensing routine for when slugs are modified, I only just noticed today on a 3.5.1 install so can't be sure when this it first stopped automatically adding rules for modified slugs. That's a shame. :( Guess we should all donate to the dev to encourage him to fix the bug! – Chris Woods Feb 15 '13 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.