How to redirect http to https

If you’ve got a secure certificate (SSL) on your hosting, you’ll be able to redirect HTTP to HTTPS. to the secured (HTTPS) version of your website to secure their data.

as you know PAIDBOOM offers Free SSL Certificate with each hosting plans offered, It doesn’t require you to pay again to issue SSL certificate nor to redirect http to https.

There are 2 easy methods to redirect HTTP to HTTPS:

  1. WordPress Plugin 
  2. htaccess 

Make sure, you have issued the SSL Certificate onto your domain name in your PaidBoom cPanel.

Read this: How to install SSL Certificate on PaidBoom Cpanel

let begin with the WordPress plugin

  • How to redirect http to https in wordpress 

The one simple way which can redirect your WordPress website from HTTP to HTTPS. Really Simple SSL plugin automatically detects your settings and configures your website to run over HTTPS.

How to setup SETUP:
  • Get an SSL certificate (PaidBoom offers free already, just follow installation guide mention above)
  • Login to your WordPress
  • Head over to plugins >> add new.
  • Search “Really simple SSL” 
  • Install & Activate the plugin
  • As soon as the plugin installed, you will see “Go ahead and activate the SSL” button, click on it.
  • That’s it.

Screenshots for reference:

  1. install really simple ssl
  2. activate really simple ssl plugin

 

How to redirect http to https via htaccess 

You may wonder, How to redirect HTTP to HTTPS if you use custom CMS, static website or wouldn’t want to use a WordPress plugin. The answer is, Yes. you can redirect HTTP to HTTPS via htaccess file.

  • Login to your cPanel
  • files manager > public_html > .htaccess file > edit.
  • add the following code into your htaccess file > save changes.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R,L]

Please replace ‘mydomain.com’ with your valid domain name.  If you have queries, please comment below

If there is no htaccess file in your public_html directory. Please follow the guide below: Login to your Cpanel >> files manager >> public_html >> there you will be able see setting icon top of corner >> click on it >> check-in show hidden file >> save settings

Default image
Paidboom
Host your sites faster than an exploding bullet
Articles: 14

2 Comments

Leave a Reply