RewriteEngine On

            Options All -Indexes

            

            ## ROUTER WWW Redirect.

            RewriteCond %{HTTP_HOST} !^www\. [NC]

            RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            

            ## ROUTER HTTPS Redirect

            RewriteCond %{HTTP:X-Forwarded-Proto} !https

            RewriteCond %{HTTPS} off

            RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            

            # ROUTER URL Rewrite

            RewriteCond %{SCRIPT_FILENAME} !-f

            RewriteCond %{SCRIPT_FILENAME} !-d

            RewriteRule ^(.*)$ index.php?route=/$1 [L,QSA]

            

            # 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 .php .php7 .phtml

            </IfModule>

            # php -- END cPanel-generated handler, do not edit

            