For categories you can set this on the Settings tab of the Category Wrench:
Though for tags I think you’re limited to the URL filter.