#route all request
RewriteEngine On
#if directory
RewriteCond %{REQUEST_FILENAME} !-d
#if regular file
RewriteCond %{REQUEST_FILENAME} !-f
#to index.php
RewriteRule ^ index.php [L]


