__________ APACHE .htaccess file __________ RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /yourls-loader.php [L] ___________ "Translated with http://winginx.com/en/htaccess _____________ location / { if (!-e $request_filename) #<---- BAD IF STATEMENT { rewrite ^(.*)$ /yourls-loader.php break; } }