SIGN IN REGISTRATION
KNOWLEDGE BASE

How to migrate your site from http to https

19 April 2017 2 comments

from-http-to-https

HTTPS is an extension of the HTTP protocol which enhances the security of a site. In 2017, Google Chrome, for example, started labeling some non-HTTPS sites ‘Not Secure’. Our SEO expert Tatyana Zuikova has laid down step-by-step guidelines on how to migrate your site from http to https.

1. Preparing to migrate

  1. Changing internal links to relative links.
    At the very beginning of preparation it is necessary to replace all the internal links (including URLs in the rel=canonical link tag) with relative links, regardless of protocol, for example, //site.com/about. This means that the link will lead to a page on the site with the same protocol.
  2. Checking the availability of media content and changing URLs.
    The second step of preparation is to make sure that all media content (images, video, etc.) can be accessed via https. If there are images on your site, then as you did above, change them to relative links. For example, //site.com/images/image1.jpg.
  3. Checking the presence of third-party services and changing URLs.
    These are external services (Google Analytics, etc), external scripts and libraries. Typically, all popular services support HTTPS. So again replace the URLs with relative ones.

2. Installing SSL certificate and checking the availability of the site via both addresses — http:// and https://

3. Necessary settings

  1. The Host directive in the robots.txt file.
    In the robots.txt file insert the Host directive: https://site.com. By so doing, you’re telling search engines that the site at https:// is now the main mirror (optional, but e.g. Yandex requires that).
  2. Add the new site https://site.com in Google webmasters, transfer sitemap and other settings from the old webmasters to these new webmasters.
  3. Set up a 301 redirect for all pages from http:// to https://.

4. Error control and correction

Carefully check the accessibility of the site, images, scripts, links and redirects. Try and correct identified problems as soon as possible.

Important news

By the way, our White Label supports https out of the box, you don’t need do anything about it. The certificate would be added to your White Label subdomain within 48 hours after you create it.

Alexey Yanchuk

Related Post

  • Aleksey thanks but if i change my HTTP to HTTPs i lose my rank on google search or ?

    • It depends but generally you shouldn’t. Or it would be just temporary. Google is pretty smart in this case.