Sitemap lists hundreds of URLs that declare a different canonical
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 83/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, node.js
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với bộ lọc sitemap trong astro.config.mjs và xem lại các khai báo URL canonical được thêm trong #2432 cùng với thay đổi bộ lọc trong #2430. So sánh các mục sitemap được tạo với URL canonical của từng trang để tìm hiểu vì sao 635 mục khác nhau. Công việc hoàn tất khi sitemap chỉ chứa các trang có URL được liệt kê là URL canonical của chính trang đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment information
Version: main at 854213b2 and the live site, https://expressjs.com
Platform: not relevant, this is generated build output
Node.js version: not relevant
Any other relevant information: the filter in astro.config.mjs says "Only the canonical URLs belong in the sitemap", and it was tightened with that goal in #2430. The canonical URLs themselves were declared in #2432, but the sitemap filter doesn't take them into account.
What steps will reproduce the bug?
- Open https://expressjs.com/sitemap-0.xml.
- Compare each
<loc>with therel="canonical"of that page.
Of the 1,311 URLs listed, 635 declare a different page as canonical:
| Listed in the sitemap | Canonical |
|---|---|
/en/ |
/ |
/en/guide/routing/, /es/guide/routing/ |
/en/5x/guide/routing/, /es/5x/guide/routing/ |
/en/api/express/ |
/en/5x/api/express/ |
/es/5x/api/express/ |
/en/5x/api/express/ |
/es/blog/2024-10-15-v5-release/ |
/en/blog/2024-10-15-v5-release/ |
Sending search engines conflicting signals like this can make them ignore the sitemap's hints and spend crawl budget on duplicates.
Expected: the sitemap lists only pages that are their own canonical URL.
- Ngôn ngữ chính
- MDX
- Star
- 5.4k
- Fork
- 2.3k
- Merge trung bình
- 2 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 expressjs/expressjs.com
-
RSS feeds use Atom-style <author> elements, which are invalid in RSS 2.0Có thể đã có người làm @NopeCharon đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
expressjs/expressjs.com#2577 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
llms.txt exports drop `import` lines and JSX-like code from code examplesCó thể đã có người làm @RaphaelFakhri đã nhận 16 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
expressjs/expressjs.com#2561 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Remove problematic examples from error handling guideCó thể đã có người làm @Skytuhua đã nhận 24 ngày trước. Đang mởbug require-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
expressjs/expressjs.com#2549 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Suggestion: mention lint-time security checks on the security best practices pageCó thể đã có người làm @methila-2056 đã nhận 86 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
expressjs/expressjs.com#2471 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document customizing `express.json()` size limit for specific routesCó thể đã có người làm @vibhor-aggr đã nhận 132 ngày trước. Đang mở4.x 5.x docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
expressjs/expressjs.com#1421 · 3 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của expressjs/expressjs.com
Issue tương tự
-
Add inline list of key task-runner tools to tekton cursor ruleCó thể đã có người làm @fullsend-ai-coder đã nhận hôm nay. Đang mởdocumentation good first issue ready-for-triage ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
konflux-ci/build-definitions#3918 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update commit message guidelinesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
loopbackio/loopback.io#2163 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 89/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
mattpocock/skills#1458 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
sync-en
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày