Knowledgebase
Force HTTPS/SSL for website visitors Print this Article
Once you've installed an SSL certificate for your website, it's likely that you'll want all of your website visitors to access your website through a secure HTTPS connection.
You can force an HTTPS connection by inserting the following code into the .htaccess file of your website's root directory:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Was this answer helpful?
Related Articles
Uploading your website with FTP
FTP (File Transfer Protocol) allows you to manage website files through an FTP client, such as...
FTP (File Transfer Protocol) allows you to manage website files through an FTP client, such as...
Migrating from WordPress.com to Jolly Leaf WordPress self-hosting
Many beginners often start with WordPress.com and soon realise the limitations of hosting their...
Many beginners often start with WordPress.com and soon realise the limitations of hosting their...
Connecting to FTP with FileZilla
There are many FTP clients out there. Jolly Leaf recommends FileZilla - a free of charge FTP...
There are many FTP clients out there. Jolly Leaf recommends FileZilla - a free of charge FTP...
Uploading my website's files
Once your Jolly Leaf web hosting account is setup, the next step will be uploading your...
Once your Jolly Leaf web hosting account is setup, the next step will be uploading your...
Changing cPanel password
You can effortlessly change your cPanel password via the Jolly Leaf Tree House, or via cPanel...
You can effortlessly change your cPanel password via the Jolly Leaf Tree House, or via cPanel...
Powered by WHMCompleteSolution