Force HTTPS Redirect on WordPress websites via plugin or htaccess edit
How to Force HTTPS Redirect on WordPress websites via plugin or htaccess edit???
This tutorial will talk about how you can force an http url to https. This means that you can make your website secure and have the installation of SSL to be effective.
Some of the SSL sertificate are free and you can see them in your hosting provider. If they offer a free SSL then it will be a very easy job. Others also like WpEngine like my clients use, the SSL is provided by them and even if you have a paid ssl for your domain. You will still need to follow the steps on how to set-up in their hosting.
HOW TO HAVE “HTTPS” ON MY SITE?
So this is the first question that will going to have in your mind. This is basically a purchased SSL certificate or a free SSL certificate. If you purchase an SSL then you need to activate it in one of your domain name. And after that you will check if it will going to be accessible in https://yoursite.com.
So once you have installed or activated the SSL certificate on your domain you need to force every link to be secure “https” so that you will not going to have mix content on your site and it will be not secure.
STEPS TO FORCE HTTPS ON YOUR SITE:
Download and install Really Simple SSL plugin for your website and make sure that the SSL is already activated on your namecheap or any domain providers that you used.
After activating the plugin you need to check in the Setting then in the SSL dropdown. After clicking that options you will have an activate SSL button. You can press it and activate. It will going to log you out of the site. Go ahead and login back. And check everything if all is fix then you are good to go. Proceed in step 3 if you still has problem.
In this step we will going to use a different plugin and the name is Better Search Replace. This has a very easy steps also and this plugin will change the database of your site.
After activating the plugin, go to Tools then look for better search replace option.
So if you are in the setting of better search replace you will saw this image bellow so (1) will be http://wpgio.com/ which means the url is not sercure it is in “http”. (2) second box you will going to provide the url of the https://www.wpgio.com/ which means that it is now secure… SO first you put what the plugin will search for and second you will put the url that will going to replace the URL. (3) this is a box which you will going to highlight everything in the tables that will going to be updated.
(4) this is the option in which you will going to check the process if how much tables will going to be updated. If this is uncheck then the tables will be change.
(5) this is the button to fire the process.
If you like this post please do let me know by sharing your ideas below. And how did you Force HTTPS Redirect on WordPress websites via plugin or htaccess edit???