Ready to get started?Download WordPress


Allow duplicate category slugs when "child of parent" (4 posts)

  1. lee.jordan
    Posted 4 years ago #


    I've stumbled into a bit of a problem with a seemingly easy enough request, duplicate child category slugs not being allowed. Having looked at the database I can see why this is the case that each category slug must be unique however it doesn't stand up in the real world not when creating a rich URL structure that's easy for visitors to remember and more semantic for search engines.

    I need to have /cars/news and /trains/news as an example but instead I have to have /cars/news-cars and /trains/news-news. OR and I really don't want to do this, set up a new instance of wordpress for each.

    Now you could say this is all backwards that I should have /news/cars and /news/trains, however that doesn't allow me to achieve what I want to achieve which is multiple versions of the same blog depending on what (in this example) mode of transport the user is interested in.

    The reason I'd like it all under one roof so to speak is so that I can post an article in multiple "editions" of the blog, something can be relevant to readers of my cars edition AND my trains edition. I'm using parent categories and need to have each child category have the duplicate slugs, they can have the same name but a really ugly URL structure.

    Please WordPress, allow us duplicate child slugs :)


  2. lee.jordan
    Posted 4 years ago #

    Anyone? The dash can't become the new slash for defining website structures.

  3. MichaelH
    Posted 4 years ago #

    Okay moving this to How to and Troubleshooting.

    See http://wordpress.org/support/topic/317514

  4. lee.jordan
    Posted 4 years ago #

    Thank you, I hadn't noticed it was in the wrong place.

Topic Closed

This topic has been closed to new replies.

About this Topic