There is only a single short url that works

So I’ve been at this for a few days now, I cannot seem to get any URL on my installation to work, but for some reason, the redirect to works. None of the other default urls work, only the sho.rt/yourls.
My .htaccess was retrieved from this GitHub page and is as follows:

RewriteEngine On
RewriteBase /s/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /s/yourls-loader.php [L]

I’m absolutely stumped because I’ve quadruple checked the config.php as well. Any help would be appreciated.

The .htaccess is correct, so the problem is elsewhere.
“None of the other default urls work” is vague (what’s not “working”: no redirection? blank page? server error? redirection to somewhere unexpected?)

I figured it out. I was getting 404 errors, and Apache was disregarding my virtual host redirect preferences. I ended up just enabling it in the root config

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.