How do I setup the domains limit for my shorten links?

Hello, I tried to setup the domain limit by following the domainlimit plugin. After setup, I can activate the plugin in the admin backend interface and also add domains ex. ‘facebook.com’, ‘youtube.com’ in the domains list allowed. However, when I tried to shorten the links at frontend with any other domains link which is not allowed the shorten links still go through successfully which means that my setup is not working properly!!!

Does anyone have a play with this before? Much appreciated for your thoughts and share.
Cheers,
Quang

Note:
I setup as guidance in the plugin as below

Define a list of allowed domains in your user/config.php. For example: $domainlimit_list = array( 'mydomain.com', 'otherdomain.com' );
You may also optionally specify a list of usernames that are exempt from this restriction. domainlimit_exempt_users = array( 'bobadmin' );

I think your safest bet would be to open an issue on the plugin’s repository

1 Like