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 have a URL: www.example.com/my_cool_pancakes. When a User goes to this URL, I would like the URL to instead be www.example.com/pancakes. How do I do this? Is this URL rewriting? I have studied URL rewriting, but I am still not sure about how it works, or even if it is the method I should use to do this. If it is, could you show me how? Thank you :)

PS: www.example.com/my_cool_pancakes is an archive page template for a custom post type if that makes any difference.

share|improve this question
    
have you tried Changing the slug to pancakes –  amit Aug 22 '12 at 15:14
    
Yes thanks, I was confused about that part. –  Roman Epicnerd Sharf Aug 22 '12 at 17:18

1 Answer 1

up vote 1 down vote accepted

Could using the register_post_type parameters fit your needs? There's an option "slug" that will do so if has_archive is set to true...

share|improve this answer
    
I think that worked! –  Roman Epicnerd Sharf Aug 22 '12 at 16:44

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.