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

This wordpress site I'm touching up has a page hierarchy which is responsible for the urls.

Basically the urls look like page1/subpage/subsubpage etc.

The problem is, this site is for a recurring competition and therefore the urls are like 2011/results 2012/results 2013/results

Which wordpress in turn makes 2011/results 2012/results-1 2013/results-2

Which doesn't look that great..

Is it possible to mod_rewrite or something to work around this? I understand the need in Wordpress for unique slugs but I really can't see why they enforce it even when it's impossible to get duplicate urls for different pages...

share|improve this question

migrated from stackoverflow.com Apr 16 '13 at 14:01

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

I use the Custom Permalinks plugin for Wordpress. With it, you can choose the permalink of each post/page individually. It is great for situations like yours where you want to fine tune the URLs in some corner cases.

share|improve this answer
Looks about right! Thanks! – Alexander Kuzmin Apr 25 '13 at 9:19

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.