I have read the post about how nofollow
value impacts on crawlers/indexing. However the information from the post answers end on 2012.
In my case, a have a file page that is indexed by Google. On this page, however, there's a download link (ending with ?download). I am not sure, whether the link was index as well but I would really like to know this: how can I make sure a link on a page doesn't get indexed and followed?
Do I use the robots.txt file and pass something like this? --
Disallow: /*?download$
Or do I simply put rel="nofollow"
on the download link?
Also, what do I do about the potentially already-indexed download links?
Thanks!
UPDATE:
According to Google's nofollow
docs:
In general, we don't follow them. This means that Google does not transfer PageRank or anchor text across these links. Essentially, using nofollow causes us to drop the target links from our overall graph of the web. However, the target pages may still appear in our index if other sites link to them without using nofollow, or if the URLs are submitted to Google in a Sitemap.
So, I suppose that stating that the "pages may still appear in our index" suggests that the links using nofollow
are generally not being indexed - with exceptions mentioned in the docs.
I think that kind of settles it, but if anyone has extra information to back this, feel welcome.
?download
if it ends up being a 404? That isn't good for Google and it isn't going to be good for users either.