WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.