How to enable SSL in Concrete5

Overview on how to enable the use of SSL on your Concrete5 website

The use of SSL is always a good idea as it will improve the security for transactions through your website and protect your users. Not to mention that the actual use of SSL always looks more professional in front of your users. 


This is the reason why we suggest the use of such an SSL certificate on your domain and website.


Step 1Get SSL certificate

The first step is to purchase a dedicated SSL certificate for your domain. If you are an existing FastComet customer, you can purchase such a certificate via your Client Area. The process is entirely completed by our support team so you do not need to make any changes on your end.


Step 2 Force SSL use

The next step is to force the use of SSL on your Concrete5 website. To achieve that, you need to access your cPanel account first. Locate the Files tab and click on the File Manager service.


Access file manager in cPanel


In the pop-up window, you need to select the Home Directory and Show Hidden Files (dotfiles) options. Then click on the Go button to proceed.


File manager options in cPanel


Navigate to the directory of your Concrete5 installation. In our case, this is the public_html/ directory. In there, you will notice a file called .htaccess (create it if there is no such a file). Select it and then click on the Edit button at the top-menu.


Edit files in file manager


At the top of the file, you need to include the following code:


RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule^(.*)$$1 [R,L] 


In the example code above, you need to change with your actual domain name. Once done, simply click on the Save Changes button at the top-right corner of the screen to keep the changes. Now, once you access your website, you will be automatically redirected to the secured https protocol.