Robots meta tags are lines of code that give crawlers (the spiders of search engines) instructions on how to view and index a page. A robots meta tag is always located in the header of a page and is composed of two elements, "name" and "content.
In particular , we specify for which user agent (search engine) the instruction is intended. This can be all search engines but also one specific search engine:
All search engines
Only Google
Bing only
With the content we indicate what instruction the user agent (search engine) should follow. For example, that a page should not be indexed by Google. This then looks like this:
There are quite a few robots meta tags available, including some well-known ones like the "noindex. But there are also some lesser known tags. For your convenience, I have listed the 10 most important robots meta tags for you below.
The noindex meta tag is the most well-known and widely used meta tag from this list. With the noindex tag, you tell search engines not to index the page. This means that the page cannot be found in the search engines. For example, useful for your website's Terms and Conditions or Privacy Policy.
Example:
With the nofollow meta tag, we tell search engines not to follow the links that are on the page. This means that the search engines' little spiders will not follow the links on that page.
Example:
Are there links on the page that you do want the search engine to follow? Then add the attribute rel='nofollow' to the specific links you don't want followed. The search engines will then follow the links to which this is not added.
Example:
If you want to give a page both a noindex and nofollow meta tag, you can do so by using none. With the meta tag none you indicate to search engines that the page should not be indexed and that the links on the page should not be followed.
Example:
So the above code is actually equivalent to:
And since you are allowed to combine meta tags in one line of code, the above codes are the same again:
We have now had the most common meta tags. Now we come to the more unfamiliar tags, such as this nosnippet meta tag. With the nosnippet meta tag you tell the search engines not to show a meta description of the page in question in the search results.
Note that this also makes the page ineligible for a featured snippet in the SERPs!
Example:
The nositelinksearchbox ensures that your website's search bar is not displayed in search results.
Example:
With the nopagereadaloud meta tag, you indicate that the content on the page should not be used for voice services such as Google Home.
Example:
The max-snippet meta allows you to assign a maximum length to your meta description. The default value is -1. This means that no maximum length is given.
The following values can be specified:
Examples:
The max-image-preview meta tag allows you to specify the maximum size of an image in Google's search results.
The following values can be specified:
Examples:
Do you have a video on your page and want to limit the number of seconds it can be displayed in the search results? Then use the max-video-preview meta tag.
The max-video-preview tag has the following special values:
If you do not use the max-video-preview meta tag, then Google itself determines the length of the preview video in the search results.
Example:
With the noimageindex tag, you tell search engines that you don't want the images on the page indexed. This means that the images on the page will not be found in search results.
Example:
Want to quickly find out what robots meta tags a website's pages have been given? Then crawl the website with Screaming Frog, select only 'HTML' in the filter and scroll to the heading 'Meta Robots 1'. Here you can see for each page which robots meta tags have been specified.
And if you navigate in the right column to the heading "Directives," you will find the overview of all robots meta tags placed.
Now that you know the different robots meta tags and what functions they have, you can once again exercise a lot more control over your website's visibility in search results. Take advantage of it!
Robots meta tags are lines of code that give crawlers (the spiders of search engines) instructions on how to view and index a page.
A robots meta tag is always in the header of a page and is composed of two elements, namely "name" and "content.
Written by: Tom Boenders
Tom is Teamlead SEA at OMA. When it comes to top positions in Google, he is the first to give advice. Solicited and unsolicited.