Swapping baseurl and url