<IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ router.php?req=$1 [L,QSA] RewriteRule ^$ router.php?req=$1 [L,QSA] </IfModule>
info at phpclasses dot org