Skip to content
Glossary

What is the robots meta tag?

The robots meta tag is an HTML tag placed in a page's head that tells a crawler what to do with that specific page after fetching it, most often noindex, and it only works if the crawler was allowed to fetch the page in the first place.

The robots meta tag, written as a meta element with name robots and a value like noindex, sits inside a page's own HTML rather than in robots.txt. It gives per-page instructions, noindex to keep a page out of search results, nofollow to withhold endorsement from its outbound links, and it applies only to the page it's placed on, unlike robots.txt, which applies to whole path patterns from one central file.

The catch is sequencing. A crawler has to fetch a page to read its meta tag, so a page blocked in robots.txt is never fetched, which means its noindex tag is never seen and has no effect. This trips up site owners trying to remove an already-indexed page: adding noindex works only if the page stays crawlable, and blocking it in robots.txt at the same time freezes it in whatever state the last successful crawl left it in.

Related

Want to know where you actually stand on this? Run a free visibility check or try the free tools.