RewriteEngine On RewriteBase /~NomDuWiki/ RewriteRule ^$ index.php [L] RewriteRule ^index.php$ index.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php?n=$1 [QSA,L]