R rhnkmr Regular Member Joined Oct 16, 2012 Messages 394 Reaction score 45 Jan 25, 2013 #1 I have affiliate links on my site pages and don't want Google to index them so please tell me how to set no-index for a external link on a page.
I have affiliate links on my site pages and don't want Google to index them so please tell me how to set no-index for a external link on a page.
rettaibi Regular Member Joined Jun 25, 2012 Messages 475 Reaction score 837 Jan 25, 2013 #2 I guess it was Code: rel="nofollow" you should place it like this Code: <a href="youraffilitatelink.com" rel="nofollow">tekst</a>
I guess it was Code: rel="nofollow" you should place it like this Code: <a href="youraffilitatelink.com" rel="nofollow">tekst</a>
Glenn BH Regular Member Joined Nov 10, 2010 Messages 324 Reaction score 274 Jan 25, 2013 #3 If you don't allow Google to follow your affiliate links, it won't index them. How do you use your affiliate links? Do you use directories, like http://yoursite.com/out/affiliated-site/? If so, you can update your robots.txt file with the following: Code: User-agent: * Disallow: /out/ Where '/out/' is your directory's name. If you use simple affiliate links, you can use the rel="nofollow" tag in your links. Code: <a href="http://affiliateurl.com/my-damn-ugly-affiliate-link/58765/8724" rel="nofollow">LINK</a>
If you don't allow Google to follow your affiliate links, it won't index them. How do you use your affiliate links? Do you use directories, like http://yoursite.com/out/affiliated-site/? If so, you can update your robots.txt file with the following: Code: User-agent: * Disallow: /out/ Where '/out/' is your directory's name. If you use simple affiliate links, you can use the rel="nofollow" tag in your links. Code: <a href="http://affiliateurl.com/my-damn-ugly-affiliate-link/58765/8724" rel="nofollow">LINK</a>