If you have a secure socket layer certificate (SSL) on your website, you can automatically redirect visitors to the secured (HTTPS) version of your site for a secure connection. Coder Drop hosting uses cPanel and there is a simple tool in cPanel that will help you accomplish this.
Enforcing SSL for main domain / Startup Hosting:
Your domain should now be using HTTPS.
Enforcing SSL for Addon domains:
Linux uses .htaccess files to handle redirection.
You may need to create a .htaccess file, and you can use your control panel's File Manager.
Using the following code in your .htaccess file automatically redirects visitors to the HTTPS version of your site:
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
If you have an existing .htaccess file:
Have more quires? Chat with an Expert, or Submit Ticket to get in touch.