Adds hash to redirection for IE.