How to change category of a post automatically in WordPress?

How do I change category structure in Wordpress without killing my webrankings?

  • I have built up a terribly unorganised category structure on http://joakimnilsson.com and want to fix that. If I just delete all categories and add new ones which I then assign posts to, will I lose my index on google?

  • Answer:

    Yes, this will hurt your standing with search engines unless you tell search engines where the old pages went, using 301 redirects.  301 is the http return code that tells search engines there is a permanent change to a URL and they will adjust the index accordingly.  You can probably find a wordpress plugin that does this for you.  Or if there aren't too many categories, and you are technically inclined, you can manually add Apache redirect rules in the .htaccess file.  You'll want one rule for each category you are removing.  http://www.isitebuild.com/301-redirect.htm

Dave Hagler at Quora Visit the source

Was this solution helpful to you?

Other answers

You can use Redirection Plugin http://wordpress.org/extend/plugins/redirection/ Redirection is a WordPress plugin to manage 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. This is particularly useful if you are migrating pages from an old website, or are changing the directory of your WordPress installation.

Azizur Rahman

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.