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.

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.

add comment

1 Answer 1

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

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.