The ultimate guide to the meta robots tag • Yoast


If you use meta robots tags on your pages, you can give search engines instructions on how you’d like them to crawl or index parts of your website. This page lists an overview of all the different values you can have in the meta robots tag, what they do, and which search engines support each value.

The different robots meta tag values

The following values (‘parameters’) can be placed on their own, or together in the content attribute of tag (separated by a comma), to control how search engines interact with your page.

Scroll down for an overview of which search engines support which specific parameters.

index
Allow search engines to add the page to their index, so that it can be discovered by people searching.
Note: This is assumed by default on all pages – you generally don’t need to add this parameter.
noindex
Disallow search engines from adding this page to their index, and therefore disallow them from showing it in their results.
follow
Tells the search engines that it may follow links on the page, to discover other pages.
Note: This is assumed by default on all pages – you generally don’t need to add this parameter.
nofollow
Tells the search engines robots to not follow any links on the page.
Note: It’s unclear whether this attribute prevents search engines from following links, or just prevents them from assigning any value to those links.
Note: It’s also unclear (and inconsistent between search engines) whether this applies to all links, or only internal links.
none
A shortcut for noindex, nofollow.
all
A shortcut for index, follow.
Note: This is assumed by default on all pages, and does nothing if specified.
noimageindex
Disallow search engines from indexing images on the page.
Note: If images are linked to directly from elsewhere, search engines can still index them, so using an X-Robots-Tag HTTP header is generally a better idea.
noarchive
Prevents the search engines from showing a cached copy of this page in their search results listings.
nocache
Same as noarchive, but only used by MSN/Live.
nosnippet
Prevents the search engines from showing a text or video snippet (i.e., a meta description) of this page in the search results, and prevents them from showing a cached copy of this page in their search results listings.
Note: Snippets may still show an image thumbnail, unless noimageindex is also used.
notranslate
Prevents search engines from showing translations of the page in their search results.
Unavailable_after
Tells search engines a date/time after which they should not show it in search results; a ‘timed’ version of noindex.
Note: Must be in RFC850 format (e.g., Monday, 15-Aug-05 15:52:01 UTC).
noyaca
Prevents the search results snippet from using the page description from the Yandex Directory.
Note: Only supported by Yandex.
noydir
Blocks Yahoo from using the description for this page in the Yahoo directory as the snippet for your page in the search results.
Note: Since Yahoo closed its directory this tag is deprecated, but you might come across it once in awhile.
READ ALSO  SEO for E-commerce Sites (Beginner & Intermediate)

Which search engine supports which robots meta tag values?

This table shows which search engines support which values. Note that the documentation provided by some search engines is sparse, so there are many unknowns.

Robots valueGoogleYahooBingAskBaiduYandex
indexY*Y*Y*?YY
noindexYYY?YY
followY*Y*Y*?YY
nofollowYYY?YY
noneY???NY
allY???NY
noimageindexYNN?NN
noarchiveYYY?YY
nocacheNNY?NN
nosnippetYNY?NN
notranslateYNN?NN
unavailable_afterYNN?NN
noodpNY**Y**?NN
noydirNY**N?NN
noyacaNNNNNY

* Most search engines have no specific documentation for this, but we’re assuming that support for excluding parameters (e.g., nofollow) implies support for the positive equivalent (e.g., follow).
** Whilst the noodp and noydir attributes may still be ‘supported’, these directories no longer exist, and it’s likely that these values do nothing.

Rules for specifics search engines

Sometimes, you might want to provide specific instructions to a specific search engine, but not to others. Or you may want to provide completely different instructions to different search engines.

In these cases, you can change the value of the content attribute to a specific search engine (e.g., GOOGLEBOT or MSNBOT).

Note: Given that search engines will simply ignore instructions which they don’t support or understand, it’s very rare to need to use multiple meta robots tags to set instructions for specific crawlers.

Conflicting parameters, and robots.txt files

It’s important to remember that meta robots tags work differently to instructions in your robots.txt file, and that conflicting rules may cause unexpected behaviours. For example, search engines won’t be able to see your meta tags if the page is blocked via robots.txt.

You should also take care to avoid setting conflicting values in your meta robots tag (such as using both index and noindex parameters) – particularly if you’re setting different rules for different search engines. In cases of conflict, the most restrictive interpretation is usually chosen (i.e., “don’t show” usually beats “show”).

READ ALSO  Lower rankings without HTTPS? • Yoast



Source link

?
WP Twitter Auto Publish Powered By : XYZScripts.com