Clear the url portion of codebase using a preferred method