Forum Moderators: open

Message Too Old, No Replies

CSS Linking Observation and Question

Will GoogleBot following links with the class attribute?

         

hiker_jjw

7:23 pm on Oct 15, 2002 (gmt 0)



I seem to have picked up on a strange observation and wondered if I'm just imagining things, or if others have seen the same thing. I was working on a web site that had some text links that used class attributes (styles).

For example:
<a class="SideLinks" href="">text</a>
The class="" referred to a class style and not an element.

I noticed during one month that GoogleBot did not follow these links at all! The next month I removed the style reference and GoogleBot followed it.

Question(s):
It could be pure speculation, but does GoogleBot "not like" links with a class attribute? Could this be considered "spam"?

Thanks.

deejay

7:52 pm on Oct 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd put it down to koinkydink.

A couple of my sites have every link on them with class attribute.... Google eats em up just fine. :)

jaytierney

9:04 pm on Oct 15, 2002 (gmt 0)

10+ Year Member



Yes, they still count those links. As general advice to all people asking questions about links: it takes two months (or major updates) for links to count in Google.

Nick_W

9:12 pm on Oct 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, I've found that jtiernny!

Google doesn't read CSS so why sould it be span? Of course it could be, but G doesn't know that. It's a valid html/xhtml attr. for most tags...

Nick