Do not output category and tag URLs

your theme will have certain templates, that will render pages in certain ways.

see template hierachy , you could remove these (the default behaviour is to then resort to index.php, from their you could add some redirect rules for any mention of ‘tag’ or ‘category’ to redirect to another page.

This could, though, ruin your site’s functionality so will need some testing.