Mobile app version of vmapp.org
Login or Join
Goswami781

: When converting a WordPress site from HTTP to HTTPS, do all hard-coded HTTP references need to be updated? We have a Wordpress HTTP site which we wish to convert to HTTPS or SSL. Do we have

@Goswami781

Posted in: #Conversions #Http #Https #Redirects #Wordpress

We have a Wordpress HTTP site which we wish to convert to HTTPS or SSL. Do we have to find all mentions of hard coded HTTP resources or can we simply do a 301 redirect in .htaccess, and how do we do that?

We are a not for profit website and I have limited knowledge of Wordpress and webmastering (although I am a power user of browsers and can edit basic html).

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Goswami781

3 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

This answer will build upon what the other two answers stated:


Do you need to change hard-coded URL's? You don't need to, but you may want to. If you implement global 301's in your .htaccess file, any link on your website that starts with http should redirect to https automatically. However, I would still go through menus, widgets, etc., and anywhere you have your absolute non-secure URL hard-coded, update it. (Why create an extra redirect when you don't have to?)
How to implement 301's in .htaccess - read this whole article: wpism.com/301-redirects-wordpress/

10% popularity Vote Up Vote Down


 

@Goswami781

The simplest method consists of:


Access your cpanel and press control + f (search for encrypt). Enter the section let's encrypt





Click on issue.





Click on issue again about all the options.
Install the following plugin: Really Simple SSL.
Activate it from your wp-admin


With these steps you will already have your certificate working. Since you say that it is not a site that seeks benefits and you do not have more experience, it is the simplest and free method.

10% popularity Vote Up Vote Down


 

@Barnes591

There are few steps to convert WordPress site to HTTPS.


Take a full backup of your DB and website files.
In WP admin > Settings: Change to HTTPS under WordPress Address and Site Address.
.htaccess: Do required changes to redirect front-end to https.
Images Path: You may need to change some images path. You can open full db in text file and replace yourdomain.com to yourdomain.com.

Make sure your preferred domain is same everywhere.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme