Fix for URL redirection
Fix for issue 470 URL redirection.