Official statement
Other statements from this video 13 ▾
- 2:22 Un site desktop-only peut-il survivre au Mobile-First Indexing sans version mobile ?
- 2:22 Mobile-first indexing signifie-t-il que votre site doit être mobile-friendly ?
- 4:30 Pourquoi votre site hacké peut indexer du spam sans que vous le sachiez ?
- 6:45 Les vidéos YouTube améliorent-elles vraiment le classement d'une page web ?
- 9:50 Google ajuste-t-il vraiment le ranking contre l'abus d'autorité de domaine sans pénalité manuelle ?
- 9:50 Faut-il encore signaler le spam à Google si les rapports individuels ne sont pas traités ?
- 15:54 Faut-il vraiment afficher le fil d'Ariane en mobile pour éviter une pénalité Google ?
- 17:50 L'attribut regionsAllowed peut-il limiter la visibilité de vos vidéos dans certains pays ?
- 25:52 Pourquoi votre balisage Schema.org valide n'affiche-t-il pas de rich results ?
- 27:59 Pourquoi votre site disparaît-il temporairement des SERP sans raison apparente ?
- 36:20 Le type de Googlebot utilisé influence-t-il réellement l'indexation de vos pages ?
- 57:00 Pourquoi Google refuse-t-il d'indexer certaines pages de votre site ?
- 65:54 Le contenu caché derrière un clic est-il vraiment indexé par Google ?
Google requires automatic redirection based on the user-agent when a desktop user visits a mobile URL that appears in desktop search results. This directive aims to prevent user experience disruptions. Specifically, if your architecture separates m.example.com and www.example.com, you must configure server detection to direct each visitor to the version suitable for their device.
What you need to understand
Why does Google enforce this user-agent redirection?
This directive targets sites that still maintain a separate mobile architecture (m.example.com or example.com/mobile/), a schema inherited from the pre-responsive era. Google now primarily indexes mobile versions through mobile-first indexing, which can lead to mobile URLs appearing in desktop SERPs.
The problem arises when a desktop user clicks on a mobile result: without redirection, they land on a degraded mobile interface, with inappropriate touch navigation, a narrow viewport, and truncated content. User experience drops sharply—session times decrease, bounce rates increase, and negative signals are sent to the algorithm.
How should this technical setup work?
The redirection relies on server-side detection of the user-agent present in the request's HTTP headers. As soon as a desktop user-agent (Chrome, Firefox, Safari desktop, etc.) accesses a mobile URL, the server returns a 302 Found or 301 Moved Permanently response pointing to the desktop equivalent.
This logic works both ways: a mobile user visiting www.example.com/article should receive a redirection to m.example.com/article. The mappings must be bidirectional and symmetrical, so each URL has its exact counterpart on the other domain. An approximate or partial match generates redirection loops or 404 errors.
Does this directive still apply in 2025?
The question is legitimate—the vast majority of modern sites use responsive design, where a single URL serves adapted content via CSS and JavaScript. In this case, no user-agent redirection is needed: Google indexes a single URL that adjusts automatically.
However, some legacy sites, complex e-commerce platforms, or media portals still maintain separate URLs for historical, technical, or organizational reasons. For these configurations, the directive remains fully applicable and binding. Ignoring this rule exposes you to indirect penalties through degraded engagement metrics.
- User-agent redirection only concerns separate mobile/desktop architectures (distinct domains or paths)
- It must function bidirectionally: desktop → mobile AND mobile → desktop
- Responsive design (a single URL) is not affected by this directive
- Redirections must point to exact equivalents (same content, same depth of navigation)
- The HTTP header Vary: User-Agent signals to caches that the response varies according to the user-agent
SEO Expert opinion
Does this directive still reflect the reality of the current web?
Let’s be honest: this recommendation addresses a minority and obsolete use case. By 2025, the vast majority of professional sites have migrated to responsive design for years. Maintaining two separate mobile/desktop versions triples the maintenance burden, fragments popularity signals (backlinks, social shares), and complicates analytics.
Nevertheless, this architecture is still observed among some players: legacy e-commerce sites with differentiated mobile/desktop shopping paths, historically overhauled media platforms, and government institutional sites under inherited technical constraints. For these cases, the directive remains fully relevant and non-negotiable.
What concrete risks arise if the user-agent redirection is absent?
Without redirection, desktop users visiting a mobile URL experience a degraded experience: mobile viewport on a large screen, tiny touch buttons, truncated content, and inappropriate navigation. The bounce rate skyrockets, session time plummets, and conversions collapse.
From an SEO perspective, Google captures these negative signals through engagement metrics and Core Web Vitals. A high CLS (Cumulative Layout Shift) on desktop may result from forced mobile rendering. The INP (Interaction to Next Paint) degrades when touch buttons are difficult to click with a mouse. These metrics directly impact ranking—and this is measurable in A/B testing with user cohorts. [To be verified]: Google has never published a documented case showing an explicit algorithmic penalty for the absence of user-agent redirection, but there are numerous indirect correlations.
In what cases does this rule absolutely not apply?
Any responsive or adaptive architecture serving a single URL is out of scope. If your site uses CSS media queries, JavaScript to adjust layout, or a modern framework (React, Vue, Next.js with adaptive rendering), this directive does not concern you.
Similarly, Progressive Web Apps (PWA) serving a unified interface via service workers are not affected. Sites using dynamic serving (a single URL, different HTML content based on user-agent without redirection) must explicitly signal this configuration via the Vary: User-Agent header—but they do not redirect; they serve the adapted HTML directly.
Practical impact and recommendations
How can I check if my site needs this redirection?
First step: identify your URL architecture. Open a desktop and mobile browser, visit the same page. If the URL changes (m.example.com vs www.example.com, or /mobile/ vs root), you are concerned. If the URL remains the same with an adapted layout, you are using responsive design—no redirection needed.
Second check: test the cross-behavior. With a desktop user-agent (Chrome DevTools > Network conditions > User agent > Desktop), manually visit a mobile URL. Observe the HTTP response: do you see a 302/301 to the desktop equivalent? Repeat the process in reverse with a mobile user-agent on a desktop URL.
What technical errors should be avoided during implementation?
The redirection loop is the most common error: the server misdetects the user-agent and endlessly redirects the user between mobile and desktop. This occurs when the detection logic relies on outdated or poorly formatted user-agent lists. Modern browsers, specialized crawlers, and hybrid devices (tablets, Chromebooks) blur the boundaries.
Another trap: approximate URL matching. If m.example.com/product/123 redirects to www.example.com/ instead of www.example.com/product/123, you generate cascading 404 errors. Each mobile URL must have an exact mapping to its desktop equivalent, ideally stored in a server mapping table or via robust regex rules.
What strategy should be adopted to migrate to responsive design?
If you still maintain separate URLs in 2025, migrating to responsive should be a strategic priority. Consolidate your URLs, implement modern adaptive design, then configure permanent 301 redirections from the old mobile/desktop URLs to the new single URLs.
This technical overhaul drastically simplifies maintenance, unifies SEO signals (all backlinks point to a single URL), and improves Core Web Vitals by eliminating intermediate redirections. The planning should include: URL audit, comprehensive mapping, cross-device testing, post-migration monitoring of 404s and traffic losses.
- Identify your architecture: separate URLs (m.example.com) or responsive (single URL)
- Test cross-redirections with different user-agents (desktop, mobile, tablet, crawlers)
- Check the HTTP header Vary: User-Agent if you are using dynamic serving
- Implement an exact bidirectional mapping between mobile and desktop URLs
- Monitor redirection loops via server logs and monitoring tools (Screaming Frog, Sitebulb)
- Plan a responsive migration to eliminate technical complexity in the medium term
❓ Frequently Asked Questions
Le responsive design élimine-t-il totalement le besoin de redirection user-agent ?
Dois-je utiliser une redirection 301 ou 302 pour le user-agent ?
L'en-tête Vary: User-Agent suffit-il sans redirection ?
Comment gérer les user-agents hybrides comme les tablettes ?
Quels outils permettent de vérifier mes redirections user-agent ?
🎥 From the same video 13
Other SEO insights extracted from this same Google Search Central video · duration 1h11 · published on 05/11/2020
🎥 Watch the full video on YouTube →
💬 Comments (0)
Be the first to comment.