RewriteEngine on RewriteCond %{REQUEST_URI} !^ecrire/ RewriteRule ^([^\.]+)$ index.php?$1 [QSA,L]