安全
HSTS
为何重要
HSTS tells browsers to always use HTTPS for your site, which prevents downgrade attacks and saves a redirect.
如何修复
- Once HTTPS works everywhere, send Strict-Transport-Security: max-age=31536000.
使用以下工具检查
- Security Headers Checker – Grade a site’s HTTP security headers (CSP, HSTS, X-Frame-Options and more).
评分:通过的检查获得全部权重,警告获得一半,错误则不得分。 SEO 评分如何运作