Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've been learning about taxonomies, custom posts etc though a lot of trial and error. I finally have it working how I want, however now I am getting some conflict with my desired slugs. I can't name my category "venue" because someplace in the database, that's already taken (I assume) - even though I've deleted the category that used it. Now when I try adding the category that I want to use the "venue" slug, WP automatically makes it "venue-2", which I definitely don't want in my url as the folder. Any suggestions for this?

share|improve this question
    
Any progress on this question? –  kaiser Oct 13 '12 at 15:50
    
@kaiser, I'd love to know how to change that as well. I'd rather avoid messing with the database itself. –  Wordpressor Oct 27 '13 at 22:26
add comment

2 Answers

The slug is stored in the post_name column of your posts table. I'd recommend searching that table first before manually assigning that slug, though.

share|improve this answer
    
thank you! this is exactly the information I needed. It's not letting me manually assign the slug, which is a failsafe I guess. –  jamie Sep 11 '12 at 23:53
    
What are you using? You can do this with PHPMyAdmin; I have in the past. –  Joseph Sep 11 '12 at 23:56
    
@Joseph, how about custom post type taxonomy slugs? I don't even have any CPT posts left yet taxonomy keeps adding numbers to slugs... –  Wordpressor Oct 27 '13 at 22:28
    
Do a complete search of your database for the slug that you are trying to use. –  Joseph Oct 28 '13 at 14:21
add comment

Usually when Wordpress appends the "-2" to a slug, that means you still have the old content, that you meant to delete, in the trash. Be sure to empty your wordpress trash, then try making the slug.

share|improve this answer
    
Is there a trash for slugs somewhere then? :) –  Wordpressor Oct 27 '13 at 22:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.