SEO technique
Redirection HTTP vers HTTPS
Pourquoi c’est important
If http:// does not redirect to https://, two versions of the site exist and visitors may land on the insecure one.
Comment corriger
- Add a permanent 301 redirect from every http:// URL to its https:// version.
- Enable HSTS once the redirect works everywhere.
Vérifier avec
- Redirect Generator (.htaccess & Nginx) – Create 301 redirect rules for Apache .htaccess and Nginx, including HTTPS and www.
- Redirect Checker – Trace every hop of a redirect chain with status codes and timings.
Score : un contrôle réussi obtient tout son poids, un avertissement la moitié et une erreur rien. Fonctionnement du score SEO