Restrict taxonomy to sub directory

I want taxonomy to be applied only to
/blog
so, the URLs of the taxonomy should be
/blog/tags and /blog/categories
How can I achieve something like this?