Proof that Google bots consider CSS classes and IDs for SEO
- This topic is empty.
- You must be logged in to reply to this topic.
May 2024 only! Join our Discord free of charge.
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”…
So 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
This page
interesting…
I 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!
are you sure it’s not because of something else? @SlickStack
If 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.
Friends, the time has come for us to ask for your financial support. After 5+ years of (growing) expenses, and taking time away from consulting and services, we must start generating donations in order to continue this level of rapid project development. Please consider donating, so that we can keep SlickStack free and open source. Thank you! 🙏 😍
We champion core values like free speech, transparency, and portability, and welcome anyone else who does too.
Here is a non-exhaustive list of plugins, themes, and other services that we recommend checking out.
Every stack script and server deployment platform is a bit different, so check to see how SlickStack compares.
Subscribe to our free newsletter to receive occassional updates, we respect your privacy and do not sell your information.
Here’s some of the incredible performance features you can expect after launching your SlickStack cloud VPS.
If you are wondering what specific problems SlickStack can help solve, browse some of the solutions below.
In lieu of donations, please show your support by mentioning SlickStack on your blog or write a review. Thank you!