Installing SSL
Once your host has installed SSL, follow the steps below to ensure SSL works correctly with our script:
01. Log in to your hosting cPanel.
02. Navigate to “public_html” or the root of your website.
03. Edit the “.htaccess” file and replace the existing code with the code below:
RewriteEngine on
ExpiresActive On
ExpiresDefault A2592000
RewriteCond %{SERVER_PORT} 80
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond $1 !^(index\.php|images|public|assets|uploads|themes|install|updates|asset|mob|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
Note: This configuration only works with Linux servers. For Windows or other operating systems, you must contact your hosting provider.