Support » Fixing WordPress » Broken links! Redirecting old categories to new?

  • Hi WordPress friends,
    I am novice when it comes to URL redirects. I changed categories in my client’s site and now I get 404s. How can I redirect old categories to new?

    Tried Redirection Plugin and it was giving me errors.


Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi


    Forum Moderator

    Could you use .htaccess Redirect 301?

    Esmi, thanks for the reply.

    I guess that’s my question. What are my options? I don’t think I’m dealing with a permalink structure issue am I?
    If there is 301 redirect code that I can use to manage these category redirects in the .htaccess than I would love to know.

    Most code I see people talking about isn’t specific for category redirecting.

    For example: I want:
    to become

    and I have alot of redirects like this with category changes to do.

    Also, if anyone knows how to use the Redirection plugin that might work for this but I can’t get it to work so far.

    Now my categories are really in shambles. Wish there was a WordPress 911 I could call.



    Forum Moderator

    I don’t think you’re going to find an easy solution for this. The problem is that there’s no obvious, logical, connection between:


    if you also have a number of other categories that you have moved from /products to /some_other_sub_category/products/

    I don’t think you’re going to be able to handle this by manipulating the permalinks, installing a plugin or even using a regexp as part of an .htaccess redirect (although I’d freely admit to being a novice in .htaccess regexps myself).

    Unless you can get hold of someone who is really handy with regexps, you could end up having to specify each and every redirect.

    Sorry I can’t be of more help…

    Esmi, I think you may be right. There is no easy answer.

    I got some help from someone who is wiser than I in The Code and we found out I did something weird with the Redirection Plugin that screwed up my .htaccess file. Cleaned that up and added the word ‘category’ to the extended options in the permalink settings of the WP dashboard. This fixed my 404s for all my live category links.

    For all the dead links (abandoned category URLs) they are still 404ing but at least we’re making progress I guess.

    Will try Redirection plugin again.


    Check with this plugin:

    It may be helpful to you.


    Shane G.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Broken links! Redirecting old categories to new?’ is closed to new replies.