How to fix “Excluded by 'noindex' tag” on Drupal
If Search Console shows “Excluded by 'noindex' tag” on your Drupal site, you are in the right place. The page has noindex, so Google deliberately leaves it out. This page covers the causes and a step-by-step fix for Drupal. A flexible, module-based CMS. The Metatag, Simple XML Sitemap and Redirect modules provide indexing control.
Contents
What does this status mean?
The page says "noindex" through a robots meta tag or an X-Robots-Tag header. Google obeys and does not add the page, or removes it from the index.
Likely causes on Drupal
- A site-wide noindex turned on during development or maintenance.
- The page is marked noindex in an SEO plugin.
- The server or CDN adds noindex through an HTTP header.
- A template adds noindex conditionally to certain page types.
- Drupal note: In the Metatag module check the "robots" value per content type; a noindex left over from a fresh install can spread to every node.
Step-by-step fix on Drupal
- In your Drupal admin go to: Configuration > Search and metadata (Metatag, Simple XML Sitemap, Redirect).
- In the Metatag module check the "robots" value per content type; a noindex left over from a fresh install can spread to every node.
- Check the page source for the robots meta tag and the response headers for X-Robots-Tag.
- If noindex is not intended, remove it and verify with a free indexability check.
- Make sure the page is not blocked by robots.txt, otherwise Google cannot see the noindex.
- Do not leave noindex URLs in the sitemap.
- After removing it, request indexing in URL inspection and send the link through an indexing panel.
Extra checks for Drupal
- robots.txt: Edit robots.txt in the web root or manage it with the RobotsTxt module. On multisite setups each site needs its own file.
- canonical and duplicate URLs: The Metatag canonical field uses [current-page:url] by default. Stop view filters and pager parameters from surfacing as separate URLs.
After fixing
In Search Console start "Validate fix" for this status and resubmit the page with URL inspection. First confirm the blocker is gone with the free Free indexability checker tool; for many URLs follow Bulk URL indexing: how to send thousands of pages to Google. Google makes the indexing decision itself and timing ranges from days to weeks.
More information
Frequently asked questions
How long after removing noindex until it is indexed?
Typically days to a few weeks, depending on how often the site is crawled.
Do logged-in pages need noindex?
Yes, noindex is right for account, cart and thank-you pages.
Where are these settings on Drupal?
Configuration > Search and metadata (Metatag, Simple XML Sitemap, Redirect).