What does Google say about SEO? /
Quick SEO Quiz

Test your SEO knowledge in 3 questions

Less than 30 seconds. Find out how much you really know about Google search.

🕒 ~30s 🎯 3 questions 📚 SEO Google

Official statement

If you have separate desktop and mobile versions, it is recommended to redirect in both directions: mobile to desktop for desktop users, and desktop to mobile for mobile users.
5:46
🎥 Source video

Extracted from a Google Search Central video

⏱ 58:55 💬 EN 📅 25/09/2020 ✂ 21 statements
Watch on YouTube (5:46) →
Other statements from this video 20
  1. 1:34 Pourquoi vos nouveaux contenus perdent-ils brutalement leurs positions après un pic initial ?
  2. 1:34 Un featured snippet peut-il vraiment s'afficher sans être premier dans les résultats organiques ?
  3. 2:06 Faut-il vraiment mettre à jour vos contenus pour conserver vos positions Google ?
  4. 4:12 L'indexation mobile-first ignore-t-elle vraiment la version desktop de votre site ?
  5. 8:52 Faut-il vraiment servir des images basse résolution pour les connexions lentes ?
  6. 10:02 Les images décoratives doivent-elles vraiment être optimisées pour le SEO ?
  7. 13:47 Le guest posting pour obtenir des backlinks est-il vraiment risqué ?
  8. 14:50 Le contenu syndiqué est-il vraiment pénalisé par Google comme duplicate content ?
  9. 15:51 Les URLs nues comme ancres tuent-elles vraiment le contexte SEO de vos liens ?
  10. 16:52 Le texte d'ancrage écrase-t-il vraiment le contexte environnant pour le SEO ?
  11. 19:00 Un simple changement de layout peut-il vraiment impacter votre référencement ?
  12. 21:37 La compatibilité mobile impacte-t-elle vraiment le référencement desktop ?
  13. 23:14 Le trafic généré par vos backlinks influence-t-il vraiment votre positionnement Google ?
  14. 25:17 Faut-il vraiment abandonner AMP si votre site est déjà rapide ?
  15. 29:24 Google efface-t-il vraiment l'historique d'un domaine expiré lors d'une reprise ?
  16. 37:53 Est-ce que Search Console analyse vraiment toutes les pages de votre site ?
  17. 43:06 Combien de temps faut-il vraiment pour récupérer après un hack SEO ?
  18. 46:46 Faut-il vraiment indexer toutes les pages paginées pour éviter la perte de produits ?
  19. 48:55 Faut-il vraiment privilégier noindex plutôt que canonical sur les facettes e-commerce ?
  20. 51:02 Le rendu côté serveur est-il vraiment exempt de tout risque de pénalité pour cloaking ?
📅
Official statement from (5 years ago)
TL;DR

Google recommends a bidirectional redirection between separate desktop and mobile versions: mobile to desktop for desktop users, and vice versa. This setup ensures that each visitor accesses the version suited to their device, avoiding misdisplays or indexing issues. This is particularly critical for M-Dot configuration sites that have not migrated to responsive design.

What you need to understand

What does bidirectional redirection really mean?

A bidirectional redirection involves two simultaneous redirect logics depending on the visitor's user-agent. When a desktop user types the mobile URL (m.example.com), the server detects a desktop browser and redirects to the desktop version (www.example.com). Conversely, a mobile user landing on www.example.com is automatically redirected to m.example.com.

This setup requires server-side detection of the user-agent, typically via the HTTP_USER_AGENT header. Unlike a simple alternate/canonical annotation that indicates the relationship between versions, the redirection physically forces the browser to the correct URL. It is a more interventionist technical approach than responsive design, but it remains relevant for certain legacy architectures.

Why does Google emphasize this dual direction?

The engine frequently encounters asymmetric configurations where redirection only works in one direction. Typically: desktop to mobile implemented, but not vice versa. What’s the result? A Desktop Googlebot accessing m.example.com sees unoptimized mobile content, or worse, a poorly loading site.

