Google adds new robots tag indexifembedded
Google has a new robots tag for when you use embedded content on your pages named indexifembedded. Google said with this new tag āyou can tell Google youād still like your content indexed when itās embedded through iframes and similar HTML tags in other pages, even when the content page has the noindex tag.ā
Why we care. If you embed content on your site and want to control indexing of the content on the page, now you have more control with this new indexifembedded robots tag. Give it a try and see if it helps you with any indexing issues you may have had with pages where you embed content.
Why a new tag. Google explained that sometimes publishers want the content on the page to be indexed and sometimes not, when they embed content. This new robots tag gives you more control over communicating those wishes to Google Search.
āTheĀ indexifembedded
Ā tag addresses a common issue that especially affects media publishers: while they may want their content indexed when itās embedded on third-party pages, they donāt necessarily want their media pages indexed on their own,ā Google said, āBecause they donāt want the media pages indexed, they currently use aĀ noindex
Ā tag in such pages. However, theĀ noindex
Ā tag also prevents embedding the content in other pages during indexing.ā
Noindex and indexifembedded. Google said this new indexifembedded
tag works with the original noindex tag: āThe new robots tag,Ā indexifembedded
, works in combination with theĀ noindex
Ā tag only when the page withĀ noindex
Ā is embedded into another page through anĀ iframe
Ā or similar HTML tag, likeĀ object
.ā
The example Google gave was ifĀ podcast.host.example/playpage?podcast=12345
Ā has both theĀ noindex
Ā andĀ indexifembedded
Ā tag, it means Google can embed the content hosted on that page inĀ recipe.site.example/my-recipes.html
Ā during indexing.
Code examples. Here are code examples of how to implement it, the first is via normal meta robots tag and the second is via the x-robots implementation:
Other search engines. It seems Google is the only search engine to currently support this new robots meta tag.
Why use it? I asked John Mueller of Google why would anyone use this? I am still not sure I am convinced but this is what he said:
The post Google adds new robots tag indexifembedded appeared first on Search Engine Land.