.htaccess 266 Bytes
Newer Older
1 2 3 4 5 6 7
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ index.php?page=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
Marianne's avatar
Marianne committed
8
RewriteCond %{REQUEST_FILENAME} !-d
Antoine-Gelgon's avatar
Antoine-Gelgon committed
9
RewriteRule ^([^/]+)/([^/]+)$ index.php?page=$1&var=$2 [L]