tomslominski / yourls-redirect-index

This plugin allows you to redirect the user to another site if they go to the base directory of your YOURLS installation.
Other
29 stars 3 forks source link

Stop inexistent short URLs from being redirected #2

Open tomslominski opened 8 years ago

tomslominski commented 8 years ago

Redirections happen in yourls-loader.php and then yourls-go.php around line 10. Check if code 301 in index.php and don't redirect if so.

strarsis commented 2 years ago

@tomslominski: Is this still an issue with the latest version of this plugin?

vitorio commented 3 months ago

I did experience this behavior with the current version of the plugin, and fixed it for my own install like this: https://github.com/vitorio/yourls-redirect-index/commit/9c3dbb16444a505addeb0f858fadb4c4ef891521