change relative url to hash url