Choosing the main category for a post in WordPress

i have a post in WP, lets call it Cheesecake. And i have this post set to 3 categories: in “Coffee” in “Cake” and in “Desserts”. And now i want the main category for Cheesecake to be “Cake” so the URL would be www.mywordpress.com/category/cake/cheesecake

The problem is: i created the category “Coffee” first and so WP takes the lowest category ID and the URL is www.mywordpress.com/category/coffee/cheesecake

Read More

Is there anything i can do to prevent WP from doing this? Maybe a plugin?

Related posts

Leave a Reply

3 comments

  1. Is cheesecake a POST or a CATEGORY? It sounds like a category to me. If you are trying to make Cheescake a subcategory of Cake, it’s very easy to do:

    Go to Categories in the WP admin panel, hover your mouse cursor over the category named Cheesecake and click Edit. In the Edit Category page that opens up, select Cake as the parent category.

    Then the URL for posts in the Cheesecake category will be:

    http://www.mywordpress.com/category/cake/cheesecake/your_post

    Does that answer your question?