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 hope that makes some kind of sense.
--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
IRC: michaeltwofish #habari
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---