<IfModule mod_rewrite.c>
    RewriteEngine On
    Options All -Indexes

    # ROUTER WWW Redirect.
    #RewriteCond %{HTTP_HOST} !^www\. [NC]
    #RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    #RewriteRule ^ http://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

    #RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteRule . index.php [L]
</IfModule>