# Check access to videos and thumbnails

- Check 17.08 · Videos, PDFs and multimedia · Complementary
- Source: https://checklist-seo-geo.com/en/videos-pdfs-multimedia/check-access-videos-thumbnails
- Check that Googlebot can reach your video pages, thumbnails and files: robots.txt, HTTP codes, stable URLs, hotlinking and firewalls on Apache, Nginx or Cloudflare.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/videos-pdfs-multimedia/check-access-videos-thumbnails.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

A video is only indexed if Google can fetch, without logging in and without being blocked, the page that hosts it, the thumbnail and, ideally, the video file or the player. Once the task is done, every URL declared in the HTML, the structured data and the video sitemap returns `200` to Google's crawlers, with the right content type, at a stable address, without being blocked by robots.txt, a `noindex` header, hotlink protection or a firewall.

## Why it matters

Google's requirements are explicit:

- the thumbnail must be fetchable by Googlebot and Googlebot-Image: no blocking in robots.txt, no login required;
- the video file (including an M3U8-type stream) must not be blocked by robots.txt or by `noindex` if you want previews and some key moments;
- the thumbnail and the file must have stable URLs: CDN URLs that expire quickly can prevent indexing;
- the video must appear in the page's rendered HTML, without requiring a click, a swipe or any input;
- the server hosting the page and the one hosting the files must be able to handle the crawl load.

The reasons in Search Console's video page indexing report reflect these failures: thumbnail blocked by robots.txt, thumbnail unreachable, thumbnail not crawled because of server load, video not found on the hosting service, video position and size impossible to determine.

These blocks are rarely the result of a decision. They are side effects: an inherited `Disallow: /media/`, overly strict hotlink protection, an S3 presigned URL that expires after an hour, a firewall rule against bots, a “facade” player that only loads on click.

