Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

NoIndex Metatag

No security coverage Under active development 73 sites

This module allows you to prevent specific pages or sections of your site from being indexed by search engines by adding a "noindex" meta tag. You can configure this based on specific paths, patterns, or even hostnames.

INTRODUCTION

The NoIndex Metatag module is to whitelist the route to add meta robots "noindex" to the HTML head for all those selected routes.

Its a simple configuration to prevents the site from search engines based on the domain name or relative path.

REQUIREMENTS

This module requires no modules outside of Drupal core.

INSTALLATION

Install the Noindex Metatag as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

1) Copy the noindex_metatag folder in the modules folder in your Drupal directory, Or use composer to download the module.
2) Enable the module using Manage -> Extend (/admin/modules)

CONFIGURATION

1) Enable the settings at

  • Manage -> Configuration -> Search and Meta data -> Noindex Metatag Settings
  • Path : /admin/config/search/noindex-metatag
  • Enable the checkbox "Enable no-index metatag"

2) Add noindex Routes

  • A list of routes that you want to be add no-index. Wildcard "*" is supported.

3) Domain path: A list of host routes (with out http:// or https://). If the domain name http://dev.example.com means just add dev.*
Example:
local.*
dev.*

4) Relative path: A list of Relative url with slash(/)
Example:
/admin/*
/user/reset/*
/blogs
/events

Ask your assistant about NoIndex Metatag

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Sep 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release 9–10 Oct 3, 2023
1.0.x-dev Dev 9–10 Sep 28, 2023