I have a site that uses the Taxonomy module to categorize content. The vocabularies and terms are used as arguments and filters in various Views. I do not want the Taxonomy module to generate its own pages at URLs like "/taxonomy/term/1,2" . Is there an easy way to disable this functionality?
Just install the Views module and enable the Taxonomy Term View. This will give the option to set the access permissions to Authenticated or Administer or any role or permission, preventing the page from being viewed by the public or robots.
PS: if you are not using Views, you have not yet discovered Drupal.
This is a great use of the panels module. I do it on node /users and taxonomy terms i dont want to have a public face.
- Enable panels/ctools page manager
- Enable the "term template override
- Create a variant (using selection rules to limit to a vocabulary or term).
- When asked the type of panel variant specify http response code and pick from page not found or redirect.
How it works: panels takes over the renderig task from the taxonomy module and uses your selection criteria to serve up a variant of panels that simply emits a 403/301 error code. You can perform some pretty tricky redirects and selection magic with the use of contexts and selection rules. You should be using th emodules anyway because everything you have installed relies on ctools and panels is just the ctools page manager ui. ;)
As you've discovered, the Taxonomy module's behaviour is to create a page for each term, on which teasers to all nodes tagged with that term are displayed as teasers.
To suppress the creation of these pages on a per-vocabulary basis use a module called Disable Term Node Listings.