Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum permalinks adding a "-2" at the end

  • @rsanchez1

    Participant

    On my site, I have permalinks for different categories. If I have a forum with the same name as one of the categories, then the permalink for that forum will have a “-2” added at the end. For example, if I have a travel category and a travel forum, then my travel category will have permalink:

    http://www.example.com/travel

    While my travel forum will have permalink:

    http://www.example.com/forum/cat/travel-2

    Here, I changed the Forum slug in the backend to “cat” instead of “forum”.

    Why would the forum permalink add a “-2” at the end? Every time I try to update the slug to the forum from the backend, just adding “travel”, when I save it, it comes back to me as “travel-2”. This one has me stumped.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @johnjamesjacoby

    Keymaster

    WordPress does not have hierarchical collision detection for full paths. This means no two posts can have the same slug.

    @rsanchez1

    Participant

    There’s no workaround to make it do hierarchical collision detection?

    @jaredatch

    Member

    Unfortunately, not currently. That would be something that would need to done on a WordPress core level. I’m not aware of that being an issue they are going to address soon, but maybe I just haven’t seen it in WP trac.

    @rsanchez1

    Participant

    I see. Thanks for clearing that up.

    @cwdnow

    Participant
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar