Adding nofollow tag by javascript - google still treat that link Do-follow?

haugao93

Newbie
Joined
Aug 18, 2017
Messages
46
Reaction score
3
Hi BHW,
I have a site and adding all external link nofollow tag by javascript. I have read some arctical said Google need time to render javascript code and clearly my nofollow-javascript is rendered by client-side. So by the time GG bots craw my website, they treat my external-link like do-follow link?
 
Hi BHW,
I have a site and adding all external link nofollow tag by javascript. I have read some arctical said Google need time to render javascript code and clearly my nofollow-javascript is rendered by client-side. So by the time GG bots craw my website, they treat my external-link like do-follow link?
I think it was mentioned in the Javascript guidelines by Google that you should have your links in the HTML source code.
 
I think it was mentioned in the Javascript guidelines by Google that you should have your links in the HTML source code.
For some reason, i have to use javascript to add nofollow tag for my external link. If GG bot can't craw my javascript code so my external link still be do-follow tag and passing link juice away?
 
It may consider it nofollow or it may not. Googlebot first takes the html content of the page, and the indexer may do some easy javascript rendering. So if your javascript is straight out javascript (not jQuery), it may work out. If it's harder to computer javascript, the indexer will do it when it has time. But at that moment, if some links were already there in HTML with ********, then it may stay like that. But who knows.
Why is it so important to have it nofollow?
 
It may consider it nofollow or it may not. Googlebot first takes the html content of the page, and the indexer may do some easy javascript rendering. So if your javascript is straight out javascript (not jQuery), it may work out. If it's harder to computer javascript, the indexer will do it when it has time. But at that moment, if some links were already there in HTML with ********, then it may stay like that. But who knows.
Why is it so important to have it nofollow?
cause my site is a affiliate site, there are many external-links so i want it stay no-follow
 
Back
Top