Don't redirect to unique url when the url is undefined