Changes url in template