Improve validation of URL alias field