Update goToURL to work with domains and user/location

If the path starts with # or @ it's a location or user, respectively,
otherwise it is a domain.