Change url prefix behaviour on prepare request.