make the url be in the query and not in the hash