0

Often when I try to paste a link from google search into a document, I get a very long link that looks like it contains referring information. How do I get to the simple link, as if I went to the site directly?

Update: I am specifically referring to a case in which I will click on a link to a PDF, it will open in Acrobat Reader, and I will be unable to see the actual URL to which it is pointing. Am I able to see the location at all?

3
  • 1
    Go to the site directly and copy that url? Mar 30, 2011 at 20:38
  • See Update above Mar 31, 2011 at 3:15
  • Chrome Browser doesnt do this with their own links for search results. Havent found a solution that works for Firefox in 2022: softwarerecs.stackexchange.com/a/84141/30586
    – alchemy
    Sep 29, 2022 at 18:42

2 Answers 2

1

You don't.

The link in google is a link to a google page. That page then auto-redirects to the real page.

The best you could do is to visit the page by clicking on the link then copying the URL from the address bar at the top of the browser.

The only other thing you can do is to parse the url parameter in the string of data that is in the google URL.

...blahblahblah&url=http%3A%2F%2Fwww.example.com%2Ftesting%2Ffoo.html&blahblahblah...

The bit between the url= and the & is the url-encoded URL of the destination site. Replace all %2F's with / and %3A's with : (they're actually the hexadecimal representation of the ASCII characters / and :) and you get the cleaned up URL - http://www.example.com/testing/foo.html in the case above.

2
-1

You can use a URL shortner, like bit.ly or a similar service. If you are using Microsoft Word or similar you can insert a hyperlink, and give the link a display title, rather than showing the full URL.

1
  • Using an URL shortener to counter the URL lenghtener isn't really a proper solution… You still don't get the original link.
    – gronostaj
    Sep 29, 2022 at 18:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .