Welcome to WebmasterWorld Guest from 50.16.24.12

Google does index Javascript

   
7:31 pm on Aug 21, 2007 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



For some specific reason I wanted to block google from indexing the text links on my page and was told to convert the html to Javascript.
However, when I googled the text my site did show up and when you check the cached version there was a highlight on the text!

Any explanation for that?

8:47 pm on Aug 21, 2007 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



they've been looking at javascript for ages. they even seem to follow the links contained in it.
if you really want to hide it then i would do something like this... put the javscript inside a function in an external file, and then just call the function from your page. or call the function when the page loads or something like that - then you won't even need to include the
<script> </script>
11:39 pm on Aug 21, 2007 (gmt 0)

5+ Year Member



They look at the code and try to find links, they just don't run the code like a browser would.

I'd imagine its not passing any link juice and thus wouldn't get you in trouble if it was a bad neighborhood, sold, advertisement etc.

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month