Redirect to the correct hash