Custom php to handle url based on taxanomy terms Our site uses taxanomy to maintain a blog page. And for now we use views to render the contents. Now we are planning to get rid of views and use templates. What we need is to have custom tpl.php only for request containing vocabulary. So for any request to my site of a pattern path/*, 


I need my custom tpl.php to be used only when the path is valid vocabulary.
Let the default flow get executed when the path is not a valid vocabulary.


What would be right way to handle this?
In views use TID converted to Name filter then use TID in url as a parameter and when the url is hit check the tid is valid or not and write behavior accordingly.