技术 SEO
HTTP 到 HTTPS 重定向
为何重要
If http:// does not redirect to https://, two versions of the site exist and visitors may land on the insecure one.
如何修复
- Add a permanent 301 redirect from every http:// URL to its https:// version.
- Enable HSTS once the redirect works everywhere.
使用以下工具检查
- 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.
评分:通过的检查获得全部权重,警告获得一半,错误则不得分。 SEO 评分如何运作