NeovaNền tảng SEO chuyên sâu

Canonical trỏ tới URL 4xx

Trong Neova Chạy ngay từ lần crawl: không cần thiết lập gì.

Quy tắc được rà soát lần cuối ngày 17 tháng 10 năm 2026 · Hướng dẫn cập nhật ngày 7 tháng 7 năm 2026

Canonical đưa công cụ tìm kiếm tới một URL không tồn tại hoặc không truy cập được. RFC 6596 và hướng dẫn năm 2013 của Google khuyên không nên làm vậy.

Bạn có thể làm gì

Trỏ canonical tới một URL trả về 200, thường là chính URL đó hoặc URL thay thế đang hoạt động.

Neova tìm ra bằng cách nào

Neova gửi yêu cầu tới mọi địa chỉ và đọc phản hồi của máy chủ.

Vì sao Neova đánh dấu

  • Canonical nêu một URL không tồn tại hoặc không truy cập được, nên không có trang ưu tiên nào để index.
  • RFC 6596 khuyên không dùng đích canonical trả về lỗi 4xx.
  • Google không index URL 4xx, và hướng dẫn canonical của Google yêu cầu kiểm tra đích có tồn tại không.

Nguồn

Ticket nó tạo ra

Phần này tạm thời còn bằng tiếng Anh.

IN-021 · Canonical Points to a 4xx URL

How to Check the Fix: 1. Run the check again in Neova
2. Spot-check sample URLs across affected templates
3. Record the re-check date and period label next to the baseline

Neova writes this ticket for every affected page group and sends it to Jira, Linear, Asana and the rest, after you approve it.

Hướng dẫn đầy đủ

Phần này tạm thời còn bằng tiếng Anh.

This check fires when a page's rel="canonical" points at a URL that returns 404 Not Found. You are telling Google "the master version of this content lives over there," while "over there" is a dead end — so Google throws the hint away, decides for itself which URL to index, and often lands on the wrong one.

What This Check Flags and Why It Stings

A canonical is a suggestion, not a command. When that suggestion resolves to a 404, Google has nothing to consolidate signals onto, so it silently ignores the annotation and picks a canonical from the cluster on its own. The page you actually care about can end up demoted, deduplicated against a random parameter variant, or dropped from the index while a URL you never wanted to rank takes its place.

What makes the 404 case the cleanest to reason about is that Google's response is decisive: a 404 is a permanent, unambiguous "there is nothing here," so there is no waiting and no retry loop — the hint is thrown out on the spot. That decisiveness cuts both ways. You are not stuck in the limbo a 5xx creates, but you also get no grace period; the moment Googlebot fetches that dead target, your intended canonicalization is gone and the cluster is up for grabs. On a big template where one broken variable feeds the canonical of thousands of pages, that is thousands of URLs surrendering their canonical choice in a single crawl.

A Real Failing Example

Here is the canonical you shipped in the <head> of /blog/color-theory/:

<link rel="canonical" href="https://example.com/blog/colour-theory/" />

Note the British spelling. That URL was renamed months ago. Curl the target and the chain ends in a wall:

$ curl -sIL -A 'Mozilla/5.0' https://example.com/blog/colour-theory/

HTTP/2 404
content-type: text/html; charset=utf-8
x-robots-tag: noindex

No redirect, no rescue — just a hard 404. Google fetches the canonical target, sees it does not exist, and discards the hint. The self-referencing canonical the page should have carried never gets a chance to do its job.

The fix is to repoint the tag at a live 200 URL — almost always the page itself:

<link rel="canonical" href="https://example.com/blog/color-theory/" />
$ curl -sI -A 'Mozilla/5.0' https://example.com/blog/color-theory/

HTTP/2 200
content-type: text/html; charset=utf-8

What Google Actually Does With a 404 Canonical

Stage What Happens Impact on Your Page
Canonical parsed Google reads href and queues the target for verification None yet
Target fetched Server returns 404 — the URL has no content Hint marked invalid
Signal ignored Google drops your canonical and runs its own canonicalization You lose control of the choice
Google picks A different URL in the cluster becomes the Google-selected canonical Wrong URL may rank; equity splits
Reported Search Console flags "Alternate page with proper canonical tag" or "Duplicate, Google chose different canonical" Confusing coverage numbers

How to Detect It

  1. Screaming Frog: crawl the site, open the Canonicals tab and filter to Canonical Links to Non-Indexable URL, then cross-reference against the Response Codes > Client Error (4xx) tab. Any canonical target appearing in both is a 404 canonical. Enable "Always Follow Canonicals" so the crawler chases the target's status.
  2. GSC URL Inspection: inspect the affected page. Under Page indexing, check "User-declared canonical" versus "Google-selected canonical." A mismatch where your declared URL is a 404 is the smoking gun.
  3. curl -IL: pull the canonical href straight from the source and hit it: curl -sIL -A 'Mozilla/5.0' <canonical-target>. A terminal 404 with no redirect confirms it.

How to Fix It

  1. Extract the current canonical target from the page source.
  2. Confirm it 404s with curl -I — rule out a transient blip by retrying once.
  3. Decide the correct live destination: the page itself (self-referencing) in the vast majority of cases, or the true master if this really is a duplicate.
  4. Update the <link rel="canonical"> to that 200 URL and confirm with curl -I that it returns 200.
  5. If the old target was renamed rather than deleted, add a 301 from the dead URL to the new one so any stray inbound links and old canonicals resolve gracefully.
  6. Request validation in the GSC Page Indexing report and re-inspect the URL to confirm Google now honors your canonical.

FAQ

Will Google Index My Page at All If Its Canonical 404s?

Usually yes — it just ignores your broken hint and canonicalizes on its own. The risk is not deindexation so much as losing the vote: Google may consolidate onto a URL you did not choose.

Is a Self-Referencing Canonical Always the Safe Fix?

For a standalone, indexable page, yes. Point the canonical at its own live URL. Only point elsewhere when the page is a genuine duplicate of another live 200 page.

The Target Used to Exist — Can I Just 301 It Instead of Editing Every Canonical?

A 301 turns a 404 canonical into a redirecting canonical, which is a separate (milder) problem — see Canonical Points to a Redirecting URL. Cleanest is to fix the canonical to the final 200 URL and keep the 301 for stray links.

How Fast Will Search Console Clear the Error?

After you fix the tag and hit Validate, expect recrawl over days to a couple of weeks depending on the page's crawl frequency. Higher-authority pages clear faster.

A dead canonical target rarely travels alone. Work through the rest of the cluster: Canonical Points to a 5xx Error URL, Canonical Points to a Disallowed URL, and the closely related Canonical Loop. For the fundamentals, keep the Canonical Tags Complete Reference open, and if you are handling removed pages, read 404 vs 410 before deciding how to retire the dead target for good.

Tìm lỗi này trên trang của bạn

Neova chạy mục kiểm tra này và mọi mục khác trong mỗi lần crawl, rồi viết cách sửa thành ticket cho nhóm của bạn.

  • Ứng dụng máy tính cho Mac, Windows và Linux
  • Tất cả 696 mục kiểm tra, mỗi mục kèm nguồn
  • Search Console và Analytics 4, kết nối chỉ đọc
  • Ticket sang Jira, Linear và Asana

Tải Neova Gói Desktop Free, hoặc dùng thử Solo miễn phí 14 ngày, không cần thẻ.

Tất cả mục kiểm tra Khả năng lập chỉ mục · Hướng dẫn · Thư viện mục kiểm tra

Do Neova Labs biên soạn · Quay lại Thư viện mục kiểm tra