RewriteEngine on RewriteRule ^admin/([a-z-]+)$ admin.php?lang=$1 [L,QSA]