The #ChromeDevSummit site is live, happening Nov 12-13 in San Francisco, CA
Check it out for details and request an invite. We'll be diving deep into modern web tech & looking ahead to the platform's future.

Redirects HTTP Traffic To HTTPS

Overview

All sites should be protected with HTTPS. See the following Lighthouse doc to learn why: Site is on HTTPS.

Once you've got HTTPS set up, you need to make sure that all unsecure HTTP traffic to your site is redirected to HTTPS.

Recommendations

  1. Use canonical links in the head of your HTML to help search engines figure out the best way to get to the page.

  2. Configure your server to redirect HTTP traffic to HTTPS. See your server's documentation to figure out the best way to do this.

More information

Lighthouse changes the page's URL to http, loads the page, and then waits for the event from the Chrome Debugger that indicates that the page is secure. If Lighthouse does not receive the event within 10 seconds then the audit fails.

Feedback

Was this page helpful?