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

When changing domains, set up HSTS only after ensuring that everything works well on HTTPS.
36:14
🎥 Source video

Extracted from a Google Search Central video

⏱ 1h00 💬 EN 📅 27/07/2018 ✂ 33 statements
Watch on YouTube (36:14) →
Other statements from this video 32
  1. 0:36 Comment vérifier si un domaine a des problèmes SEO invisibles depuis Google Search Console ?
  2. 1:48 Peut-on vraiment détecter les pénalités algorithmiques cachées d'un domaine expiré ?
  3. 3:50 Comment gérer le contenu dupliqué quand on gère plusieurs entités distinctes ?
  4. 4:25 Faut-il dupliquer son contenu pour chaque établissement local ou tout regrouper sur une page ?
  5. 6:18 Pourquoi les suppressions DMCA massives peuvent-elles détruire le classement d'un site entier ?
  6. 6:18 Les retraits DMCA massifs peuvent-ils vraiment dégrader le classement d'un site ?
  7. 7:18 Faut-il privilégier un sous-domaine ou un sous-répertoire pour héberger vos pages AMP ?
  8. 7:22 Où héberger vos pages AMP : sous-domaine, sous-répertoire ou paramètre ?
  9. 8:25 La balise canonical fonctionne-t-elle vraiment si les pages sont différentes ?
  10. 8:35 Faut-il vraiment bannir le rel=canonical de vos pages paginées ?
  11. 10:04 Le scraping peut-il vraiment détruire le référencement d'un site à faible autorité ?
  12. 11:23 L'adresse IP du serveur influence-t-elle encore le référencement local ?
  13. 11:45 L'adresse IP de votre serveur impacte-t-elle encore votre SEO local ?
  14. 13:39 Les images cliquables sans balise <a> sont-elles vraiment invisibles pour Google ?
  15. 13:39 Un lien sans balise <a> peut-il transmettre du PageRank ?
  16. 15:11 Comment Google indexe-t-il vraiment vos pages AMP en présence d'un noindex ?
  17. 15:13 Le noindex d'une page HTML bloque-t-il vraiment l'indexation de sa version AMP associée ?
  18. 18:21 Combien de temps faut-il pour récupérer après une action manuelle complète ?
  19. 18:25 Combien de temps faut-il pour récupérer d'une action manuelle Google ?
  20. 21:59 Faut-il intégrer des mots-clés dans son nom de domaine pour mieux ranker ?
  21. 22:43 Faut-il vraiment indexer son fichier robots.txt dans Google ?
  22. 24:08 Pourquoi le cache Google affiche-t-il votre page différemment du rendu réel ?
  23. 25:29 DMCA et disavow : pourquoi Google privilégie-t-il l'une sur l'autre pour gérer contenu dupliqué et backlinks toxiques ?
  24. 28:19 Le taux de crawl influence-t-il vraiment le classement dans Google ?
  25. 28:19 Votre serveur limite-t-il le crawl de Google plus que vous ne le pensez ?
  26. 31:00 Les signaux sociaux sont-ils vraiment inutiles pour le référencement Google ?
  27. 31:25 Les profils sociaux améliorent-ils le classement Google ?
  28. 32:03 Les profils sociaux multiples boostent-ils vraiment votre SEO ?
  29. 33:00 Les répertoires de liens sont-ils vraiment ignorés par Google ?
  30. 33:25 Les liens d'annuaires sont-ils vraiment tous ignorés par Google ?
  31. 42:35 Pourquoi les étoiles d'avis mettent-elles autant de temps à apparaître dans Google ?
  32. 52:00 Le niveau de stock influence-t-il vraiment le classement de vos fiches produits ?
📅
Official statement from (7 years ago)
TL;DR

Google recommends not enabling HSTS until your HTTPS migration is fully stabilized. This precaution prevents blocking access to your site if issues arise with certificates or SSL configuration. In practice, wait several weeks after the switch to integrate HSTS into your headers, allowing time to verify that everything works smoothly.

What you need to understand

Why does Google warn against the early activation of HSTS?

HSTS (HTTP Strict Transport Security) forces browsers to only access your domain via HTTPS, never attempting an HTTP connection. Once this header is sent, browsers memorize this directive for the specified duration (often a year).

The issue arises when you activate HSTS too early during a migration. If an SSL certificate expires, if an HTTPS configuration fails, or if an overlooked subdomain is not yet secured, visitors face a dead end: the browser categorically refuses any backup HTTP connection. You lose access to the site, as do the users.

What is a domain migration and how does HSTS complicate things?

A domain migration typically involves three simultaneous changes: a new domain name, a transition to HTTPS, and massive 301 redirects. It’s already a dense technical project.

Adding HSTS into the mix is like locking a door before testing all the locks. If your CDN improperly delivers certificates, if an old subdomain still points to an HTTP IP, or if your Let's Encrypt auto-renewal fails, HSTS turns a minor incident into a total disaster.

How can you tell when it’s safe to enable HSTS?

Monitor for at least two to four weeks after migration. Ensure that all subdomains respond correctly over HTTPS, that certificates renew automatically, and that your monitoring tools raise no SSL alerts.

Also test critical user journeys: e-commerce checkout, contact forms, customer areas. Once this validation period is over, enable HSTS with a short duration (a few weeks), then gradually increase it to a year.

  • HSTS locks HTTPS access without fallback to HTTP
  • Any SSL error becomes blocking for visitors if HSTS is active
  • Wait 2 to 4 weeks after migration before enabling HSTS
  • Start with a short duration (low max-age) then gradually increase
  • Check all subdomains, certificates, and renewal processes

