How To Ensure Your Visitors Use The Dedicated SSL

Dedicated SSL

When your visitors are submitting personal and sensitive information on your website it is necessary to make them use a SSL encrypted connection. A SSL encrypted connection ensures that the sensitive data that is being submitted on a website goes through a secure encrypted route which cannot be read by anyone except the party that you are submitting the information to. If you need help, using a SSL encrypted connection that BodHost offers to our shared hosting customers then please read our article on “forcing your visitors to use the shared ssl”.

To force your visitors to use a SSL you need to make some modifications to your .htaccess file using mod_rewrite.

To ensure all your website traffic uses HTTPS insert the following lines of code in the .htaccess file in your website’s root folder.

Important: If you have any existing code in your .hatches file, add this code above that code where there are already rules with a similar starting prefix.

Make sure to replace www.yourdomain.com with your actual domain name.

To ensure a specific domain uses HTTPS, enter the following lines of code in the .htaccess file in your website’s root folder

In the code above, make sure you replace example\.com with the domain name you are trying to force to use https. You also need to replace www.yourdomain.com with your actual domain name.

If you want to force visitors to use an SSL encryption on a specific folder then simply insert the code below into a .htaccess file placed in that specific folder:

In the above code make sure you change the folder reference to the actual folder name. Then make sure to replace www.yourdomain.com/folder with your actual domain name and the folder you want to establish the SSL on. If you need further help, please feel free to contact our support on our website.

This entry was posted in Dedicated Website Hosting and tagged , . Bookmark the permalink.