Forum Moderators: martinibuster
Javascript, unless it is encrypted, is still followed by Google. They've been doing this for a couple of years now.
However, if you want to make SURE that the target page is not indexed, you may also want to add that page to the robots.txt or add a noindex meta tag to the target page.
filter googlebot with HTTP_USER_AGENT golbal :
if NOT spider show the active outbound link so users can click it
if spider don't show the link (or just show the text of the link without href)
(I'm trying to get goolebot not to follow some of the links. I think what I have described above it's called cloaking and google doesn't approve of that...but it's not done to influence the serp's with pages stuffed with keywords....)
I'm showing the users one page and googlebot a different page so....I want to know if google will penalize me fot this.
Thank you!
use rel=nofollow attribute in the href tag of the link you don't want followed.
That's not the way I understand the rel="nofollow" attribute. In fact, I thought it was a poor choice of name because what it really means is "I don't vouch for this link" -- or in GoogleSpeak, don't transfer any PageRank here.
But as for following the link, or spidering to see if the url resolves and adding it to the index? No search engine I know of ever said they won't actually follow or index the target url when it has a rel="nofollow" attribute. Just that the link will not help the target page to rank well.