Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Am deliberately not creating it as a link.
    – random
    Commented Oct 16, 2009 at 6:21
  • Note that Google is changing the URLs. This might keep working forever, or a long time, or maybe will fail sooner than we think. See stackoverflow.com/questions/1122523/…
    – Arjan
    Commented Oct 16, 2009 at 9:58
  • 1
    I initially thought the question was about sending a link through email or whatever (having no REFERER at all), and actually I'm a bit surprised that this also still works when using ANOTHER referrer, like when linked from another site. But: you're right, it does work. I've added a safe link to Super User as an example.
    – Arjan
    Commented Oct 16, 2009 at 10:27
  • 2
    This seems to be sensitive to the query. The example query works, but for some other search queries, it still gives the results page instead of redirecting to the first result. It's not clear to me what separates the two scenarios.
    – Cheetah
    Commented Mar 12, 2013 at 14:41