let the options decide if empty prefix or not, regardless if urlRegex is used or not