RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
#RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
#RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

# force ssl
RewriteCond     %{SERVER_PORT} ^80$
RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit
 # php -- END cPanel-generated handler, do not edit# php -- BEGIN cPanel-generated handler, do not edit# Set the “ea-php74” package as the default “PHP” programming language.<IfModule mime_module>  AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml</IfModule># php -- END cPanel-generated handler, do not edit