Missed the action at the 2018 Chrome Dev Summit? Catch up with our playlist on the Google Chrome Developers channel on YouTube. Watch now.

Redirects HTTP Traffic To HTTPS


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.


  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.


Was this page helpful?