Fix not overwriting the redicted port

A small fix since the don't redirect option was not overwriting the post, only the host.