With Mobile-First indexing, Googlebot primarily crawls with a mobile user-agent. But it continues to visit certain pages in desktop, particularly to check consistency between versions. If the mobile→desktop redirection is missing, a desktop crawl may encounter a mobile interface loading inappropriate resources or displaying a broken viewport. Google wants to avoid situations where its bots cannot access a coherent version of the content.

Does this recommendation still apply today?

The statement targets M-Dot configuration sites (separate mobile domain or subdomain), an architecture that is becoming rare. Since the transition to Mobile-First Indexing, most sites have migrated to responsive design, where there is only one URL serving the same HTML to all devices.

For these responsive sites, the question doesn’t arise: no separate versions, so no redirections to manage. However, there remain a few use cases: historic e-commerce sites, complex media platforms, or international sites with dedicated mobile versions by market. For these configurations, Google’s recommendation remains completely valid and critical.

  • Bidirectional redirection = two distinct logics based on user-agent detection
  • Prevents display errors when a bot or user accesses the wrong version
  • Essential in M-Dot, unnecessary in responsive (one URL, no redirection)
  • Requires reliable server detection and maintenance of user-agent lists
  • Impacts crawl budget if poorly implemented (redirect chains, loops)

SEO Expert opinion

Is this recommendation still practically relevant?

Let’s be honest: this is a directive for a dying architecture. M-Dot configuration represents less than 5% of the sites audited in the past three years. Google continues to publish these recommendations because some major players — media, legacy e-commerce — have never migrated, often for political or technical reasons (too costly redesign, separate desktop/mobile teams).

In practice, most new M-Dot implementations are design mistakes. A client arrives saying, “we want a dedicated mobile version” without understanding the SEO implications: potential content duplication, double maintenance, synchronization risks, complexity of redirections. Except for very specific cases (ultra-optimized mobile web applications, major technical constraints), responsive design remains the recommended approach.

What are the technical pitfalls of this bidirectionality?

The first pitfall: user-agent detection is never perfect. The lists must be kept up to date (new devices, new bots). An unrecognized user-agent can be redirected to the wrong version, creating a catastrophic user experience. [To be checked] on your server: what list are you using, when was it last updated?

The second recurring issue: redirect chains. Real-life example: a site redirects www to HTTPS, then HTTPS to mobile, then mobile detects a desktop and redirects to www, which redirects to HTTPS… and you end up with 4 hops. Google tolerates this, but each redirect consumes crawl budget and slows down indexing. A poorly thought-out bidirectional configuration can create unnecessary loops or chains if it is not coordinated with other redirections (HTTPS, trailing slash, canonicals).

In what cases does this architecture remain justified?

There are legitimate situations where M-Dot stands its ground. Sites with radically different mobile functionalities (intensive geolocation, code scanning, specific interactions). Platforms where mobile content is intentionally reduced for UX reasons (media outlets publishing shortened versions). E-commerce platforms with an ultra-optimized mobile conversion tunnel, distinct from the desktop journey.

In these cases, bidirectional redirection becomes non-negotiable. Without it, you risk Google indexing the wrong version or users encountering an unsuitable interface through an external link or social sharing. But — and this is crucial — this configuration requires constant monitoring: server logs to track poorly managed user-agents, Search Console to detect crawl errors, regular tests on real devices.

Practical impact and recommendations

How to verify that bidirectional configuration works?

Your first instinct: manually test both paths. Access your mobile URL (m.example.com/page) from a desktop browser. You should be redirected to www.example.com/page with a 301 or 302 redirect. Then test the reverse: www.example.com/page from a mobile browser (or by changing the user-agent in DevTools) should redirect to m.example.com/page.

Next, analyze your server logs. Look for requests where Desktop Googlebot accesses mobile URLs, and vice versa for Googlebot Smartphone on desktop URLs. If you see crawling without redirection, it’s a warning signal. Log analysis tools (OnCrawl, Botify, Screaming Frog Log Analyzer) allow you to easily filter by user-agent and HTTP code to spot these inconsistencies.

What errors to avoid during implementation?

A classic mistake: using JavaScript for redirection. Google recommends a server-side redirect (301/302), not JavaScript that detects the viewport and redirects on the client side. Why? Because bots may not execute the JS, or execute it after already starting to index the initial content. A server-side redirect is instant, detected at the first HTTP exchange, ensuring that neither bot nor user sees the wrong version.