SEO Expert opinion

Is this recommendation consistent with field observations?

Absolutely. I've seen too many migrations fail due to HSTS activated too soon. The classic scenario: a migration on a Friday, HSTS in the header, a certificate expires over the weekend because an automatic renewal script only worked on the old domain.

The result? Site inaccessible until Monday, loss of SEO traffic, a sharp drop in SERPs, and a client who doesn’t understand why they can’t just "revert to HTTP." Because indeed, HSTS forbids that on the browser side, even if you remove the server header.

What nuances should be added to this directive?

Mueller's recommendation mainly targets large complex migrations with multiple subdomains, distributed infrastructure, or technical teams not well versed in HTTPS. If you’re migrating a small single-domain site with a wildcard certificate and solid monitoring, the risk is lower.

However, even in that case, there’s no rush. HSTS does not provide any documented direct SEO benefit from Google. Its purpose is purely security-related: to protect against SSL stripping attacks. Taking two extra weeks to enable it does not change your ranking at all.

Note: If you have submitted your domain to the Chrome HSTS preload list before finalizing the migration, you are in a precarious situation. Removal from this list takes months. Ensure that EVERYTHING is functioning before this irreversible step.

When can HSTS activation be expedited?

If your infrastructure is fully managed (Cloudflare, AWS CloudFront with ACM, Netlify), if your certificates are auto-renewed, and you have already validated all subdomains over HTTPS for several days, you can shorten the waiting period.

But even then, start with a max-age of 86400 (24 hours) rather than 31536000 (one year). You will still have time to increase. However, reducing a max-age that has already been sent is pointless: browsers retain the highest value they have seen.

Practical impact and recommendations

What should you do when migrating a domain?

Plan the migration in three distinct phases. First, migrate to the new HTTPS domain with 301 redirects, without HSTS. Let it run for at least two weeks, monitoring your server logs, Google Search Console, and uptime monitoring tools.

Next, enable HSTS with a short max-age (one week). Monitor for another week. If everything runs smoothly, move to a max-age of one month, then six months, then one year. This gradual approach limits damage in case of unexpected problems.

What critical mistakes must be avoided at all costs?

Never enable includeSubDomains in the HSTS header if you haven’t checked ALL subdomains. An old staging subdomain staging.mydomain.com still on HTTP? Visitors to that subdomain (or bots) get blocked.

Another trap: don’t enable HSTS and submit for preload at the same time. The preload is effectively irreversible, and removal takes 6 to 12 months. Validate HSTS in production for several months before considering preload.

How can you check if your HSTS configuration is ready?

Use SSL Labs to scan your domain and all critical subdomains. Check that certificates are valid, that trust chains are complete, and that automatic renewals are functioning.

Then test with a temporary HSTS header (max-age=60) on a test environment. Clear your browser's HSTS cache (chrome://net-internals/#hsts), then navigate. If everything passes, gradually extend the duration. This method provides you with a safety net before going into production.

  • Migrate the domain to HTTPS first without HSTS; wait 2 to 4 weeks
  • Check all subdomains, SSL certificates, and automatic renewal processes
  • Enable HSTS with max-age=604800 (one week) then increase gradually
  • Never enable includeSubDomains without exhaustive validation of all subdomains
  • Monitor Search Console, server logs, and uptime monitoring after each step
  • Avoid preload until HSTS has run without incidents for several months
Migrating a domain with a transition to HTTPS is a delicate technical project that requires multiple areas of expertise: infrastructure, security, and SEO. If you lack solid internal skills in these three areas, working with a specialized SEO agency can secure the process and avoid costly mistakes. A prior audit helps identify pitfalls before they become blocking issues.

❓ Frequently Asked Questions

Combien de temps faut-il attendre avant d'activer HSTS après une migration HTTPS ?
Minimum deux à quatre semaines. Ce délai permet de détecter les problèmes de certificats, de configuration SSL ou de sous-domaines oubliés avant de verrouiller l'accès HTTPS avec HSTS.
HSTS améliore-t-il le référencement Google ?
Non, aucune donnée officielle ne montre un impact SEO direct de HSTS. Google valorise HTTPS, mais HSTS reste un mécanisme de sécurité sans bonus ranking documenté.
Peut-on désactiver HSTS si un problème survient ?
Vous pouvez retirer le header côté serveur, mais les navigateurs conservent la directive pendant toute la durée max-age déjà envoyée. Impossible de forcer un retour HTTP immédiat côté client.
Que se passe-t-il si j'active includeSubDomains sans vérifier tous les sous-domaines ?
Tout sous-domaine encore en HTTP devient inaccessible pour les visiteurs. Le navigateur refuse la connexion, même si le sous-domaine fonctionne techniquement en HTTP.
Quelle valeur max-age utiliser lors de la première activation de HSTS ?
Commencez avec 604800 (une semaine) ou moins. Une fois la stabilité confirmée, augmentez progressivement jusqu'à 31536000 (un an). Évitez de démarrer directement avec une longue durée.
🏷 Related Topics
HTTPS & Security AI & SEO JavaScript & Technical SEO Domain Name Redirects

🎥 From the same video 32

Other SEO insights extracted from this same Google Search Central video · duration 1h00 · published on 27/07/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.