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?

  • 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, 2012 at 14:50
  • agreed, sounds like fun.
    – kalpaitch
    Nov 14, 2012 at 15:14


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.