For generative engines, what matters most is the page itself: if their crawlers are blocked, they read neither the title, nor the summary, nor the transcript. See [check CDN, WAF and anti-bot protection](https://checklist-seo-geo.com/en/crawling/check-cdn-waf-anti-bot-protection).

## What it improves

- **Video indexing**: removes the blocks that prevent Google from selecting the video.
- **Previews and key moments**: only possible if Google fetches the video file.
- **Stability**: indexing that is not lost when a temporary URL expires.
- **Visibility in generative engines**: a page their crawlers can read, if your policy allows them.
- **Rankings**: no direct effect; this is an eligibility condition.

## How to check

**1. List the declared URLs** for a watch page: page, thumbnail (`poster`, `thumbnailUrl`, `<video:thumbnail_loc>`), file (`<source src>`, `contentUrl`, `<video:content_loc>`), player (`embedUrl`, `<video:player_loc>`).

**2. Test each URL with the relevant user agent:**

```bash
curl -s -o /dev/null -w "%{http_code} %{content_type}\n" \
  -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" \
  https://example.com/videos/detartrer-chauffe-eau/

curl -s -o /dev/null -w "%{http_code} %{content_type}\n" -A "Googlebot-Image/1.0" \
  https://example.com/media/miniatures/detartrage-200l.jpg

curl -s -o /dev/null -D - -A "Googlebot-Video/1.0" -r 0-1023 \
  https://example.com/media/videos/detartrage-200l.mp4 | grep -i -E "^HTTP|content-type|x-robots-tag"
```

Expected result: `200` (or `206` for the partial request on the video), a `text/html`, `image/…` or `video/…` type, and no `x-robots-tag: noindex`. These tests come from your own IP address: they detect rules based on the user agent, not those based on Google's addresses.

**3. Test robots.txt** for the three crawlers (an approximation using Python's parser):

```bash
python3 -c "
import urllib.robotparser as r
p = r.RobotFileParser('https://example.com/robots.txt'); p.read()
for ua, url in [('Googlebot', 'https://example.com/videos/detartrer-chauffe-eau/'),
                ('Googlebot-Image', 'https://example.com/media/miniatures/detartrage-200l.jpg'),
                ('Googlebot-Video', 'https://example.com/media/videos/detartrage-200l.mp4')]:
    print(ua, p.can_fetch(ua, url))
"
```

All three lines must show `True`. Search Console's robots.txt report (`Settings`, Crawling section) shows the version Google fetched.

**4. Test the page as Google does**: [URL Inspection](https://search.google.com/search-console/inspect), “Test live URL”, then “View tested page”. The rendered HTML must contain the `<video>` tag or the player's `<iframe>`, and the screenshot must show it in place. The page resources section flags those that could not be loaded.

**5. Read the [video page indexing report](https://search.google.com/search-console/video-index)** and note every reason related to access.

**6. Check that the URLs are stable**: a URL containing `X-Amz-Expires`, `Expires=`, `Signature=`, `token=` or an expiration date is not stable.

## How to implement

### Before you start

Target rules:

- robots.txt disallows neither the watch pages nor the thumbnail and video folders, for `Googlebot`, `Googlebot-Image` and `Googlebot-Video`. The last two follow the `Googlebot` group if they have no group of their own.
- No `X-Robots-Tag: noindex` header on thumbnails and video files.
- Hotlink protection lets through requests without a `Referer` header, which is generally the case for crawlers.
- The firewall and anti-bot protection let verified Googlebot through.
- Thumbnails and `contentUrl` have permanent URLs.
- The player is present in the rendered HTML as soon as the page loads, without a click.

Example robots.txt that keeps media reachable while closing off the admin area:

```txt
User-agent: *
Disallow: /admin/
Allow: /media/

Sitemap: https://example.com/sitemap.xml
```

To check that a request really comes from Google before serving it a stable file URL, run a reverse DNS lookup on the IP address, check that the hostname ends in `googlebot.com`, `google.com` or `googleusercontent.com`, then run a forward DNS lookup on that hostname:

```bash
host 66.249.66.1
host crawl-66-249-66-1.googlebot.com
```

Google also publishes its IP address ranges in JSON format. Its video documentation allows this approach: serving a stable `contentUrl` only to trusted clients such as verified Googlebot.

### Apache

Versions: Apache 2.4.

Hotlink protection that lets through requests without a `Referer`, in the `.htaccess` file or the virtual host:

```apache
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^https?://(www\.)?example\.com/ [NC]
    RewriteRule \.(mp4|webm|m3u8|jpe?g|png|webp|avif)$ - [F,NC]
</IfModule>
```

The first condition (`!^$`) exempts requests with no referrer: it is the one that lets crawlers through. If a rule adds `X-Robots-Tag` to media, remove it for videos and thumbnails:

```apache
<FilesMatch "\.(mp4|webm|m3u8|jpe?g|png|webp|avif)$">
    Header unset X-Robots-Tag
</FilesMatch>
```

Reload with `sudo apachectl configtest && sudo systemctl reload apache2`.

### Nginx

Versions: Nginx 1.18 and later, including 1.30 (stable) and 1.31 (mainline).

In the `server` block:

```nginx
location ~* \.(mp4|webm|m3u8|jpe?g|png|webp|avif)$ {
    valid_referers none blocked server_names *.example.com;

    if ($invalid_referer) {
        return 403;
    }

    add_header Cache-Control "public, max-age=2592000";
}
```

`none` accepts requests without a `Referer`, and therefore crawlers. Also look for rules that block by user agent (`if ($http_user_agent ~* bot)`) and for `add_header X-Robots-Tag` on media:

```bash
sudo nginx -T 2>/dev/null | grep -n -i -E "valid_referers|http_user_agent|x-robots-tag|limit_req"
```

Reload with `sudo nginx -t && sudo systemctl reload nginx`.

### Cloudflare

Versions: Cloudflare dashboard, all plans, November 2026.

- **Hotlink Protection** (`Security > Settings`, “Client-side abuse” filter) only covers `gif`, `ico`, `jpg`, `jpeg` and `png` files, lets through requests with no referrer and, according to Cloudflare, has no effect on crawling. It does, however, prevent these images from being displayed on third-party services. Place thumbnails in a `hotlink-ok` folder or exclude their path with a Configuration Rule if needed.
- **Custom WAF rules and bot protection**: review the zone's security events, filtered on the `Googlebot` user agent. A “Block” or “Challenge” action on requests from verified bots reveals a rule that is too broad; add an exception on the verified bots field (`cf.client.bot`) or narrow the rule.
- **Transform Rules**: check that none adds `X-Robots-Tag: noindex` to media.

After fixing them, purge the files concerned in [`Caching > Configuration`](https://dash.cloudflare.com/?to=/:account/:zone/caching/configuration).

### AWS

Versions: Amazon S3, CloudFront and AWS WAF, AWS CLI v2, November 2026 console.

- **S3**: a presigned URL expires (seven days at most with the current signature version). Use it neither for the thumbnail nor for `contentUrl`. Serve public media through CloudFront, with a private bucket read through CloudFront origin access control (OAC): the CloudFront URL is stable, and the bucket stays closed.
- **CloudFront**: signed URLs and signed cookies also expire. Reserve them for genuinely paid content, and in that case declare the paywalled content in the structured data as Google asks. Check that no geographic restriction or AWS WAF rule blocks Google's crawlers.
- **Content type**: set `video/mp4` and `image/jpeg` at upload time (`aws s3 cp … --content-type video/mp4`); otherwise S3 sometimes serves `binary/octet-stream`.

### Plesk

Versions: Plesk Obsidian 18.0.

Paste the directives from the Nginx section into `Websites & Domains > your domain > Apache & nginx Settings`, “Additional nginx directives” field. If hotlink protection is handled in the `.htaccess` file, apply the Apache section.

### cPanel

Versions: cPanel & WHM 110 and later, Jupiter theme.

Open `Security > Hotlink Protection`. If the tool is enabled, check “Allow direct requests” (direct requests, with no referrer) so as not to block crawlers, and review the “Block direct access for the following extensions” list: remove the video and image extensions from it if you do not need this protection. The tool writes its rules to the `.htaccess` file in `public_html`.

### Shared hosting

You only have access to the `.htaccess` file and the host's control panel. Test with curl as in “How to check”; if you get a `403` that only affects crawlers, look for hotlink or bot protection in the host's customer area, and ask support whether a web application firewall is blocking Googlebot. For a large number of videos, a dedicated video host or a CDN also avoids overload: Search Console flags thumbnails not crawled because of server load.

### WordPress

Versions: WordPress 6.4 to 7.1; WP Rocket 3.x and Perfmatters in their November 2026 versions.

- **robots.txt**: remove old `Disallow: /wp-content/` or `Disallow: /wp-content/uploads/` lines, which block thumbnails and videos.
- **Player facades**: performance plugins replace the YouTube iframe with a clickable image (in WP Rocket, the “Replace YouTube iframe with preview image” option; Perfmatters offers a comparable option). Turn it off on watch pages: Google asks that the video not depend on a click. Keep it on pages where the video is secondary.
- **Security plugins**: check their hotlink protection, country blocking and bot throttling settings.
- **Image CDNs**: a service that rewrites URLs with temporary tokens breaks thumbnail stability.

### Video platforms

- **YouTube**: a private video is not reachable by crawlers; the video page indexing report then flags a video not found on the hosting service. Check the visibility in YouTube Studio and that embedding is allowed.
- **Vimeo and professional platforms**: privacy settings (hidden video, embedding restricted to certain domains, password) can prevent Google from fetching the player or the file. Test the watch page with URL Inspection and ask the host whether Google can fetch the video files, as Google recommends for videos hosted by a third party.

## Common mistakes

- **`Disallow: /media/` or `/wp-content/`** inherited from an old configuration.
- **Hotlink protection with no exception for an empty referrer**: every crawler gets a `403`.
- **Presigned or signed URLs** for the thumbnail or `contentUrl`: indexing is lost when they expire.
- **`X-Robots-Tag: noindex` set on all static files** by a generic rule.
- **A facade player on the watch page**: Google cannot determine the video's position and size.
- **Testing in a logged-in browser**: you see the video, Googlebot does not.
- **Blocking “bots” by user agent** without an exception for verified crawlers.

## Frequently asked questions

### Why can't Google fetch my video thumbnail?

The most frequent causes are a media folder disallowed in robots.txt, hotlink protection that rejects requests with no referrer, a URL that expires, a required login or a firewall that blocks Googlebot. Test the URL with curl and the Googlebot-Image user agent, then read the exact reason in Search Console's video page indexing report.

### Do I need to allow Googlebot-Video in robots.txt?

Googlebot-Video does not need a dedicated group: without a group of its own, it follows the rules of the Googlebot group. You only need to make sure that no applicable rule blocks the folders holding the video files. Blocking these files does not remove the page from search results, but it deprives Google of the information needed for previews and some key moments.

### Does my hotlink protection block Google?

Not if it lets through requests without a Referer header, because Google's crawlers generally do not send one. On Apache, the condition that exempts an empty referrer must be present; on Nginx, valid_referers must include none; in cPanel, check Allow direct requests. Cloudflare Hotlink Protection lets empty referrers through and, according to Cloudflare, does not affect crawling.

### Can I protect video files while keeping them available to Google?

Yes. Google allows serving a stable file URL only to trusted clients, after checking that the request really comes from Googlebot, through a reverse then forward DNS lookup, or against the IP address ranges Google publishes. Visitors can receive signed URLs. For a paid video, also declare the paywalled content in the structured data.

## Resources

- [Google Search Central: Video best practices, file access and stable URLs](https://developers.google.com/search/docs/appearance/video?hl=en)
- [Search Console Help: Video page indexing report](https://support.google.com/webmasters/answer/9495631?hl=en)
- [Google Search Central: Google's common crawlers](https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers?hl=en)
- [Google Search Central: Verifying Googlebot](https://developers.google.com/search/docs/crawling-indexing/verifying-googlebot?hl=en)
- [Cloudflare: Hotlink Protection](https://developers.cloudflare.com/waf/tools/scrape-shield/hotlink-protection/)
- [cPanel: Hotlink Protection](https://docs.cpanel.net/cpanel/security/hotlink-protection/)
- [Nginx: referer module](https://nginx.org/en/docs/http/ngx_http_referer_module.html)

Next steps: [monitor video indexing](https://checklist-seo-geo.com/en/videos-pdfs-multimedia/monitor-video-indexing) and [check CDN, WAF and anti-bot protection](https://checklist-seo-geo.com/en/crawling/check-cdn-waf-anti-bot-protection).
