Oct 29, 2018

How to correctly redirect your HTTP site to your HTTPS site

  • Place 301 permanent redirects from your HTTP site to your HTTPS site, and
  • Use <link rel=”canonical”> to flag your HTTPS URLs as the version of record.
There is the added benefit of better information within analytics tracking tools, as HTTPS sites do not pass referrer data to HTTP sites.