This module lets the administrator set the HTML robots
metatag to noindex
for a specific node. This will instruct well-behaved search engine robots to not index the node, preventing the node from appearing in search engine results. Note that the same functionality is not achieved by disallowing a node in robots.txt
.
It is part of The PET project. For more information, visit The PET project website.
Reasons why you may want to do this is to tell robots not to index pages on your web site that:
- are unimportant
- are transitory
- contains personal and/or sensitive data
The goal of the this module is to provide a light-weight and secure alternative to more comprehensive metatag initiatives.
See also:
- Google: Block search indexing with noindex.
- Google: Learn about robots.txt files.
- Wikipedia: noindex.
Requirements
No special requirements.
Recommended modules
- Advanced help hint:
Will link standard help text to Advanced help. - Advanced Help:
When this module is enabled, display of the project'sREADME.md
will be rendered when you visithelp/node_nofilter/README.md
. - Markdown filter:
When this module is enabled, the project'sREADME.md
will be rendered with the markdown filter.
Installation
- Install as you would normally install a contributed drupal module. See: Installing modules for further information.
- Enable the Node noindex module on the Modules list page.
- Proceed to configure the module as described in the project's
README.md
.
Use
When you've enabled the noindex option for a content type, you will find a vertical tab for “Search engine settings” in the vertical tabs when you edit an individual node of the type. This let you check “Set noindex
in HTML head”. Checking this box and saving the node sets the robots
metatag to noindex
and removes the canonical
relation added by core in the HTML head of this node
Views integration
The module exposes the field “No index” to Views.
Similar projects
- Metatag:
This project provides a very comprehensive framework setting metatags. Use it if you require capabilities beyond the scope of this project, or if you need to set therobots
metatag on a Drupal 8 or later website. - Noindex Module
LIke this one, it is focused on nodes. Instead of providing a checkbox in the GUI, you editnoindex.module
to select what nodes to apply the metatag to.
Backdrop CMS port
Maintainers
- naxoc - Camilla Krag Jensen (orginal creator)
- herved - Hervé Donner
- gisle - Gisle Hannemyr (Drupal 7)
- DieterHolvoet - Dieter Holvoet (Drupal 10)
Any help with development (patches, reviews, comments) are welcome.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Search Engine Optimization (SEO), Security, Site Search
- 813 sites report using this module
- Created by johsw on , updated
- Drupal 10 is here!
DieterHolvoet is overseeing the Drupal 10 version.
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
First Drupal 9/10 release.
Development version: 7.x-1.x-dev updated 14 Jul 2018 at 05:45 UTC