Welcome to WebmasterWorld Guest from 35.173.47.43

Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

"Button" is followed by google and considered for serp?

     
3:36 pm on Jun 28, 2015 (gmt 0)

New User

joined:June 28, 2015
posts: 1
votes: 0


Hello

consider this link

<button onclick="window.location.href='http://www.newsite.com">Let's go to the newsite.com</button>

will this link be followed by google and the related backlink considered for serp scoring?

Thanks
11:31 pm on June 28, 2015 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month

joined:Sept 14, 2011
posts:1045
votes: 132


Google reads javascript so the link will count to your site but the backlinks won't pass over.
1:11 pm on June 29, 2015 (gmt 0)

Full Member

10+ Year Member Top Contributors Of The Month

joined:June 3, 2005
posts:298
votes: 12


"Button" is followed by google and considered for serp?

No not really as part of form submission - unless possibly like in your "muddy" example you have attached an onclick with an absolute URL. But <button>'s are really for forms and Google will know this and may avoid following IMO.

Google reads javascript so the link will count to your site but the backlinks won't pass over.
Supposedly according to Google, but can you prove this on a both a absolute URL and a relative URL? My guesstimate is only the absolute will get indexed if at all. If the JavaScript was contained externally instead inline may also hinder following.

The answer to the question will most likely be nobody knows if it currently does get indexed/followed, but I would make sure you are prepared for the future possibility! (or the current impossibility!).
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members