This plugin limits the number of characters allowed for the custom keyword.
####Instructions:
Copy the 'limit-keyword-length' folder to user/plugins/.
If needed, edit the value of $max_keyword_length in the plugin.php file.
Activate the plugin in the YOURLS admin interface.
That's it.