remove params from url in canonicalize_url