SEO Glossary / Meta Robots Tag

Meta Robots Tag

What is a Meta Robots Tag?

A meta robots tag is an HTML tag that provides specific instructions to search engine crawlers on how to index, crawl, and display a webpage in search results. It is placed within the <head> section of the webpage. The meta robots tag is used to control various aspects of how search engines handle the content on the page.

Here’s an example of how it looks in the code:

<meta name="robots" content="noindex, nofollow">

In this example:

  • noindex tells search engines not to index the page.
  • nofollow tells search engines not to follow any links on the page.

For resources that lack an HTML head section (e.g., images, PDFs), the X-Robots tag can be used. Unlike the meta robots tag, the X-Robots tag is an HTTP header sent with the response of a web page.

Verifying the Meta Robots Tag

You can verify the meta robots tag for a page using various tools and browser extensions, such as the Ranktracker SEO Toolbar, which provides directives for crawlers based on both the meta tags and HTTP headers.

Importance of Meta Robots Tags

Meta robots tags are important for several reasons:

  1. Control Indexing: Prevent certain pages from appearing in search results (e.g., thin content, admin pages, thank you pages).
  2. Control Crawling: Prevent search engines from following links on the page.
  3. Enhance User Experience: Control how snippets and previews are displayed in search results.

Rules for Meta Robots Tag

Here are the rules or directives that can be used with the meta robots tag:

  • noindex: Instructs search engines not to index the page.
  • nofollow: Instructs search engines not to follow any links on the page.
  • none: Equivalent to noindex, nofollow.
  • all: Equivalent to index, follow (default behavior).
  • noarchive: Prevents search engines from showing a cached version of the page.
  • nositelinkssearchbox: Prevents Google from showing a sitelinks search box in the search results.
  • nosnippet: Prevents search engines from displaying a text snippet from the page in search results.
  • indexifembedded: Instructs Google to index content embedded through iframes or similar HTML tags on a noindex page.
  • max-snippet: Specifies the maximum number of characters in text snippets.
  • max-image-preview: Specifies the size of image previews in search results.
  • max-video-preview: Sets the maximum number of seconds for video snippets.
  • notranslate: Instructs Google not to provide a translation for the web page.
  • noimageindex: Tells Google not to index images on the page.
  • unavailable_after: Instructs Google not to show a page in search results after a specified date/time.

For more detailed information on these rules, refer to Google’s documentation on the robots meta tag.

Implementing Meta Robots Tag

Implementing the meta robots tag in WordPress is straightforward using popular SEO plugins like Yoast and RankMath.

Using Yoast SEO Plugin:

  1. Go to the Advanced Section below the editing blocks for your post or page.
  2. The dropdown “Allow search engines to show this Post in search results?” controls the “noindex” attribute on the page.

Noindex in Yoast

Using RankMath Plugin:

  1. Open the Advanced tab while editing a post or page.
  2. Select the “No Index” option.

Noindex in RankMath

Conclusion

Meta robots tags are a powerful tool for webmasters to control how search engines interact with their websites. By implementing these tags correctly, you can improve your site's SEO, enhance user experience, and ensure that only the most relevant pages are indexed and displayed in search results.

SEO for Local Business

People don't search for local businesses in the Yellow Pages anymore. They use Google. Learn how to get more business from organic search with our SEO guides for local businesses.

Start using Ranktracker for free!

Find out what’s holding your website back from ranking

Get a free accountOr Sign in using your credentials
Start using Ranktracker for free!