Proof that Google bots consider CSS classes and IDs for SEO
- This topic is empty.
-
AuthorPosts
-
BrianGuest
For 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”…
JessicaGuestSo 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
RogerGuestThis page
DeborahGuestinteresting…
GloriaGuestI 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!
ArthurGuestare you sure it’s not because of something else? @SlickStack
MeganGuestIf all you had changed was an element ID, I would maybe call that convincing. But you changed your entire theme which you said has a very different DOM structure. You haven’t exactly tested an isolated variable.
JanetGuestpremium manual latency outstanding launches innovative
-
AuthorPosts