Hi,
I'm implementing a site that has a 'video blog' section and an 'article blog' (i.e. non-video) section. I need to provide two index pages: one for videos and one for articles, each with a uri something like:
mysite.com/video
mysite.com/blog
and a static front page:
mysite.com/
I'm inclined to use a 'video' category to separate out video articles and filter these out from the main blog listing - say, using is_category('video'). That deals with the 'article blog'.
For the 'video blog' section, I'm considering using the rewrite_rules_array filter to do a URI rewrite:
mysite.com/video ==> mysite.com/category/video
So, my questions:
Are there any pitfalls to this approach?
Are there more elegant solutions?
Is there a more maintainable solution (I could write an admin plug-in to provide flexibility in the video category naming).
I expect this problem has been solved many times before, though I'm struggling to think of the search terms to find them! Any pointers/links to previous solutions and related articles would be appreciated!!
Thanks,
Paul.