WordPress always use the category with lowest ID. You can use plugins such as the Hikari Category Permalink plugin to change that however.
http://wordpress.org/extend/plugins/hikari-category-permalink/
Related Posts:
- Using permalinks, category slugs, and tag slugs
- Can I show category name in url for only one of my categories?
- How to remove category and other tags from posts page
- Use category base slug in posts’ permalink
- How to control which category will be picked for the slug of a post?
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- Permalink Settings: optional settings doesn’t apply to editor
- WordPress menu that shows all posts in a certain category like w3schools
- Mark menu item as current-menu-item for category
- Should I use posts or pages in this scenario?
- WP_Query: Mixing category__in and tag__in together
- How to list recent posts in a wp nav menu?
- How can I hide tags on a child-category page, if that tag has not been used?
- How to get post with associated categories and tags names instead of ids with rest api?
- Un-highlight Blog Menu Item when Category Menu Item is Selected
- Having pages after specifying post_type post
- In what context should Categories and Tags be used
- Programmatically add posts from specific category to menu
- wp_list_categories() Exclude All Categories Except One
- Categories Listing and Highlighting current category item
- Rewriting blog permalinks
- WordPress – When visiting a `single post/ single.php` my category menu item link becomes active
- Remove subcategory slug from url
- Is there a way to categorize a list posts all at once?
- How to get tags when using publish_post
- I want to add the 10 most recent posts under a parent category on the main menu
- How to add class to specific navbar item when post parent category is in specific category
- How do you change the permalink for posts for a single category?
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- How to add a ‘News’ section to specific posts in WordPress
- How to 301 redirect from url with post id to permalink with post name (slug)?
- Why do I have categories with duplicate slugs?
- show only one category and filter by tag
- Automatic Table of contents with categories and posts
- Set multi posts random categories and tags
- Point users to a specific url directory for some posts
- Precedence of page permalinks over woocommerce product category links?
- Make assigning post to a specific category equivalent to assigning it to all categories
- How to display subcategory articles in the category view?
- How can I fixe the article title problem?
- Where is the old post permalink slug stored?
- Manipulate post category after time
- How to get the url to tag & category base set by the user?
- Categories box not showing on post edit pages
- List only child categories a post is in, of a specific parent category
- Add custom field to all posts in specific category
- Root level category, tag, author and archive pages to work
- Some posts returning 404 instead of displaying post
- wp_list_categories link to first post of category instead of calling taxonomy template
- Edit menu item title from edit page/post
- Changing my permalink structure – will new layout conflict with existing page?
- Does an action fire when adding a tag via the “Tags” meta box?
- Display posts in alphabetical order for a particular category
- WordPress post tag & custom field
- How to automatically apply a category based on the post title?
- Direct link to “New post” in specific category?
- Disable most recent & view all (TABS) on nav-menu.php
- Get latest posts from WordPress site without header, menu and sidebar
- How can I make a post that belongs to a category or have specific tags, display different from the other single posts?
- Is it possible to change post id for an already added menu item in WordPress?
- How do I retrieve then print the currently viewed sub categories?
- Add multiple tags to multiple posts
- Related posts by category not working right
- How to add tags (custom taxonomy) to post class css?
- Listing Specific Categories from Current Post with Depth
- Redirect to another page using contact form 7? [closed]
- get_the_category listing in hierarchial order
- Displaying posts that belong to a specific author
- WordPress Menu options in the Admin: Posts for the dropdowns
- Custom permalink for each post
- Show posts on front page only
- Get current post’s nav menu name (term name)
- Post is in descendant category not working in home.php
- SQL Bulk Move old posts by one author to another category
- load more posts by category
- Display Related Posts by Category in Random
- How to show beneath posts the full category path?
- How do I keep raw HTML in my RSS feed and not lose my paragraph breaks?
- Set Default Post as Parent Child (Nested) Relation
- Display Current Posts Category (with the most posts)?
- How can I add random alphabets in wordpress permalink posts structure
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Featured Images most often doesnt appear
- Get category slug of the Parent category of a Product
- WP posts using index.php instead of single.php
- Excluding tag Link from html tags in Post content
- How to make a page show posts only from specific categories without editing php files
- How to Get Position of a Post from a category and tag
- Display new posts categories in separated divs
- Add Categories To Custom Post
- Display Posts by Categories
- Edit Posts Page but not category specific pages?
- “Current” class on a singular page menu item with custom post types?
- Displaying different posts Via wp_list_categories()
- Should new posts already have tags?
- Show all posts in category
- Polylang – display one post into 3 categories with different lang [closed]
- Changes done in admin panel are taking time to reflect in the REST api responses
- Get related posts matching most of the provided tags using WP_Query
- I have a blog and want to prompt the user to select a category they like and have that select a random blog post