i just changed my permalink structure to /category/postname, but i have multiple categories per post. how do i chose which category i want i to be?
i just changed my permalink structure to /category/postname, but i have multiple categories per post. how do i chose which category i want i to be?
From the WordPress codex:
http://codex.wordpress.org/Using_Permalinks#Using_.25category.25_with_multiple_categories_on_a_post
Using %category% with multiple categories on a post
When you assign multiple categories to a post, only one can show up in the permalink. This will be the lowest numbered category (see Manage Categories). The post will still be accessible through all the categories as normal.
what is 'the lowest numbered category' and how can i control it. i must not have the ability to understand the link you just sent me, because i've read it before
The short answer is you do not have the ability to control which category is used.
In practical terms, the lowest number category means the category that was first created in WordPress, ahead of all others the post is assigned to.
In WP each category has an ID number, Behind the scenes WordPress refers to categories by this ID #, not by their name or slug since those can change while ID # can never change. Since ID #'s are sequentially assigned #'s as categories are created, the lowest ID # will be the category that was created first.
Whatever one thinks of WordPress' decision to use the lowest category id # as the "winner" in the scenario you are in, that is how it works.
If that doesn't work for you, you might want to select a different permalink system.
ill delete and re-create the categories i want to be last
This topic has been closed to new replies.