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

How do I create pretty permalinks for a query page that includes results from both categories and tags.

For instance, if the category is Country (America) and the tag name is city (New York), can I have a permalink like wordpressblog.com/america/new-york for a page that shows all posts belonging to Amercia category and NY tag?

Thanks much!

share|improve this question
up vote 1 down vote accepted

You could do it manually in your .htaccess although I'm not sure how. In the past I have been able to use partially pretty urls by doing


I would imagine it would easy enough to use mod_rewrite to prettify that even further.

UPDATE: Check this out it looks like it will do exactly what you need!


share|improve this answer
Thank you. This looks like the best approach at this time. – Amit Agarwal Sep 25 '12 at 10:59

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.