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.

So, I find myself in this situation now and again, trying to solve a particular workflow. I have a page hierarchy something like this:

Page 1
    Sub-page 1 (category term listing)
        Post 1
        Post 2
    Sub-page 3 (standard page)
Page 2 (category term listing)
    Post 5
    Post 6

Now the particular problem is that I want to maintain this hierarchical structure, particularly in the breadcrumbs and url (friendly rewrites). Basically I want category and post pages to appear in the page hierarchy, for example /Page 1/Sub-page 1/Post 1/, rather than the wordpress default: /category/{category-name} and /blog/{post-name}.

Is this just something WordPress won't do, or does anyone have any clever workarounds?

share|improve this question
    
It's not clever so much as a nightmare, but have you looked at WP_Rewrite? You can make up any permalink structure you want with the right filters and actions. –  totels Nov 14 '12 at 14:50
    
agreed, sounds like fun. –  kalpaitch Nov 14 '12 at 15:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.