Replace prefixes with url