DEV Community

Colin McDermott
Colin McDermott

Posted on • Originally published at searchcandy.uk

What is Indexifembedded?

What is Indexifembedded?

Indexifembedded is a new meta robots value announced by Google in January 2022.

The new robots value indexifembedded can be used to indicate that the contents of a resource should be indexed if they are embedded in a webpage, even if there is also a robots noindex present.

Today, we're introducing a new robots tag, indexifembedded, that brings you more control over when your content is indexed. With the indexifembedded 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.

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. 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.

Example

Example usage using a meta tag:

<meta name="googlebot" value="indexifembedded" />

Code language: HTML, XML

Example usage using a HTTP header:

X-Robots-Tag: googlebot:noindex
X-Robots-Tag: googlebot:indexifembedded
...
OR
...
X-Robots-Tag: googlebot:noindex,indexifembedded

Resources

Top comments (0)