[wp-trac] [WordPress Trac] #1298: WP does not force category slugs to be unique
WordPress Trac
noreply at wordpress.org
Mon Oct 6 03:45:38 UTC 2025
#1298: WP does not force category slugs to be unique
--------------------------+---------------------
Reporter: MC_incubus | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 1.5.1
Severity: minor | Resolution: fixed
Keywords: bg|tested | Focuses:
--------------------------+---------------------
Comment (by sheebaloo):
You're right — category slugs should be unique to prevent overlapping
queries like /category/foo/music/ pulling in posts from
/category/bar/music/.[https://www.dailysparkz.site 🌟]
[https://expressvisionary.info/ 🚀] [https://vibesnews.online/ 🎧]
[https://businessinsiderdaily.site/ 💼] [https://digitalbyexpress.store/
💻] [https://universaldviews.tech/ 🌎] [https://skylightpublisher.tech/
☁️] [https://rebootpost.site/ 🔄] [https://bizorganic.site/ 🛒]
[https://oneviewpost.info/ 📰]
Adding a validation check during category creation or edit to detect
duplicate slugs (and either auto-append a suffix or alert the user) would
improve both data consistency and UX.
[https://www.thedailyfoods.com/ 🍽️] [https://www.thehomedecores.com/ 🏡]
[https://www.gowellnesscare.com/ 💊] [https://www.sportsondaily.com/ ⚽]
[https://www.travellertale.com/ ✈️] [https://www.bizinnovates.com/ 📈]
[https://www.entertainmentscroll.com/ 🎬]
[https://www.automobilefuture.info/ 🚗] [https://www.growdigitalhub.com/
🌱] [https://www.aitechnologia.uk/ 🤖]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/1298#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list