Pass substitutions and add an extra slash for a URL.