WordPress.org

Forums

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

  1. Exchequer
    Member
    Posted 1 year 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:
    /rift/rift-endgame/class-guides/cleric/cleric-healing-purifier-blaze-and-flame-build/

    And 3 are incorrect:
    /featured-2/rift-warden-thrax-planebreaker-bastion-guide/
    /featured-2/multiple-teamspeak-3-clients/
    /featured-2/pocket-league-story-2-starter-guide/

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

  2. Exchequer
    Member
    Posted 1 year 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

Tags

No tags yet.