At Google I/O yesterday, Google clarified the types of links that Googlebot will follow. While “a href” is the standard link type, they also covered various other link types and whether Googlebot would follow them or not.
Here is the slide from the session:
Here are the full comments:
So now let’s just talk about these links quickly, because honestly, that’s some of the most important parts of the web.
How do search crawlers, like Google, find links? Well, I can’t speak for all search crawlers, but I can say at Google, we only analyze one thing – anchor tags with href attributes. That’s it.
<a href=”/good-link”>Will be crawled</a>
For example, this span here
<span onclick=”changePage(‘bad-link’)”>Not crawled</span>
that I’ve just added, won’t get crawled because it’s not an anchor.
And this additional span I’ve added
<a onclick=”changePage(‘bad-link’)”>Not crawled </a>
even though it’s an anchor, it doesn’t have an href attribute.
<a href=”/good-link” onclick=”changePage(‘good-link’)”>Will be crawled</a>
Latest posts by Jennifer Slegg (see all)
- Google: When to Choose Subdirectories vs Subdomains - May 22, 2018
- Google Sending New Wave of Mobile-First Indexing Enabled Notifications - May 17, 2018
- Google Testing Disambiguation Box for Local Packs - May 17, 2018
- Google & Optimizing for Local “Near Me” Searches in Search Results - May 16, 2018
- Removing Sitemap Files From Google Search Console - May 16, 2018