/YourlsWhitelistDomains

Plugin for Yourls : IP blacklisting

Primary LanguagePHP

YourlsWhiteListDomains

Plugin for Yourls allowing only whitelisted domains

This plugin is intended to be used with YOURLS (cf. http://yourls.org)

It has been tested on YOURLS v1.5 and v1.5.1

Current version is 1.0

INSTALL :

  • In /user/plugins, create a new folder named whitelist-domains
  • In this new directory, copy the plugin.php file from this repository
  • Go to the Plugins administration page and activate the plugin

You will see in the admin section a new admin page where you can add the domain addresses to the whitelist.

Enter one domain in each line, please, remove the www when adding a new domain, the code works on both.

Thanks to https://github.com/LudoBoggio for the YourlsBlacklistIPs which was the base for this one:

https://github.com/LudoBoggio/YourlsBlacklistIPs