|ColtonDRG cb262d5dbd||3 years ago|
|LICENSE||5 years ago|
|README.md||3 years ago|
|extend_loader_failed.php.example||3 years ago|
|plugin.php||3 years ago|
This plugin will throw the 404 header and serve the contents of user/404.html for shorturls that don’t exist.
This is forked and modified from https://github.com/1Conan/404-redirect-YOURLS to better suit the use on drg.li
git clone https://github.com/drgli/404-redirect-yourls.git 404
If you enable other plugins that trigger custom actions (like QR plugins and link information plugins) you may see 404 errors instead of the page when trying to use those plugins. To fix this, copy the
in the user directory of your YOURLS install and copy the
yourls_add_action( 'loader_failed', '...' ) line from the plugin.php of the plugin in question into that file.
Released under the MIT License.