Remove hash from redirect.