Plugin for YOURLS.
A simple plugin that will set the 404 header if the link ID is unknown. This was made due to the weird configs I have on my nginx install which caused nginx not to give a 404 error page but just a blank white page.
/user/plugins, create a new folder named
- Drop these files in that directory.
- Go to the Plugins administration page ( eg
http://sho.rt/admin/plugins.php) and activate the plugin.
- Add " define( 'CON_404_PAGE', '/* Path to error page from webserver root*/' ); " to config.php Example: " define( 'CON_404_PAGE', 'errorpages/404.html' ); "
- Have fun!
Released under the MIT License.
Contact and bug reports
You may contact me at me[at]1conan.com for further questions.
If you find a bug, please kindly open an issue here.