SSL Installation
After when you have got SSL installed by your hosting company, Just follow the steps below to ensure that SSL is working fine with our script:
01. Login to your hosting cpanel
02. Go to public_html or root of your website
03. Edit the file .htaccess and replace the existing code with 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 work with linux based servers, For windows or other operating systems you need to contact your hosting provider.