104

This Google search:

site:stackoverflow.com "T[]"

comes up with absolute garbage; it isn't clear why these things are hosted on a stackoverflow.com subdomain to begin with, since they have nothing to do with programming (they aren't even on-topic as paid advertisements). They certainly shouldn't be appearing in search listings (above real Q&A content, no less).

Enter image description here

Please set up robots.txt or the modern equivalent to turn indexers/crawlers away from rads.stackoverflow.com.

9
  • 3
    As a workaround you can add -rads to the search for now. Commented Nov 25, 2014 at 18:07
  • 9
    Apologies for the infinite noobness, but what does googling a site with "T[]" return?
    – user796658
    Commented Nov 26, 2014 at 0:02
  • 4
    Well, return types shall not be arrays, so that search would be ill-formed.
    – Kerrek SB
    Commented Nov 26, 2014 at 1:02
  • 7
    To search for special characters on SO you should probably use a search engine that doesn't strip them from your search terms. I'd suggest symbolhound.com which was created by another SO user and indexes the SE network or at least SO.
    – l4mpi
    Commented Nov 26, 2014 at 9:45
  • 1
    I tried this today, and get a perfect selection, e.g. "how to get class instance of generics type T - Stack Overflow" Commented Nov 26, 2014 at 15:17
  • @DieterMenne: Must be geolocation-driven, the link in my question gives the same garbage results today.
    – Ben Voigt
    Commented Nov 26, 2014 at 15:20
  • 1
    @l4mpi: The exact search is really beside the point. StackOverflow should not be making proxied pages available for crawling.
    – Ben Voigt
    Commented Nov 26, 2014 at 15:21
  • @BenVoigt I wasn't really addressing your point and I agree that the pages should not be indexed; I simply wanted to suggest a better and little-known alternative for search terms like this.
    – l4mpi
    Commented Nov 26, 2014 at 15:26
  • 1
    .. a symbol-aware search such as Stack Overflow's own, perhaps? Google may be capable of returning everything from A to Z but sometimes you need a bit more.
    – Jongware
    Commented Nov 26, 2014 at 22:18

2 Answers 2

38

rads.stackoverflow.com is the rewritten URL for a link to Amazon.

If one takes the URL http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882 and pastes it into a post with a nice name you get: clean code which is actually the link http://rads.stackoverflow.com/amzn/click/0132350882 once the Markdown parser gets through with it.

Look closely at that URL and you will see that its been rewritten to go through Stack Exchange's affiliate program. This program likely predates Stack Exchange. Changing the URL when other sites were created would have been a mess. So, it's in Stack Overflow's domain.

But yes, robots crawling it is likely an oversight.

5
  • 6
    Yes, I figured it was a forwarder adding the affiliate ID. But proxy/forwarder/whatever shouldn't be eligible for inclusion in search results. To be honest, I think they ought to be nofollow as well.
    – Ben Voigt
    Commented Nov 25, 2014 at 2:43
  • 20
    Google policies recommend using rel="nofollow" on affiliate links, so yes, they definitely should @BenVoigt.
    – nhinkle
    Commented Nov 25, 2014 at 17:53
  • Rel='nofollow' will make them go away on Google after a week or two Commented Nov 26, 2014 at 15:03
  • 1
    It's the poster's responsibility to make sure that this doesn't happen. One way is to replace amazon.com with smile.amazon.com.
    – gparyani
    Commented Nov 27, 2014 at 21:55
  • @damryfbfnetsi the poster is doing the right thing by posting a proper, simple link to Amazon. It helps stack exchange by allowing them to rewrite it into the affiliate program and make a few cents off of a purchase (if there is one) and helps keep the lights on at Stack Exchange. The problem is that part of the automated systems that work within Stack Exchange have overlooked google crawling it and what that does to search results. That needs to get fixed. But its good that Stack Exchange does this otherwise.
    – user289086
    Commented Nov 28, 2014 at 0:03
5

As Ben mentioned, this must be some geolocation problem. From Germany, I see this:

T stack

Cannot be better.

1
  • 2
    Now go to the next page, etc. The rads results are not on page 1. Commented Nov 27, 2014 at 21:26

You must log in to answer this question.

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