encode url before hashing