[resolved] random URL structure when selecting multiple categories (2 posts)

  1. Exchequer
    Posted 2 years ago #

    Hi there. My template is using a featured box where I pull posts from one category. Therefore I have put some of my posts in their regular category AND in featured.

    Seems to work fine untill you check the url.

    Out of the 4 featured articles 1 url is correct:

    And 3 are incorrect:

    How can I prevent wordpress from using the "featured-2" in the url?

  2. Exchequer
    Posted 2 years ago #

    After some heavy googling I found a solution (http://wordpress.org/support/topic/category-priority-in-url-when-using-multiple-categories?replies=11 )

    Basically I had to re-create the "featured" category so that it received ID90. WordPress gives priority to lower ID's. After this change all my other categories took priority over this new "featured".

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.