Need Same Category slug for place and event

This topic contains 4 replies, has 2 voices, and was last updated by  stargeoteam 9 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #39372

    stargeoteam
    Full Member
    Post count: 33

    Hi,

    I’m having problems regarding slugs.

    Basically I just want to achieve:

    1. I have a category named “Local Services” on Place Post Type.
    2. I have a category named “Local Services” on Events Post Type.
    3. I want to achieve like: http://www.mysite.com/places/local-services and http://www.mysite.com/events/local-services
    4. Problem is I can’t have the same slug for Place and Event. 🙁

    Please help me achieve this kind of setup. Or what should I do since I need to have the same category per Event and per Place.

    Hoping for your response.

    Thanks

    #39374

    Guust
    Moderator
    Post count: 29970

    You can have categories with the same name, but not the same slug.
    That’s how wordpress works.

    #39457

    stargeoteam
    Full Member
    Post count: 33

    Hi Guust,

    Thanks for the response. 🙂

    1. So my requirements above is not possible? Even if the link is different like /events/local-services and /places/local-services?
    2. I think I’m not the only one who happen to have this kind of requirement. Hoping there’s a way to make this happen.

    Let me know please.

    Thanks

    #39472

    Guust
    Moderator
    Post count: 29970

    That is how wordpress works.
    WordPress does not work properly with duplicated slugs.
    If you want to propose any changes to that, you will have to submit them to WordPress, this is nothing a GD can help you with.
    All I can suggest is to use local-services, localservices, local-service, localservice etc.

    #39881

    stargeoteam
    Full Member
    Post count: 33

    Hi Guust,

    I understand. Thanks for the information! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket