Michael Harris wrote:
> I'm hoping for advice as to the best way to achieve sub-page rewrites.
> I have little clue about rewrite rules.
>
> Basically, I need to handle requests to /{page_slug}/{subpage_slug}
> (to any level of nesting). If subpage_slug exists and page_slug is its
> parent (which would be checked through the taxonomy classes), I want
> it handled as the page would normally be (albeit at a different URL).
> If it doesn't exist send a 404. Requests to /{sub_page_slug} should
> probably be 404 too.
I don't have anything useful to offer on this topic yet, but I do have a
perplexing complication to add to your query:
Why do subpages require sub-directory-like URLs?
Isn't a subpage a logical structure, not a physical one?
This is emphasized even more when creating a second vocabulary that
offers a different hierarchy of navigation, potentially sharing some of
the same pages.
Owen
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---