<IfModule mod_rewrite.c>
    RewriteEngine On
    Options +FollowSymLinks -Indexes

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

#Redirect semua url https
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#Redirect semua url halaman dngn www agar session bisa  untuk semua halaman
RewriteCond %{HTTP_HOST} ^gamejoz\.com$
RewriteRule (.*) http://www.gamejoz.com/$1 [R=301,L]
