Forums

How to use the same SLUG name for multiple categories? (2 posts)

  1. dorianj
    Member
    Posted 1 year ago #

    I'm having a problem with using the same slug name under different parent categories. If I create a new category and give it a slug already in use, then it takes the slug and appends the parent category to it. For example if I wanted my site structure to look like this:

    domain.com/cars/ford/
    domain.com/trucks/ford/
    domain.com/suvs/ford/

    WordPress changes it to look like this:

    domain.com/cars/ford/
    domain.com/trucks/ford-trucks/
    domain.com/suvs/ford-suvs/

    You'll notice the first use of the slug (in this instance 'ford') is untouched, but subsequent uses get changed and even if I go back and edit them, wordpress changes them back.

  2. dorianj
    Member
    Posted 1 year ago #

    This appears to be a bug (a very annoying bug) in WordPress.

    http://wordpress.org/support/topic/295449?replies=13

Topic Closed

This topic has been closed to new replies.

About this Topic