Identify and address Google search and Dataset search issues
@amoeba đang làm issue này rồi.
Từ ngày 11/8/2021.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Being comprehensively indexed by search engines such as Google is a substantial benefit for DataONE and DataONE Members. Ideally, the whole variety of information (datasets, people, portals, metrics, etc.) housed within DataONE would be findable through traditional search engines and, for datasets, also Google Dataset Search.
As of 2021, our primary tool for knowing whether or not we are comprehensively indexed is the Google Search Console which provides a whole suite of tools for diagnosing issues.
Some of the problems we've addressed in the past include:
- Improve MetacatUI's mobile support (https://github.com/NCEAS/metacatui/issues?q=is%3Aissue+is%3Aclosed+mobile)
- This is important because Googlebot uses a mobile UA and penalized non-mobile-friendly pages
- We now publish sitemaps on the CNs and MNs https://github.com/NCEAS/metacat/issues/1432 https://github.com/NCEAS/metacat/issues/1434 https://github.com/NCEAS/metacat/issues/1369 https://github.com/NCEAS/metacat/issues/1368 https://github.com/NCEAS/metacat/issues/1263
- This is important because, while crawlers implement whichever methods they wish, some (like Google) use sitemaps to discover and define the set of [canonical](https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls URLs for a site
Issues we have ahead of us include:
- There's a separation between how we're doing SEO on dataone.org and search.dataone.org. We should probably integrate the two under dataone.org
- For specific types of content (eg portals), our search index presence is very far from complete. Portal users would find it very valuable to show up in Google search. We need to find a way to include all of this stuff, not just datasets
- Our dataset URLs aren't being fully indexed (see below)
Dataset coverage
Summary
At the time of writing, we have 846,622 dataset and portal URLs listed in our sitemaps and Google has discovered them all correctly. 812k of these are marked as "Excluded". When we drill down into the index coverage of those URLs, we get this breakdown:
| Type | # Pages |
|---|---|
| Discovered - not currently indexed | 770,302 |
| Duplicate, submitted URL not selected as canonical | 30,977 |
| Duplicate without user-selected canonical | 12,265 |
| Crawled - currently not indexed | 7,986 |
| Pages with redirect | 424 |
| Blocked due to other 4xx issue | 6 |
Discovered - not currently indexed
The majority of these are "Discovered - not currently indexed", which his defined as:
Discovered - currently not indexed: The page was found by Google, but not crawled yet. Typically, Google wanted to crawl the URL but this was expected to overload the site; therefore Google rescheduled the crawl. This is why the last crawl date is empty on the report.
This makes sense to me as our individual dataset landing pages are very slow relative to what Google expects. I'm hoping that we can hear more back from the Google team about whether this is truly what's going on or if it's something else. We know from unofficial sources that Google's crawl infrastructure has two queues: One for fast sites, and one for sites it had hoped were fast but put in a separate, lower-priority queue. I'd guess we're in the latter.
Duplicate, submitted URL not selected as canonical
What we see here is that Google is selecting a URL like https://dataone.org/datasets/R1-x138-079-0042-010 as our canonical. These URLs are reported in our embedded JSON-LD and they really are our canonical URLs. I think we should consider switching our sitemap implementation on the CNs to use https://dataone.org/datasets URLs instead.
Other things
Aside from the above categories, some of the odd stuff we've seen is:
- Some URLs are listed as not present in sitemaps even when they are. e.g.,
- Google sets a different URL as canonical
- Good case: I found one example where a user broke their version chain somehow and Google actually fixed it.
- Bad case: Google picks https://search.dataone.org/signin as a canonical for some URLs. Not sure what's up with this
[Note: Please feel to edit this issue to be more complete]
Next steps
- Correctly configure robots.txt and web server configs on various hosts
- Production
- Verify robots.txt Allow + Sitemap directives. Disallow on API routes within (ie /metacat)
- Non-production
Header Set X-Robots-Tag "noindex, nofollow"
- Production
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DataONEorg/dataone
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
DataONEorg/dataone#29 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
DataONEorg/dataone#28 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
DataONEorg/dataone#27 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
DataONEorg/dataone#26 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
DataONEorg/dataone#25 · 1 bình luận ·