change configuration to use current url