switches url