Title: Using Duplicate Category Names
Last modified: August 19, 2016

---

# Using Duplicate Category Names

 *  Resolved [tvallier](https://wordpress.org/support/users/tvallier/)
 * (@tvallier)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/using-duplicate-category-names/)
 * Hi there!
 * I’m in the process of migrating an old HTML-only site into WP and got stuck on
   something I’m hoping someone can help with – I’m trying to create multiple child
   categories (with different parents) that have the same name.
 * For example:
 * City
    > Parks > Roads > Buildings Island > Parks > Roads > Buildings
 * In this case, I’m trying to set it up so that “City” and “Island” are both categories,
   and “Parks”, “Roads” and “Buildings” are seperate sup-categories under each of
   the parents.
 * Mostly, my concern here is with urls. I’d like to end up with:
    example.com/city/
   roads/main-st example.com/city/parks/jones-park example.com/island/parks/west-
   beach
 * where “main-st”, “jones-park” and “west-beach” are the slugs of the pages posted.
 * Any ideas on how to make this happen?

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

 *  [VelvetBlues.com](https://wordpress.org/support/users/velvetbluescom/)
 * (@velvetbluescom)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/using-duplicate-category-names/#post-882834)
 * This can be accomplished using pages. But you can’t have two categories with 
   the same ‘slug’.
 *  Thread Starter [tvallier](https://wordpress.org/support/users/tvallier/)
 * (@tvallier)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/using-duplicate-category-names/#post-882838)
 * OK … so how would I go about setting up the URL structure I’m looking for, then?
 *  [VelvetBlues.com](https://wordpress.org/support/users/velvetbluescom/)
 * (@velvetbluescom)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/using-duplicate-category-names/#post-882841)
 * Well, if you are just migrating an HTML site and don’t necessarily need to have
   blog posts in each page…
 * Then you’d set up your permalink structure like this:
    /%category%/%postname%/
 * And then you’d just create the pages.
    So you’d start by creating ‘island’ and‘
   city’. And then you’d create the other pages, making sure to set a ‘parent’ for
   the pages.
 * Then the links will automatically look like:
    example.com/city/roads/page-in-
   section
 * So, you will only be creating pages, not posts.
 *  Thread Starter [tvallier](https://wordpress.org/support/users/tvallier/)
 * (@tvallier)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/using-duplicate-category-names/#post-883060)
 * Ahh – that works perfectly. Guess I wasn’t thinking outside the box enough.
 * Thanks!
 *  [fas.khan](https://wordpress.org/support/users/faskhan/)
 * (@faskhan)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/using-duplicate-category-names/#post-883150)
 * Hi all,
 * Just as this problem suggests, I did exactly as this workaround suggests.
 * But here is the thing that I want Categories and not the pages.
 * For example If I am making the Website of an Architect with Architectures in 
   the Island and it has to be categorized with respect to the Country. The Architect
   would want to categorize his work with respect to the type as in “Renovation”,“
   New Construction” and “Interior Designing”.. In this case, the pages would be
   something like:-
 * Country > City > Island > House > Renovation > Project 1
    Country > City > Island
   > House > Renovation > Project 2 Country > City > Island > House > Renovation
   > Project 3
 * –
 * Country > City > Island > House > New Construction > Project 1
    Country > City
   > Island > House > New Construction > Project 2
 * – and so for the Interior Designing.
 * Now, I dont want to make pages for the Country, City, Island, House or even the
   three Categories “Renovation”, “New Construction” and “Interior Designing”.
 * I just want to make pages for the Project 1, Project 2 and Project 3 …
 * How am I supposed to do that?
 * Even when I am generating the automatic Menus, it is making the link for every
   Page and then going down.
 * Quite Annoying.
 * I just want to show the pages for the Project 1, Project 2 and Project 3 but 
   I want the user to come from the Menu which starts from the Country.
 * Just Projects should be clickable and openable!
 * Many Thanks!

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

The topic ‘Using Duplicate Category Names’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [duplicates](https://wordpress.org/support/topic-tag/duplicates/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [fas.khan](https://wordpress.org/support/users/faskhan/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/using-duplicate-category-names/#post-883150)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
