Like suggested elsewhere, you can drag the search text from the URL bar into some plain text view. However, one can also directly drag it into a (rich text) email or chat message. Or into Google's search field which is conveniently close to Safari's location bar:
(In previous versions, you could drag the magnifying glass icon; in 2016 versions just drag the search text like shown above.)
After dragging into Google's search field, the additional search text is already selected and focussed, ready for Command+C:
(In earlier versions, Safari's location bar will still have focus, and the URL in Google's search input will be gray, not blue. In those versions one could first hit Tab after searching to go into Google's search field, hit Delete to clear it, and then drag the icon. After that, the search field is ready for Command+C as well.)
The Share button to the right of the location bar can also share the URL, but probably only when messaging has been configured:
As an aside: the Google URLs include a lot of irrelevant things, specific to your browser, language, etc. Often, it's enough to use www.google.com#q=elvis+is+alive, or for image search www.google.com#tbm=isch&q=elvis+is+alive, but then one needs to change the spaces into plus-characters to ensure it's clickable. (And one also needs to percent-encode other special characters.) It would be nice if Google would provide some bare sharing link on its own site.
Copy the URL that gives you trouble and paste it into the address bar. You said that pasting the URL directly works. Does it for that URL?
From there on you can try to reach that server by using the ping
command in terminal. You can see if the DNS is properly resolved to an IP and also if any connections are blocked to that IP.
traceroute <host>
might also give you a hint on what is going wrong.
Best Answer
The Safari Keyword Search extension can help you define new search engines to be used by Safari. It can also change the default search engine Safari is using. You could then use it to put the Google search URL as the default search.
See the instructions on the extension website.