01 · Operator
Who operates YandexMobileBot
- Company
- Yandex
- Official docs
- yandex.com
02 · Behavior
What YandexMobileBot does
YandexMobileBot fetches pages with an iPhone-like user agent. Yandex uses the result to detect mobile-friendly layouts. It does not follow robots.txt.
03 · Impact
Why YandexMobileBot matters for your site
If you allow it
- Helps Yandex judge mobile friendliness
If you block it
- Ignores robots.txt
04 · Allow
How to allow YandexMobileBot
robots.txt
User-agent: YandexMobileBot
Allow: /
Cloudflare
# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "YandexMobileBot")
Action: Skip › All Super Bot Fight Mode rules
# Also check Security › Bots: "Block AI bots" can block it regardless of robots.txt.
WordPress
# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: YandexMobileBot
Allow: /
nginx
# nginx serves every user agent by default.
# Make sure no rule like this blocks it:
# if ($http_user_agent ~* "YandexMobileBot") { return 403; }
Apache
# Apache serves every user agent by default.
# Make sure .htaccess has no rule like this:
# RewriteCond %{HTTP_USER_AGENT} YandexMobileBot [NC]
# RewriteRule .* - [F,L]
05 · Block
How to block YandexMobileBot
YandexMobileBot has been reported to ignore robots.txt. Block it at your CDN or web server as well.
robots.txt
# YandexMobileBot has been reported to ignore robots.txt.
# Add a Cloudflare, nginx or Apache rule as well.
User-agent: YandexMobileBot
Disallow: /
Cloudflare
# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "YandexMobileBot")
Action: Block
WordPress
# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: YandexMobileBot
Disallow: /
nginx
# In your server { } block:
if ($http_user_agent ~* "YandexMobileBot") {
return 403;
}
Apache
# .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} YandexMobileBot [NC]
RewriteRule .* - [F,L]
</IfModule>
06 · User agents
User agents we see for YandexMobileBot
The user agent published by the operator:
Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B411 Safari/600.1.4 (compatible; YandexMobileBot/3.0; +http://yandex.com/bots)
07 · Verification
Is it really YandexMobileBot?
Anyone can copy a user agent. A reverse DNS lookup of a real request resolves to yandex.ru</code>, <code>yandex.net</code>, <code>yandex.com, and that hostname resolves back to the same IP.
FAQ
Questions about YandexMobileBot
Does YandexMobileBot respect robots.txt?
No. Yandex documents that YandexMobileBot does not follow robots.txt rules.
How do I block YandexMobileBot?
Because it ignores robots.txt, you must block it by user agent on your server or firewall.
How can I verify that YandexMobileBot is really from Yandex?
Run a reverse DNS lookup on the IP. The hostname must end in yandex.ru, yandex.net or yandex.com, and a forward lookup must return the same IP.
Last reviewed Oct 8, 2026