After intalling free or paid SSL certificate with your domain. If still showing your web address insecure. You need to redirect the http://(insecured) URL to https://(secured) protocol.

It is very simple to do with htaccess file. First check your public_html (root directory) of your site. If you found any .htaccess file, then open it in edit mode. If you do not find any .htaccess file then you have to create the file and then open it in edit mode.

Then just copy pest following code as it is.


<IfModule mod_rewrite.c>
### WWW & HTTPS
RewriteEngine On
# ensure www.
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# ensure https
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

### WWW & HTTPS
</IfModule>

After that you must have to check you all web pages in link url. If you find any link with http://, then change it to https://.

When entire site link updated with https:// instead of http://, Now your site is 100% ready to serve with ssl certificate secured url.

Thank you for reading this article, Please send me email if you face any trouble using this trick.