If you are unable to renew SSL for your website after expiry then this tutorial is most usefull for you because search engines will take time to change https:// to https:// so it is better to keep a redirect in .htaccess

1. Login into your FTP or Cpanel.

2. In that you will find a file named as .htaccess inside public_html

3. Right click and select edit now and add the below code to the file

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

4. After adding the above code to your .htaccess file please save it.

After completion of adding code when some one vists your site with https:// then they will be automatically redirected to https:// with out SSL site.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *