Loading
06Feb 2018

0

1690

0

How to install SSL?

Knowledge Base by admin
SSL

SSL certificates are important for every site now a days. If there are login passwords and user registration on your site, the importance of SSL gets a security necessity. SSL certificates helps to encrypt your communication between browser and web server. If you are not using SSL certificate you are sending your passwords in plain text over the internet.  Anyone at ISP, your network or man in the middle if try to sniff your traffic can get the unencrypted login password.

 

At Tezhost we provide SSL certificates to all the on our shared web hosting server free of cost. SSL are installed automatically for all newly created websites within few hours. To use SSL you just need to change all the links in your website to https add a redirect from http to https in .htaccess.

 

Most of the sites and scripts like WordPress when installed are on http. To use the SSL certificate you will need to change your site links to https. So if you are using WordPress, you can do that easily from wp-admin.

 

How to change website links from HTTP to HTTPS in WordPress?

  • Login to your WordPress dashboard and navigate to Settings > General.
  • Ensure that the WordPress Address (URL) and Site Address (URL) are https. If not, add S after http to make https and save it.

 

 

Next step is to add a redirector in the hidden file .htaccess. .htaccess is available in your public_html. To make it visible you can do it form the cPanel file manager settings. Now you need to edit it and add below script in start of the file.

 

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

Now that is all, your site is now live using the SSL certificate. You will be able to see the green lock for SSL security in your browser.

 

If you are getting a warning on https it means that your site has links that are not on https. You can see in this site the user has redirected his traffic to https but his website do not have all the links with http.

https://www.screencast.com/t/uBCTGbUwwqL. To fix this you will need to change the links to https manually from code or you may need a professional developer help to fix it.

 

For more Info: web Hosting in Pakistan

Comments (0)