Permalink Redirect Plugin for WordPress

April 25th, 2007 – 17 Comments

And yet another WordPress plugin fell out of my hands. This one checks the current URL against the permalink WordPress has defined for the post, page or category you’re in, and redirects to that permalink if they don’t match. This prevents subcategories from being linked to directly without the main category in the URL, so /category/subcat/ will redirect to /category/maincat/subcat/, it prevents posts from being linked to with their post id, and it even prevents posts from missing the last slash in the URL. So here it is: the Permalink Redirect plugin.

If you’re wondering why that last slash is important, have a look at this:

Duplicate content through missing last slash

Now I think that’s a pity… So if you install this plugin, this won’t happen to you!

17 Responses to Permalink Redirect Plugin for WordPress

  1. www redirect
    By www redirect on 17 October, 2008

    Scott Yang has a similar plugin called permalink redirect. It is very useful. I haven’t tried yours yet, but will look into it in the weekend.

    This is an example when I think code-level redirection is necessary. Usually server-level redirection is enough such as in 301 redirect from www to non www and vice versa.

  2. Eee PC Blog
    By Eee PC Blog on 10 October, 2008

    Ahh… what a stupid comment I just did. :-) The setting for the Permalink Redirect plugin has the feature to bypass this problem. I should just input the “folders” that need to be skipped. GREAT!

    Thank you for this great plugin.

  3. Eee PC Blog
    By Eee PC Blog on 10 October, 2008

    Ron and everybody:
    Permalink Redirect does not seem to work with Global translator in the current versions!
    At least all my traslation pages redirects to the front page at the moment. When I disable Permalink Redirect the translated pages works just fine..

    I would really appreciate it if somebody could offer a good advice on how to handle this problem. Thanks!

  4. Greg in San Diego
    By Greg in San Diego on 20 March, 2008

    This is great information, I need to start a blog on my site and hopefully it will really help me get some better traffic!

  5. Ron Pemberton
    By Ron Pemberton on 7 July, 2007

    Hi Joost,

    I just wanted to let you know that I have found that your Permalink Rediect plugin, is the only redirect plugin that works with the Global Translator plugin. All other redirect plugins break Global Translator.

    Permalink redirection is important to SEO, and so is having translation to other languages. I let the author of Global translator know about your plugin (it has had many people troubled trying to find a solution) and the popularity of your particular plugin might just sky-rocket in the next few days.

    Global Translator is located here;

    Thank you so much,


  6. Sander
    By Sander on 4 May, 2007

    As said, just the standard permalink from wordpress.
    Only some subdomains with their own .htaccess.

    At this moment I use a other redirect plugin who’s working fine also with the www redirect.
    If I find anything what is related to this error I let you know.

  7. Joost de Valk
    By Joost de Valk on 4 May, 2007

    Hey Sander,

    not really… got any custom redirects which might be breaking stuff?

  8. Sander
    By Sander on 3 May, 2007

    I have just a regular .htaccess but when I activate the plugin the posts are ok but the on the index I get a error.

    something like a neverending redirect.
    On my other blogs it is working fine. I tried already:
    -deactivate all other plugins
    -other template

    All the same error. Do you have any idea?
    thanks in advance.

  9. sander
    By sander on 26 April, 2007

    Hi Joost,
    I had the same problem as you can see in this (dutch) topic:

    The plugin I have now workls fine for the slash but not with the www redirect.
    So I will try this one.
    I let you know if it is working fine.

  10. Microdesign
    By Microdesign on 26 April, 2007

    Woow great, going to try on my blog haha

  11. Joost de Valk
    By Joost de Valk on 25 April, 2007

    Hehe the search is working, it’s just based on Yahoo, and Yahoo is slow in indexing…

    You’ll want to read this post for the pages :)

    And you’re not fake :P you’re just Joost with another last name :P

  12. SEO Handleiding
    By SEO Handleiding on 25 April, 2007

    Hi Joost, another offtopic question. What plugin do you use for the page navigation at the bottom? I can’t find it here on your blog, and your search isn’t working properly i think because i don’t get results from any query i type.


    The fake Joost ;-)

  13. Arjan Eising
    By Arjan Eising on 25 April, 2007

    Okey :p

  14. Joost de Valk
    By Joost de Valk on 25 April, 2007

    I think that’s exactly what I meant :)

  15. Arjan Eising
    By Arjan Eising on 25 April, 2007

    The only problem with the slash on the end, is that your pages are different. If the pages are exactly the same, Google (and other search engines) will see them as 1 page (with multiple URLs)

Check out our must read articles about Analytics