Some may speculate that Google not only indexes a URL and the content of that URL as a whole, but indexes parts of a page independently. That's not true, John Mueller of Google said twitter "We do not index parts of a page independently, we index the pages & # 39; s as a whole and try to understand the context of the content there."
We do not index parts of a page independently, we index the pages as a whole and try to understand the context of the content there. Scrolling to a part of a page when we know that's where the snippet came from makes perfect sense regardless of indexing.
– 🍌 John 🍌 (@JohnMu) August 7, 2019
This emerged when Glenn pointed to a portion of John Mueller in a Google hangout, where John said it is super rare for Google to index content after the hash in the URL. John said that Google indexes urls with a hash if it knows it leads to unique content, but it is super rare.
This is what John said:
Google ignores the URL parameters that come after hash. In other words – Google is slash category, does some characteristic have the same?
Yes. We generally ignore everything after hash.
There are two exceptions, one is the hash-bang type of the hash and then the exclamation point. That is what was used in the old AJAX crawl scheme, which we separate a bit apart and treat as unique URLs. And the other exception is for a very small number of sites that we've found that URLs with the hash lead to unique content, so it doesn't just go up and down within the page, but actually leads to unique content, and there sometimes we also index those URLs with the hash.
But that is extremely rare and that is not something I would trust. So if you use the hash
change the content of your page, I assume we will largely crawl and index the URL. If you use the hash to jump up and down in the content of your pages, that's fine. We tend to ignore everything after the hash. So things like links to the site and indexing, everything will be based on the non-hash URL. And if there are links to the hashed URL, we will fold it into the non-hash URL.
So two exceptions:
(1) The old AJAX crawl schema format, which I thought they completely stopped supporting, but maybe not?
(2) A very small number of sites that we have found that URL & # 39; s with the hash lead to unique content.
But back to Google that indexes parts of a page separately, that's not true according to John Mueller of Google. Google can show that they have indexed the # URL & # 39; s, but that is probably not what is in the Google index, but to which Google may link. Google can and has anchored searchers in parts of content earlier – it does not mean that Google has indexed that part separately, but it understands the content on the page.
Forum discussion on twitter.