WordPress.org

Ideas

Set category to be used in URL when assigning 2 or more categories to a post

  1. thirstcard
    Inactive

    Currently the category with the lowest ID gets used in the URL when assigning more than two categories to a post.

    Would be nice to be able to choose which category gets used in URL.

    For example

    I assign 3 categories to a post

    1. Bars (ID is 3)
    2. Restaurants (ID is 16)
    3. Hotels (ID is 7)

    With default behaviour of WP, the URL will look like this as "bars" has the lowest ID so gets used in the URL:

    example.com/category-base/bars/post-title

    Posted: 5 years ago #
  2. anca dumitru
    Member

    Hello Henry!

    I had the same problem as you and I used "Hierarchical URLs" plugin.
    You can view more details here:
    http://wordpress.org/extend/plugins/hierarchical-urls/

    Posted: 3 years ago #
  3. Ipstenu (Mika Epstein)
    Lead Plugin Wrangler

    This forum is not for support, it's for ideas with WordPress core.

    Support posts belong at wordpress.org/support

    Posted: 3 months ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    10 Votes
  • Status

    This is plugin territory