Disable taxonomy pages Are there any way to disable the taxonomy pages? I saw a question that restricts access to them (Original question).

But I dont want the "access denied" message to be displayed, I want to remove the pages completely.
If you don't need taxonomy you can always just disable the module.

If you still need the functionality but don't want the display pages to exist I guess you could implement hook_menu_alter() to remove them from the registry:

function MYMODULE_menu_alter(&amp;$items) {
  unset($items['taxonomy/term/%taxonomy_term']);
  unset($items['taxonomy/term/%taxonomy_term/view']);
  unset($items['taxonomy/term/%taxonomy_term/feed']); // If you want to hide the feed as well.
}


I'd do some thorough testing after doing that though, I'm not sure if it would have any knock-on effects. Also if you're using the default taxonomy View for your taxonomy pages you'll obviously need to disable that as well.