Meta Robots Tag: Control Indexing, Following and Snippets
A meta robots tag is a line in a page's code telling search engines whether to index the page and follow its links. Google supports noindex and nofollow, and reads them only if it can reach the page, so blocking it in robots.txt stops the tag working. Seed Light checks this on every build.

Somebody has told you a page needs a noindex tag, or you have found one on a page that should be in Google and now you are not sure what it does.
The meta robots tag is one line of code with a large effect. Used properly it keeps thank you pages and internal search results out of Google. Used wrongly it hides pages you are paying to promote.
Here is what the tag does, the five steps I follow when setting one, and the mistake that keeps pages visible when their owner is certain they are hidden.
Key Takeaways
- The tag controls indexing, not crawling. It tells a search engine what to do with a page it has already read.
- Noindex removes the page from results completely. Google says it will drop that page entirely from Google Search results, regardless of whether other sites link to it.
- Blocking the page in robots.txt breaks the tag. Google says the crawler will never see the noindex rule and the page can still appear.
- There are two ways to apply it. Google names a meta tag and an HTTP response header. The X-Robots-Tag header is how you reach a PDF.
- The strictest of the robots meta directives wins. Where rules conflict, Google says the more restrictive rule applies.
What Is a Meta Robots Tag?
A meta robots tag is a line in the head of a page telling search engines how to treat it. It looks like this.
<meta name="robots" content="noindex, nofollow">
The two parts do different jobs. Noindex keeps the page out of search results. Nofollow tells Google, in its own words, to not follow the links on this page.
Most pages need neither. The default is that Google may index a page and follow its links, so the tag only exists to turn something off.
That is worth saying plainly, because people add the tag to pages that were perfectly fine without it. An ordinary service page needs no robots tag at all.
You will also see a second version of the tag naming one crawler rather than all of them, written as googlebot instead of robots. Use the general form unless you have a specific reason not to.
You will also meet none, which Google's specification says is equivalent to noindex, nofollow. It saves a few characters and costs you clarity.
Meta Robots vs robots.txt: Why the Mix Up Keeps Happening
This is the single most common fault, and it catches people who have done everything else right.
Robots.txt and the meta robots tag sound like the same thing. They work at different moments. Robots.txt asks a crawler not to fetch the page. The meta tag tells the crawler what to do after it has read it.
So the two can cancel each other out. If you block a page in robots.txt and also put noindex on it, Google says the crawler will never see the noindex rule, and the page can still appear in search results.
The page stays visible precisely because you tried to hide it twice.
Google is also explicit that specifying the noindex rule in the robots.txt file is not supported, so writing it there does nothing at all.
If a page must stay out of Google, let it be crawled and use the tag. Save robots.txt for things you do not want fetched, like a staging area or a heavy script.
How to Set a Meta Robots Tag
1. Write down which pages should stay out
The usual list is short. Thank you pages, internal search results, cart and checkout pages, tag archives that duplicate other pages, and anything built for one customer.
A thank you page is the clearest case. It exists to be seen once, straight after a form, and somebody arriving on it from Google has missed the form entirely.
Internal search results are the next most common. They produce an unlimited number of near identical pages, and none of them is the page you would want somebody to land on.
Everything you want found stays off this list. If you hesitate over a page, leave it indexable and look at the traffic later.
2. Put the tag in the head of the page
The tag belongs inside the head section, alongside the title and description. Most website builders and SEO plugins give you a switch instead of asking you to edit code.
In WordPress with an SEO plugin, it is usually a setting on the page itself reading something like Allow search engines to show this page.
Use the switch rather than pasting the tag by hand where you can. A plugin keeps one copy of the rule, and hand written tags have a habit of being duplicated or left behind.
3. Use the X-Robots-Tag header for anything that is not a web page
A PDF, an image or a spreadsheet has no head section to put a tag in.
Google supports an HTTP response header for exactly this. Your developer or host sets it on the server, and it applies to the file itself.
4. Check robots.txt is not blocking the page
Open your robots.txt file, which sits at your domain followed by robots.txt, and look for a Disallow line matching the page.
If the page is disallowed, remove that line. The crawler has to be allowed in before the tag on the page can mean anything.
5. Confirm it with the URL inspection tool
Paste the page address into the URL inspection tool in Google Search Console. It tells you whether the page is indexed and which rule it found.
Do not judge it by searching for the page yourself. Removal takes time, and your own browsing history makes search results a poor test.
The tool reports what Google actually did with the page. That is the only answer that counts. Give it a few days before expecting the page to disappear.
If the page is one you urgently need out of results, Search Console also has a removals tool that hides it temporarily while the rule takes effect.
Robots Meta Directives Worth Knowing
- noindex. Keeps the page out of results entirely, whoever links to it.
- nofollow. Tells Google not to follow the links on that page.
- none. Google's shorthand for noindex and nofollow together.
- nosnippet. Stops the text snippet, though Google says a static image thumbnail may still show where it makes a better result.
- max-snippet. Limits the snippet length. Google says setting it to zero is equivalent to nosnippet.
- noarchive. Stops a cached copy being offered beside your result.
Robots Tag Tools
| Tool | What you use it for |
|---|---|
| Google Search Console URL inspection | Seeing whether a page is indexed and which rule Google found |
| Browser developer tools | Reading the actual tag on a live page, including the HTTP headers |
| Your SEO plugin | Setting the tag per page without editing code |
| A site crawler | Finding every page carrying noindex across a whole website at once |
| Your robots.txt file | Checking nothing is blocking the pages you are trying to control |
Common Meta Robots Mistakes
- Blocking and noindexing the same page. The block stops the rule being read, so the page can stay in results.
- Leaving noindex on after a site launch. Staging sites are built with it switched on, and it survives the move more often than anyone admits.
- Writing noindex in robots.txt, the classic meta robots vs robots.txt error. Google does not support it there, so the line does nothing.
- Using nofollow to control your own site. It was built for links you do not vouch for, not for steering crawlers around your own pages.
- Noindexing a page that already ranks. Check Search Console first, because the page may be earning traffic you have not noticed.
- Judging it by searching for yourself. Use the inspection tool, which reports what Google actually did.
FAQs
What is the difference between a meta robots tag and robots.txt?
Robots.txt asks a crawler not to fetch a page at all. The meta robots tag sits inside the page and tells the crawler what to do once it has read it. Google says specifying noindex in robots.txt is not supported, so the two are not interchangeable.
Why is my noindex page still showing in Google?
Usually because robots.txt is blocking it. Google says if the page is blocked, the crawler will never see the noindex rule, and the page can still appear in search results. Unblock the page, let it be crawled, and the rule can then take effect.
What does the none value do?
Google's specification says none is equivalent to noindex, nofollow, so it applies both rules at once. Writing the two out in full is clearer for whoever reads the page code after you, including yourself in six months when you are trying to work out why a page vanished.
Can I use a robots tag on a PDF?
Yes, through the HTTP header rather than the page code. Google supports two ways to apply noindex, as a meta tag and as an HTTP response header. A PDF has no head section, so the header is the only route available for it.
What happens if two robots rules conflict?
Google says the more restrictive rule applies, and gives its own example of nosnippet overriding a max snippet setting. Where several crawler specific tags are present on one page, Google says it uses the sum of the negative rules rather than picking one of them to follow.
Conclusion
The tag itself is simple. One line, two common values, and a short list of pages that genuinely need it.
The part that catches people is the interaction with robots.txt, and the rule there is worth remembering on its own. Let the page be crawled, then tell the crawler what to do with it.
Check the handful of pages you want hidden, confirm each one in the inspection tool, and leave everything else alone.
Then write the list down somewhere you will find it again. The pages carrying a noindex tag are the ones nobody remembers a year later, and a forgotten tag on a page you now want found is an expensive thing to go looking for.
If you would rather have the technical side of your site checked properly, see how we approach SEO, or talk to us at Seed Light.









