example.com/exam/anything example.com/anything
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /admin/index.php?$1 [L]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)