Migrate from HTTP to HTTPS without hiccups

http and https

Introduction

Migrating a site from HTTP to HTTPS can be accomplished without any trouble. It involves redirecting all HTTP traffic to HTTPS, changing the Google Analytics settings, and changing the Google Search Console. Read further to learn about the migration process completely.

Make sure to redirect all your http traffic to https

All site URLs should be converted to https.  You should make sure that SSL is enabled and pointed to the same domain. If you don’t do this, the browser will show a “privacy error”.

unsecure connection browser error

A few steps to follow:

  • Update your .htaccess file to redirect the site from http to https and confirm that all URL redirects working properly.
  • If you have added any URLs for scripts, css files or images paths, they will not update automatically.
  • Be sure to verify all pages and make sure the site is loading in https properly.
  • Another thing to do is to update your CDN url to https to load media files properly as this will solve mixed content issues.
  • Generate and replace the sitemap.xml file to inform google accordingly.
  • Finally, review your robots.txt file to see if any URLs need to be moved over from http to https.

Change your Analytics settings

If you are using Google Analytics, do the following

  1. Login to google analytics account using https://analytics.google.com
  2. Click on Admin and click on property settings.
  3. Change Default URL from http to https
google analytics admin page

Change your Google Search Console

Google Search Console actually needs you to create a new property for https. Follow the same process that you did for your http site.

google search console

No items found.

Related Insights

A Step-By-Step Guide To Legacy Migration

Learn the importance of migrating legacy systems and how to do it.

Ashwin Thapliyal

Switch CMS

Migrating from Craft CMS to WordPress

In this post we explore the various steps involved in migrating a site from Craft CMS to WordPress. The design of the site remains exactly the same while the underlying CMS is migrated.

Vinod Pabba

Switch CMS

How to execute a “lift-shift” project well

Sometimes a client will want to do a “lift-shift” project. This usually happens when they decide to move from CMS to another. In such projects, the look-feel of the site will remain exactly the same but the entire underlying tech infrastructure is swapped out completely. In this post, we will explore how to do this in the quickest, least intrusive and most effective manner.

Vinod Pabba

Switch CMS

Subscribe to our newsletter