Reputation: 4695
Say I don't want Google to follow my links, or even notice them as links, will simply replacing the a href with an onclick location suffice?
Does Google still treat onclick location as a link? Or do they ignore it?
Upvotes: 0
Views: 242
Reputation: 4528
rel="nofollow"
will prevent google from using it in their pagerank algorithm, but won't prevent them from following the link. To prevent them from accessing content on your site you should use robots.txt.
Upvotes: 1
Reputation: 7380
rel="nofollow"
will do it. Google treats that right and won´t follow the link. But noticing isn´t suppressed with that solution. Perhaps don´t post it as a link... even JS will do a good job I think.
Upvotes: 2