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?
- WordPress converting ‘ to ’ and – to –?
- Menu for all posts from multiple categories
- WordPress menu disappears in category pages
- Unable to create categories and tags for posts in wordpress multisite
- Menu item on a category
- Display a specific category in a focused area of my site
- Post in bulk based on category template
- How to select a category automatically based on a word in WordPress post title?
- How to make ajax load posts from the current category?
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Featured Images most often doesnt appear
- Display default matabox of posts(add category) wordpress
- Automatic duplicate/copy of post to a related page in WordPress
- Post meta not working
- How to add tags under categories
- How display related post only in Default category on single
- How to add first 3-4 post tags on WordPress Post Title
- how to add tags to post in the Loop?
- ACF date picker to trigger category change
- What parameters do I need to pass to get_tags to get ALL tags for the site, when used in a post
- Menu does not foward to the linked posts
- get category in list of posts // shortcode for custom related posts
- Get category slug of the Parent category of a Product
- Permalink Short code showing unnecessary link text inside the loop
- Yoast breadcrumb URL shows category instead of the page
- Please help a newbie with blog page issue?
- Menu Items disappearing/being empty on save or post edit
- Show single post child category from a determined parent
- Author post count in category
- Get post slug and match with menu item slug to change css
- How can I create a ‘sub-blog’ which has its own sidebar on individual posts?
- My post permalinks are redirecting to the post archive page for some reason?
- Featured Story Shortcode not outputting content
- How can I make a post sub link?
- Go back to the exact post page number
- exclude particular category in api
- On the online version of my blog posts disappear
- How to Create another Page Category like the “Post” and “Pages”
- Current post categories and subcatecories outside of the loop
- Query prints posts without specific categories
- Css and function issue on author archive page
- Private post caught in endless redirect loop
- Foreach issue in get_posts function
- Posts are not displaying on their category and tag page
- Tag for custom post type
- Make categories appear random
- How to set the post permalink using the WordPress REST API?
- how to filter posts by category without page load (ajax) in wordpress?
- WordPress get tags in “publish_post” hook
- How do I scope out why I have two “posts” menus in an admin?
- WP posts using index.php instead of single.php
- How to increase the number posts that displays by a hierarchical taxonomy? (HTTP ERROR 500)
- how to create a category with wp_insert_post and post_category
- unable to display two post per page in wordpress front-page.php
- Get Category in save_post Hook
- Remove status ‘archived’ from the default post and page view
- Top tags with minimum number of posts
- Parent menu item does not display posts when I add the sub-items
- Create/Set Category as Title of Post
- Add a url parameter to the current post and read it in a shortcode