Another trap: forgetting alternate/canonical annotations. Even with bidirectional redirects, you must mark up pages: the desktop version carries a <link rel="alternate" media="only screen and (max-width: 640px)" href="URL_MOBILE">, the mobile version carries a <link rel="canonical" href="URL_DESKTOP">. These annotations help Google understand the relationship between versions and prevent duplication issues. Redirects manage user traffic; tags guide indexing.

Should you migrate to responsive or maintain M-Dot?

If you are currently on M-Dot, seriously consider the question of migration. Responsive design eliminates all this complexity: one URL, one HTML, no redirections, no risk of desynchronization between versions. Google has been saying for years: this is the recommended default configuration.

However, a poorly prepared migration can be disastrous for SEO. You need to map all mobile URLs to desktop (301 redirects), check that the mobile content is not truncated compared to the desktop (otherwise loss of visibility), and ensure that UX signals (Core Web Vitals) remain at par on the new responsive version. Such a migration requires advanced technical expertise and rigorous project management. If your internal team lacks resources or experience with this type of redesign, engaging a specialized SEO agency may be wise to orchestrate the transition without loss of organic traffic.

  • Manually test redirections in both directions (desktop→mobile, mobile→desktop) on several representative pages
  • Analyze server logs to detect Googlebot crawls on the wrong version without redirection
  • Ensure that redirects are indeed HTTP 301/302 server-side, never in JavaScript
  • Make sure that alternate and canonical tags are present and consistent with the redirects
  • Monitor Search Console for crawl or indexing errors related to mobile/desktop versions
  • Evaluate the ROI of migrating to responsive vs. ongoing maintenance of the M-Dot configuration
A well-implemented bidirectional redirection ensures that every visitor — whether human or bot — always accesses the version of your site that is appropriate. It is a technical requirement for M-Dot architectures but an avoidable complexity if you migrate to responsive design. In any case, test, log, and monitor: redirect errors come at a cost in degraded user experience and wasted crawl budget.

❓ Frequently Asked Questions

Une redirection bidirectionnelle peut-elle créer une boucle infinie ?
Oui, si la détection user-agent est défaillante ou si les règles de redirection se chevauchent. Testez toujours avec de vrais devices et surveillez les logs pour repérer les allers-retours. Une boucle bloque l'accès au contenu et gaspille le crawl budget.
Dois-je utiliser une 301 ou une 302 pour ces redirections bidirectionnelles ?
Google accepte les deux, mais la logique diffère : 301 signale un déplacement permanent, 302 un déplacement temporaire. Pour une configuration M-Dot stable, une 302 est plus appropriée car la 'bonne' version dépend du contexte (device), pas d'un changement permanent d'URL.
Les annotations alternate et canonical suffisent-elles sans redirection ?
Non. Les annotations aident Google à comprendre la relation entre versions, mais ne redirigent pas les utilisateurs. Si un visiteur desktop atterrit sur l'URL mobile via un lien externe, il voit une version inadaptée sans redirection serveur. Les deux mécanismes sont complémentaires.
Comment gérer les redirections bidirectionnelles avec un CDN ?
La plupart des CDN (Cloudflare, Fastly, Akamai) supportent la détection user-agent et les redirections conditionnelles via leurs edge workers ou règles de configuration. Implémentez la logique au niveau CDN pour minimiser la latence, mais testez soigneusement chaque règle.
La détection user-agent fonctionne-t-elle avec tous les bots de Google ?
Googlebot Smartphone et Googlebot Desktop s'identifient clairement dans leur user-agent. Mais d'autres bots Google (AdsBot, Image Bot) peuvent avoir des user-agents distincts. Assurez-vous que votre liste de détection couvre tous les cas pertinents, ou utilisez une bibliothèque maintenue à jour.
🏷 Related Topics
Mobile SEO Redirects

🎥 From the same video 20

Other SEO insights extracted from this same Google Search Central video · duration 58 min · published on 25/09/2020

🎥 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.