Hey all.... I wanted to know what you all recommend for this. Basically I use affiliate links to my web site so I can track users coming from various sources. For example a link on a particular site might be: http://www.mysite.com/?aff=1 Now I literally have hundreds of these around the place... they even get indexed in Google... anyone know how to remove them all? The issue is with those links the link juice goes to those URLs not my main domain http://www.mysite.com Surely this is something people experience? Is it something people care about?
I don't think you can remove it with out time. After time goes by, and if the site is down, I think googles crawler will take you out. YOu might want to check your google account console and look into your webmaster tools. I think there is something in there related to what your looking for.
Yes I was thinking that but does anyone know how to do it for all of them with one command rather than having to have a command for each one. I have dozens of ref links. The issue though then though will be that ref link value doesn't get passed through to my site... if you know what I mean. I can remove those links from Google using robots.txt like this: User-agent: * Disallow: *aff=*
Well as much work as redirecting all these links would be it's the only way I can think of to pass the juice to where you want. If you block the spiders than that will block both the pages and the juice Plus what's indexed now is there to stay unless you first take the pages offline and then submit requests to remove them from the results, THEN put them back up with the no follow stuff. I'd also worry about having so many damn pages excluded although it's more of a hunch. Ken
Im not worried about excluded pages with affiliate links on them... I dont want them in the index. I also remove adwords links with gclid in them.
"but does anyone know how to do it for all of them with one command rather than having to have a command for each one." I suggest you search on google for "redirect match" command. I think that you can use to redirect all links to the main domain with only few line of code.
Have the same problem with one of my sites. But I hope the affiliate links add strength to the entire domain.