Proof that Google bots consider CSS classes and IDs for SEO
- This topic is empty.
-
AuthorPosts
-
Brian
GuestFor the last several months (1+ year maybe) SlickStack.io had the page
/install
linked in the menu using the phrase “Install Guide”However, our site links and the page title in SERPs was always “Installation” which is the same as the
h1
tag on that page… in order words, Google disregarded the menu anchor text.Then suddenly a few days after we changed to our new HoverCraft theme, which has better DOM structure and CSS classes, the site link is now “Install Guide”…
Jessica
GuestSo this is pretty much as good proof as ever that Google bots do consider the CSS classes and IDs in your DOM elements for some things…
In this case it seems having an above-the-fold CSS class with the word “menu” in it had a big effect, even though our mobile menu is not functional yet
Roger
GuestThis page
Deborah
Guestinteresting…
Gloria
GuestI have wondered about this for a long time, usually I try to choose logical CSS ID but wasn’t sure it was understood by Google!
Arthur
Guestare you sure it’s not because of something else? @SlickStack
-
AuthorPosts