changed url to originalUrl

I think the intention should be to redirect correctly even when the
original url is prefixed