Skip to content

AdditionalRobotsProps

In addition to index, follow the robots meta tag accepts more properties to archive a more accurate crawling and serve better snippets for SEO bots that crawl your page.

Example

<script>
import { MetaTags } from 'svelte-meta-tags';
</script>
<MetaTags
additionalRobotsProps={{
noarchive: true,
nosnippet: true,
maxSnippet: -1,
maxImagePreview: 'none',
maxVideoPreview: -1,
notranslate: true,
noimageindex: true,
unavailableAfter: '25 Jun 2010 15:00:00 PST'
}}
/>

Available properties

PropertyTypeDescription
noarchivebooleanDo not display a cached link in search results
nosnippetbooleanDo not show a text snippet or video preview in the search results for this page
maxSnippetnumberUse a maximum of [number] characters as the text snippet for this search result Read more
maxImagePreview’none’,‘standard’,‘large’Set the maximum size of an image preview for this page in a search result
maxVideoPreviewnumberUse a maximum of [number] seconds as a video snippet for videos on this page in search results Read more
notranslatebooleanDo not offer translation of this page in search results
noimageindexbooleanDo not index images on this page
unavailableAfterstringDo not show this page in search results after the specified date/time. The date/time must be in a widely accepted format, including but not limited to RFC 822, RFC 850, and ISO 8601

For more information on the X-Robots-Tag visit Google Search Central - Control Crawling and Indexing