What does Google say about SEO? /
Quick SEO Quiz

Test your SEO knowledge in 5 questions

Less than a minute. Find out how much you really know about Google search.

🕒 ~1 min 🎯 5 questions

Official statement

To prevent videos from being included in search result snippets, blocking them through the robots.txt file or preventing their crawling can be effective.
35:54
🎥 Source video

Extracted from a Google Search Central video

⏱ 53:42 💬 EN 📅 03/05/2018 ✂ 18 statements
Watch on YouTube (35:54) →
Other statements from this video 17
  1. 3:16 L'indexation mobile-first fait-elle disparaître votre contenu desktop des résultats de recherche ?
  2. 4:47 Le contenu caché accessible après interaction est-il vraiment indexé en mobile-first ?
  3. 5:18 Faut-il vraiment abandonner les liens JavaScript pour le SEO ?
  4. 7:20 Les balises canonical suffisent-elles vraiment pour gérer les variantes de produit en SEO ?
  5. 10:26 Peut-on lister la même URL dans plusieurs sitemaps sans risque ?
  6. 11:29 Faut-il vraiment basculer son site en HTTPS en une seule fois pour éviter les pertes de trafic ?
  7. 15:38 Les vidéos et images dans Google News pénalisent-elles vraiment le référencement ?
  8. 16:39 Faut-il vraiment utiliser du 302 plutôt que du 301 pour les redirections géolocalisées ?
  9. 18:07 L'attribut 'noreferrer' pénalise-t-il vraiment le classement de vos pages ?
  10. 18:52 Pourquoi les PWA ne garantissent-elles pas une place dans le carrousel mobile de Google ?
  11. 23:55 Les contenus similaires se cannibalisent-ils vraiment au niveau des backlinks ?
  12. 25:06 Les bugs techniques impactent-ils vraiment le classement Google sur le long terme ?
  13. 31:18 Les rich snippets étoiles dépendent-ils vraiment de la qualité globale du site ?
  14. 38:49 Les paramètres URL multiples sabotent-ils vraiment l'indexation de votre site ?
  15. 43:18 Comment vérifier qui a soumis quelle URL dans la Search Console ?
  16. 44:25 Plusieurs balises H1 sur une page web : Google les pénalise-t-il vraiment ?
  17. 44:34 Peut-on vraiment utiliser plusieurs hreflang vers la même URL sans risquer de pénalité ?
📅
Official statement from (8 years ago)
TL;DR

Google confirms that blocking via robots.txt or preventing video crawling effectively excludes them from rich snippets. This approach is useful to avoid irrelevant or outdated video content from cannibalizing your search results. However, be cautious: blocking a video's crawl has broader implications than just snippet exclusion, particularly concerning the overall indexing of video content.

What you need to understand

This statement from Google addresses a recurring issue: how to prevent a video from appearing in rich results without deleting the page that hosts it. Video snippets occupy significant visual space in the SERPs, and their presence can sometimes hinder your strategy if the video content is low quality or poorly optimized.

The proposed mechanism relies on two levers: the robots.txt file and preventing crawling. These methods block Googlebot's access to the video file or its structured metadata, effectively rendering the video invisible to the engine.

Why does Google display videos in rich snippets?

Google detects videos through several signals: Schema.org VideoObject markup, video sitemaps, or direct DOM analysis if a player is present. When the engine identifies a relevant video for a query, it may display it as a rich snippet with a thumbnail, duration, and description.

This format is designed to maximize CTR, but it can also draw attention at the expense of other content on the page. If your video is outdated, poorly titled, or not engaging, this snippet becomes a friction point that degrades your overall performance.

What does blocking via robots.txt actually mean?

Blocking a video via robots.txt involves adding a Disallow directive targeting the URL of the video file (often .mp4, .webm) or the directory hosting it. Googlebot can no longer access the resource, preventing its indexing and thus its display in snippets.

Another option is to block structured metadata crawling by removing the Schema VideoObject markup or preventing the crawl of the page hosting the player. This method is more precise but requires more technical intervention.

What are the implications of such blocking?

Blocking a video via robots.txt not only excludes it from rich snippets, but also from Google Videos and any video indexing. If your goal is to enhance the video's visibility elsewhere (YouTube, Vimeo), this approach is counterproductive.

Moreover, preventing the crawling of a video file can slow down the indexing of the parent page if Googlebot deems critical resources are blocked. The crawl budget may also be affected if numerous video files remain inaccessible.

  • Blocking via robots.txt prevents complete video indexing, not just its display in snippets.
  • The absence of Schema VideoObject markup is often enough to avoid rich snippets without blocking the crawl.
  • Blocking a video does not directly impact the ranking of the page, but it may reduce engagement if the video is a key content element.
  • Google does not offer an official method to exclude only from rich snippets while allowing standard video indexing.
  • Blocked videos can no longer appear in video carousels or mobile rich results.

SEO Expert opinion

Is this method really the best way to manage video display?

Google offers a binary solution: block or not block. However, the reality is more nuanced. A site may want to exclude a video from rich snippets while keeping it accessible for YouTube, Google Discover, or regular organic results. This all-or-nothing approach lacks granularity.

In practice, removing the Schema VideoObject markup is often more effective and less risky. It avoids side effects on crawl budget and allows the video to remain indexed for other uses. [To verify] if Google still adheres to this logic, as some sites report video snippets generated without explicit Schema, solely through player detection.

