Possible to change category slugs?
We would like to edit slugs for our categories in acert.hunter.cuny.edu
How can we do this? I do not see an option to do this when I edit a category under Posts > Categories.
#2 Updated by scott voth about 5 years ago
Hi David - I don't think WP has any built in functionality to change a category slug. You can, of course always create a new category, and re-categorize your posts.
There are a couple plugins you might consider - some get rid of the category base in the url (https://wordpress.org/plugins/remove-category-url/ or https://wordpress.org/plugins/remove-taxonomy-base-slug/, another seems to allow you to totally change the slug (https://wordpress.org/plugins/enhanced-category-pages/screenshots/).
Can you take a look to see if any of these suits your needs. Thanks.
#4 Updated by Boone Gorges about 5 years ago
- Assignee changed from scott voth to Boone Gorges
- Target version changed from Not tracked to 1.7.17
Scratch that - you can't edit your category slugs that way because we've enabled a feature called "global tags". Let me look further into this - we don't actually use this feature on the Commons, so I can probably turn it off so that you can edit slugs on your local site.
#7 Updated by Boone Gorges about 5 years ago
Hi Gina - I'm going to try to fix this for the April 1 release. I don't think it will be possible to use a plugin to work around this (at least not one that I'd feel comfortable using) - it's going to run up against the same "global terms" problem as you're seeing now. Please stay tuned for updates.
#8 Updated by Boone Gorges about 5 years ago
- Status changed from Assigned to Resolved
I've run through the codebase to make sure that global terms were not, in fact, being used anywhere. Looks like we're in the clear. I've disabled them in https://github.com/cuny-academic-commons/cac/commit/ce1c373b2c967e152adf7e3d631a373853c4a618. After tonight's release, you'll be able to edit term slugs.