Options -Indexes RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} !/system\.php [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/][a-zA-Z0-9./]+)$ system.php?id=$1 [L]