What are the hidden risks of this approach?

Blocking a video via robots.txt can create indexing inconsistencies. If the page contains multiple videos and only one is blocked, Googlebot may conclude that critical resources are missing, degrading the page's quality score. Some CMS also generate dynamic video URLs that fall outside poorly configured robots.txt rules.

Another point: videos hosted on external CDNs (YouTube, Vimeo, Wistia) are not affected by your robots.txt. If you use an external embed, this method is completely ineffective. You then need to adjust the embed parameters or the noindex markup of the iframe player.

Warning: Blocking a video file via robots.txt does not prevent Google from detecting its existence through other signals (sitemap, backlinks). The video may remain referenced but inaccessible, generating errors in Search Console.

In what cases does this statement not apply?

If your goal is to enhance the click-through rate on your results, blocking videos is not always the right strategy. Video snippets generate a higher than average CTR, especially on mobile. The issue is often not the presence of the snippet, but the quality of the video or its metadata.

Another borderline case: AMP pages or Discovery formats. Google can display videos in these contexts without going through a traditional rich snippet. A robots.txt block would then have no effect on these distribution channels.

Practical impact and recommendations

What should you do to exclude a video from rich snippets?

The most precise method is to remove the Schema VideoObject markup from the concerned page. This is usually enough to prevent display in rich snippets without impacting the crawl of the video file itself. If you use a CMS, check the plugins or modules that automatically generate this markup.

If you choose to block via robots.txt, add a Disallow rule specifically targeting the URL or directory of the video file. Then test with the URL inspection tool in Search Console to ensure Googlebot can no longer access the resource.

What mistakes should you avoid when implementing?

The first frequent mistake: blocking an entire directory without checking for side effects. If this directory contains other critical resources (CSS, scripts), you degrade the indexing of the entire page. Be precise in your robots.txt rules.

The second trap: forgetting to regenerate the video sitemap. If a video is blocked via robots.txt but remains declared in the XML sitemap, Google will attempt to crawl it repeatedly, consuming crawl budget and generating errors in Search Console.

How can you verify that the video is indeed excluded from snippets?

Use Google’s rich results test tool to validate that the VideoObject markup is no longer detected. Then perform a search with the site: operator followed by the page title to see how it appears in the SERP. If the video snippet persists, wait 2-3 weeks: the de-indexing of rich snippets can sometimes be slower than indexing.

Also monitor video impressions in Search Console. A sharp drop confirms that Google is no longer displaying the video in snippets. If impressions stagnate, blocking may not be effective or other signals may be compensating.

  • Remove the Schema VideoObject markup from the page for clean exclusion without blocking the crawl.
  • Add a Disallow rule in robots.txt targeting the exact URL of the video file if necessary.
  • Remove the video from the video XML sitemap to avoid repeated crawl attempts.
  • Test with the URL inspection tool in Search Console to validate the blocking.
  • Check the SERP display with the site: operator after 2-3 weeks.
  • Monitor video impressions in Search Console to confirm de-indexing.
Blocking a video via robots.txt is a radical solution that works but may impact crawl budget and overall indexing. Prefer removing the Schema VideoObject markup for a more refined approach. These technical optimizations require an in-depth understanding of crawling and indexing. If your infrastructure is complex or you manage a large volume of videos, working with a specialized SEO agency can help implement these adjustments without the risk of regression.

❓ Frequently Asked Questions

Bloquer une vidéo via robots.txt impacte-t-il le ranking de la page ?
Non, le blocage d'une vidéo n'affecte pas directement le positionnement de la page. En revanche, si la vidéo est un élément clé du contenu, son absence peut réduire l'engagement utilisateur et indirectement dégrader les signaux comportementaux.
Peut-on exclure une vidéo des snippets enrichis sans bloquer son indexation ?
Google ne propose pas de méthode officielle pour cela. La solution la plus proche consiste à retirer le balisage Schema VideoObject, ce qui empêche généralement l'affichage en snippet enrichi tout en laissant la vidéo crawlable.
Le blocage robots.txt fonctionne-t-il pour les vidéos hébergées sur YouTube ou Vimeo ?
Non. Votre fichier robots.txt ne contrôle que les ressources hébergées sur votre domaine. Pour les embeds externes, il faut jouer sur les paramètres d'intégration ou sur le balisage noindex du lecteur iframe.
Combien de temps faut-il pour qu'une vidéo disparaisse des snippets après blocage ?
La désindexation des snippets enrichis peut prendre 2 à 4 semaines. Surveiller les impressions vidéo dans Search Console permet de confirmer l'effet du blocage.
Faut-il aussi supprimer la vidéo du sitemap XML après blocage ?
Oui, absolument. Si la vidéo reste déclarée dans le sitemap alors qu'elle est bloquée via robots.txt, Google tentera de la crawler en boucle, ce qui génère des erreurs et consomme du crawl budget inutilement.
🏷 Related Topics
Crawl & Indexing AI & SEO PDF & Files

🎥 From the same video 17

Other SEO insights extracted from this same Google Search Central video · duration 53 min · published on 03/05/2018

🎥 Watch the full video on YouTube →

Related statements

💬 Comments (0)

Be the first to comment.

2000 characters remaining
🔔

Get real-time analysis of the latest Google SEO declarations

Be the first to know every time a new official Google statement drops — with full expert analysis.

No spam. Unsubscribe in one click.