3 C
New York
Friday, March 31, 2023

Buy now

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.

“Theindexifembeddedtag 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 anoindextag in such pages. However, thenoindextag 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 thenoindextag only when the page withnoindexis embedded into another page through aniframeor similar HTML tag, likeobject.”

The example Google gave was ifpodcast.host.example/playpage?podcast=12345has both thenoindexandindexifembeddedtag, it means Google can embed the content hosted on that page inrecipe.site.example/my-recipes.htmlduring 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:

meta robots
X-Robots

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:

A "common" (it's new, so there's nothing common yet :)) use-case would be widgets or embedded content, where you have a special URL for the embed that you don't want indexed, but you still want to allow the embedding page to use it for indexing. Eg, video embeds.

— šŸ„ John šŸ„ (@JohnMu) January 21, 2022


New on Search Engine Land

Related Articles

Latest Articles