diff --git a/.htaccess b/.htaccess index 6441c58..0355f91 100644 --- a/.htaccess +++ b/.htaccess @@ -1,13 +1,8 @@ Options +FollowSymlinks RewriteEngine On - + RewriteBase / -RewriteCond %{REQUEST_FILENAME} !index.php$ -RewriteCond %{REQUEST_FILENAME} !add.php(.*)$ -RewriteCond %{REQUEST_FILENAME} !short.php$ -RewriteCond %{REQUEST_FILENAME} !404.html$ -RewriteCond %{REQUEST_FILENAME} !asecretpassagereallysecret.php$ -RewriteCond %{REQUEST_FILENAME} !redir.php(.*)$ -RewriteCond %{REQUEST_FILENAME} !/$ +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ redir.php?name=$1 [L,R] \ No newline at end of file