create the url correctly.