Test of Wordpress’s Default Slug Redirect: 301 or 302?
Posted on March 18th, 2010 at 10:06 am by Michael VanDeMar under SEO, Wordpress, blogthropology, coding, nerdiness
Just a quick test to see if Wordpress by defaults redirects slug changes using a 301 or 302 redirect. The original url for this post is:
http://smackdown.blogsblogsblogs.com/2010/03/18/test-of-wordpress-default-slug-redirect-301-or-302/
and I am going to change it to:
http://smackdown.blogsblogsblogs.com/2010/03/18/wordpress-redirect-302-or-302/
Results: Using the Bad Neighborhood Header Detector we can see that Wordpress does in fact use a 301 redirect redirect by default when changing a url slug (at least, Wordpress 2.9.2 does, since I upgraded just before this test):

If you have enjoyed what you read here, please consider subscribing to my feed.













March 23rd, 2010 at 3:24 am
Nice one! At least now we know. Thanks
March 25th, 2010 at 9:12 am
Does wordpress 2.92 also automatically do 301 redirects if you change the permalink default settings for the whole site?
March 25th, 2010 at 9:15 am
Paul, I am not sure. I am personally not willing to change the permalink structure on this blog to test that, but it shouldn’t be too hard to set up a test blog and try it to see.
March 25th, 2010 at 9:26 am
I totally understand Michael. I might give it a try to see for my self by creating a test blog. Will post the results back here once I do, ok
March 25th, 2010 at 10:24 am
Ok, I did the test. No Luck
. I get a 404 error instead. I am now about to try this permalink_redirect plugin to see if that works.
March 25th, 2010 at 10:31 am
Ouch, that did not work either
. You would think there is a workable plug-in out there that is compatible with 2.92. The ones I have found so far only seem to do this manually with one post at a time. I can’t seem to find one that automatically redirects all old permalinks to new ones.
June 24th, 2010 at 7:25 pm
Thanks for sharing this information. Now we know it won’t work
June 28th, 2010 at 1:59 pm
Glad to see the redirects are 301s. Found a great plugin a while ago to use for managing internal redirects, just wish I could remember what it was!