Skip to main content
SlapMyWeb
Fix Guide

How to Remove an Accidental noindex

Find and remove a stray noindex that is keeping an important page out of Google entirely.

Easy Critical Impact 5 min

A noindex directive on an important page tells search engines to keep it out of their results entirely, so it can never rank however good it is. It is usually left over from a staging environment or a CMS setting. Remove the noindex from the robots meta tag or the X-Robots-Tag header, then request reindexing in Search Console.

Why It Matters

A noindex directive — often left over from a staging site or a plugin default — tells Google to drop the page from its index completely. It is a silent traffic killer: the page works fine for users but earns zero organic visits.

How to Fix

1

Check both places

Look for <meta name="robots" content="noindex"> in the HTML AND an X-Robots-Tag: noindex response header.
2

Remove it from pages you want ranked

Delete the directive (or set index, follow) on real content pages; keep noindex only on thin/utility pages.
3

Re-request indexing

Use Google Search Console → URL Inspection → Request Indexing to speed re-crawling.

Code Fix

html
Before (broken)
<meta name="robots" content="noindex, nofollow">  <!-- leftover from staging -->
After (fixed)
<meta name="robots" content="index, follow">  <!-- or remove the tag entirely -->

Platform-Specific Instructions

WordPress

Check Settings → Reading → "Discourage search engines" is UNticked, and the per-page Yoast/Rank Math "Allow search engines to show this page" is set to Yes.

Next.js

Ensure no robots: { index: false } in the page metadata for pages you want indexed.

Fixed that one.
Now find the rest.

A free audit ranks every issue on your site by the score points it costs — and links each one straight to its guide.

Run a free audit
Free foreverNo signupResults in 30s