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'm new with wordpress and I would like to understand better if it's possible to create pages with an url based on the category and then the post title, so:

something like http://mysite.com/category-name/the-post-title
or http://mysite.com/category-name/12345 (the post id)
or http://mysite.com/category-name/12345/the-post-title

does exist some plug-in do this or should I consider other ways like url_rewrite to do this?

share|improve this question
up vote 5 down vote accepted

Yes, any of those are possible and configurable under Settings > Permalinks. Have a look at the Permalinks page for other possibilities.

One thing to note though, it's suggested to add a number at the beginning of your permalinks to reduce the number of rewrite rules WordPress has to generate to resolve all of your URLs.

The permalink strings for your examples would be:



share|improve this answer
thank you, it's very simple, I'll take a wider look to the online guide, it's easy too! – vitto May 11 '11 at 18:11

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.