only apply url_param to urls if its present in the current url