How to Moving a WordPress Website from HTTP to HTTPS?

Learning how to move your website to HTTPS is a significant. These days, we share sensitive data like credit card as well as bank information or login credentials several times per day. Google announced that it has started utilizing HTTPS as a ranking signal. And that has implications for your site and whether it utilizes an HTTP or HTTPS protocol.

Back Up Your Website

Whenever making major changes to your website, you must always back it up first. That way, in case something goes unwell you can go back to the working version.

Implement Your SSL Certificate

The primary thing we will do is get ourselves an SSL certificate. Your host provides an option to move your site to HTTPS accurate in the management dashboard.

If you have administrative shell access on your server, you may simply opt the type of web server and operating system you are utilizing.

If you get your SSL certificate from a diverse source, follow the instructions of your hosting provider to apply the switch. Once that is performed, you need to start making the essential changes to your WordPress website.

Include HTTPS to the WordPress Admin Area

To do this, open wp-config.php in your WordPress root folder as well as insert the following line somewhere before where it says That’s all, stop editing.

define(‘FORCE_SSL_ADMIN’, true);

Now test if it works or not. For that, try to access your login page with HTTPS in the URL, for example via https://yoursite.com/wp-admin. If everything worked accurately, you should have a secure connection now. Then continue.

Update the Site Address

After moving the WordPress backend over to HTTPS, it’s time to perform the same for the remainder of your site. You may do that by updating your site address under Settings > General.

Add https:// to the beginning of both the WordPress address as well as site address. Then update your settings by saving. Be aware that you might require to log in again afterward.

Modify Links in Your Content and Templates

Now it’s time to update any links in your content as well as database that include the old HTTP protocol. If you have links to external resources and assets in your theme templates and function files with absolute HTTP links, it’s significant to correct these, too.

Implement 301 Redirects in .htaccess

Now you have to set up a redirect that sends visitors automatically over to the secure version. For that, we will use .htaccess.

To find it, make sure to allow your FTP client to show hidden files because .htaccess is hidden by default. If you don’t have one, just mamke a plain text file, rename it to .htaccess as well as upload it to the WordPress root directory.

Test and Go Live

It’s time to test if everything works correctly. For that, head on over to SSL Test. Enter your domain name as well as click Submit. This will give you an overall score of how well you implemented SSL on your site and details about issues in order to fix them.

Author Bio

Naveen Kumar a professional digital marketer and owner of top rated company JDM web technologies expert in offering digital marketing, SMO services, SEO services, PPC as well as web designing service . He has helped large number of organizations to grow their business.

You May Also Like

Naveen Kumar

About the Author: Naveen Kumar

I am Naveen Kumar, the founder and CEO of the best SEO Company in India, JDM Web Technologies. https://www.jdmwebtechnologies.com/

Leave a Reply