WordPress Hosti
HomeInternetMoving your WordPress Website from HTTP to HTTPS (A Step by Step...

Moving your WordPress Website from HTTP to HTTPS (A Step by Step Guide)

Best Jumia Tech Week Deals

An extension of the HyperText Transfer Protocol (HTTP), the HyperText Transfer Protocol Secure (HTTPS) allows a secure way of communicating over the internet or any network. In February 2018, Google announced that starting July 2018, Chrome will start displaying a ‘Not Secure’ label in the address bar for sites who do not have an HTTPS domain.

Hence, many websites have started moving their websites to HTTPS. In this article, we will offer a step-by-step guide for moving your WordPress website to HTTPS.

Step 1 – Create a Website Backup

Whether you are moving your website to HTTPS or incorporating any other major change, it is important to create a backup of your website. This gives you a fallback option in case anything goes wrong.

WordPress has a wide range of backup plugins to choose from to help you create the backup on your local computer or the cloud.

Step 2 – Implement the SSL Certificate

A Secure Sockets Layer (SSL) certificate is required to move your site from HTTP to HTTPS. This digital certificate is issued by a certifying authority for a specific domain.

Once you purchase the SSL certificate, there is a verification process to be followed. However, your host must allow the installation of an SSL certificate for your website.

One way of successfully implementing the SSL certificate is by using WordPress Hosting services which allow its purchase and installation or even offer it as a part of the hosting plan. These hosting services also offer automatic updates of your WP-core, plugins, and themes.

- Advertisement -Fiverr Business

Step 3 – WordPress Admin-Area Changes

Once you have implemented the SSL certificate, it’s time to secure the back-end of your WordPress site. A small change, as shown below, can help you do this:

  • Go to the wp-config.php file present in the WP root folder and open it.
  • Scroll down and reach the end of the file and look for the phrase – ‘That’s all, stop editing’.
  • At any place above this phrase type: define(‘FORCE_SSL_ADMIN’, true);
  • Close the wp-config.php file.

After doing this, try accessing your WP-login page by replacing ‘http’ with ‘https’. For example,

If the URL of your WP-login page was http://yourwebsite.com/wp-admin, then change it to https://yourwebsite.com/wp-admin and check if you can access the page. If everything seems in order, then this page is accessible over a secured connection.

Step 4 – Make Changes to the Site Address

Step 4 - Make Changes to the Site Address

- Advertisement -AliExpress Anniversary Sales

After securing the back-end of your WP-site, it’s important to change the site address under general settings (can be found under Settings→General) as shown below.

Once you have these options in front of you, simply change ‘http’ to ‘https’ for the WordPress address (URL) and the Site Address (URL). Remember to save and close the settings page.

Step 5 – Make relevant changes in the Content and Templates

Now, look for all templates and/or links in your content and database with the HTTP protocol and change them to HTTPS. There are many plugins available to help you search and replace text on your WordPress site.

Also, if there are links to external resources or assets in the theme templates and function files with HTTP, make sure that you do the necessary changes too. You might also want to check all your media files, CSS or JavaScript, internal links, web fonts, etc. for HTTP.

Step 6 – Implement 301 Redirects

Now that you have made the changes, you have to set-up automatic redirects which sends your site visitors to the HTTPS version.

To do this, you can use an FTP client and access the .htaccess file and add the below-mentioned lines to it. Remember, the .htaccess file is hidden by default. Therefore, you will have to un-hide it before accessing.

  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteCond %{HTTPS} off
  4. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  5. </IfModule>

Now your site visitors will be automatically redirected to your HTTPS site.

Step 7 – Finishing Touches

  • Before you make the changes live, check if all aspects of your website work fine.
  • There is a possibility that you might have missed out on certain HTTP links. You can use a plugin like SSL Crawl to find them and make the necessary changes.
  • The sitemap needs to be updated too.
  • You also need to add the HTTPS version to the webmaster tools
  • If you are using a CDN, you will have to make changes there as well.
  • Also, update the URL to the HTTPS version in any analytics tool used by you.

If you are not so technically inclined, then you might want to hire the services of a professional to do it for you. Increasing number of websites are moving to HTTPS and eventually, customers might choose to stay away from sites that have not implemented SSL.

Give your users and customers a secured experience by moving to HTTPS. Good Luck.

Related Topics

AliExpress 11 11 Sales
NaijaTechGuide may receive financial compensation for products/services purchased through affiliate links on this site. See full Affiliate Disclosure Here
NaijaTechGuide Team
NaijaTechGuide Team
NaijaTechGuide Team is made up of Experienced Tech Enthusiasts and Professionals led my Paschal Okafor, a graduate of Electrical and Electronics Engineering with over 17 years of Experience writing about Technology. Some of us were writing about Mobile Phones before the first Android Phones and iPhones were launched.

Recommended Read on NaijaTechGuide

Best Marketing Automation Software 2024

You need the best marketing automation software to scale your business fast and convert...

Best Content Marketing Tools for 2024

As a content marketer, you have a lot of tasks to accomplish. You need...

Best VPN Services Providers for 2024

The internet is one of the greatest achievements of humanity, but it is also...

Best 20KVA Generators to Buy in 2024

Generator sets, as an alternate source of power supply, come in their different sizes...

Best Laptops for Students 2024: 11 Top Picks to Choose From

So, you are a student who is looking to get the best laptop they...

Cheap Android Phones 2024 – Price, Specs, and Best Deals

Android phones are the most popular smartphone category. The popularity of Android phones are...

Best Android Phones 2024 – Price, Specs, and Best Deals

New Android Phones are launched into the market every week. This means that if...

Best Web Hosting Services for Building Websites in 2024

A good and reliable web hosting service will make a big difference for your...
Fiverr Business

More like this

Know Your Influence: Instagram Follower Count Trackers

Keynote: Instagram Follower Count Trackers are indispensable tools for influencers and businesses, offering deep...

SEO Strategies for Agribusiness: Increasing Organic Reach for Fruit Sellers

Are you a fruit seller looking to expand your market reach and increase sales? In...

Building a Resilient Database System for Financial Applications

In  general  terms,  resilience  is  the  ability  to  withstand  adversity  and  bounce  back  from ...