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

Canonical trỏ tới URL bị disallow

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

Công cụ tìm kiếm không crawl được đích bị robots.txt chặn, nên không đọc được URL mà canonical ưu tiên. Canonical và lệnh chặn gửi các tín hiệu mâu thuẫn.

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

Trỏ canonical tới một URL crawl được, hoặc xóa quy tắc Disallow đang chặn đích.

Vì sao Neova đánh dấu

  • Công cụ tìm kiếm không crawl được đích bị robots.txt chặn, nên không đọc được URL mà canonical ưu tiên.
  • Canonical bảo hãy index đích còn lệnh chặn bảo đừng tải nó, nên các tín hiệu mâu thuẫn.
  • Khi đó Google có thể bỏ qua canonical và chọn URL khác.

Nguồn

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 is blocked by robots.txt. The target might return a perfectly healthy 200 — but Google is not allowed to fetch it, so it can never verify the canonical relationship, and an unverifiable canonical is a canonical Google is free to overrule.

What This Check Flags and Why It Bites

Every other failure in this cluster is "Google fetched the target and it was broken." This one is different: Google never gets to look. A robots.txt Disallow stops the crawl before the canonical can be confirmed, so Google treats your declared canonical as a weak, unverified hint and often canonicalizes onto a different URL it can crawl — frequently the page you were trying to point away from.

A Real Failing Example

Filtered category page /shop/shoes/?color=red tries to consolidate onto the clean canonical:

<link rel="canonical" href="https://example.com/shop/shoes/" />

Sensible — except the site's robots.txt blocks the entire /shop/ tree to save crawl budget:

$ curl -s -A 'Mozilla/5.0' https://example.com/robots.txt

User-agent: *
Disallow: /shop/

The canonical target itself is fine when you fetch it directly:

$ curl -sI -A 'Mozilla/5.0' https://example.com/shop/shoes/

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

But Googlebot obeys the Disallow and never requests it. It sees a canonical pointing into a black box, cannot confirm the two pages are duplicates, and picks its own canonical — possibly the parameterized URL you never wanted indexed.

The fix is to unblock the canonical target so Google can crawl and verify it:

User-agent: *
Disallow: /shop/*?color=
Allow: /shop/shoes/

Blocked Target vs. Other Canonical Failures

Failure Can Google Fetch the Target? What Google Does
Disallowed (this check) No — robots.txt blocks it Cannot verify; treats canonical as unconfirmed and may overrule
404 target Yes — and it is empty Discards the canonical outright
5xx target Attempts, gets an error Defers the decision and retries
Redirecting target Yes — follows the hop Uses the endpoint as canonical
Noindex target Yes — reads a contradictory directive Resolves the conflict, usually against you

The distinction that matters: robots.txt controls crawling, not indexing. Blocking the target does not remove it from the index — it just blinds Google to the signal you were trying to send.

This failure is especially insidious on large e-commerce and faceted-navigation sites, where a broad Disallow is added to protect crawl budget from parameter explosion. The rule does its job on the junk URLs, but if the clean canonical master happens to live under the same path prefix, it gets caught in the same net. Nobody notices because the pages still render for humans and still resolve for direct curl — the only symptom is Google quietly choosing its own canonicals and the "clean" URLs never accumulating the authority you routed to them. The bigger the site, the longer this hides in plain sight.

How to Detect It

  1. Screaming Frog: configure it to respect robots.txt, crawl, then open Response Codes > Blocked by Robots.txt and cross-reference the Canonicals tab. Any canonical target sitting in the blocked list is this error. The Canonicals > Canonical Links to Non-Indexable URL filter also surfaces it.
  2. GSC robots.txt Tester & URL Inspection: inspect the affected page — if the declared canonical is blocked, Inspection shows "Crawl allowed? No: blocked by robots.txt" for the target. The URL Inspection tool confirms crawlability per URL.
  3. curl the robots.txt directly: fetch /robots.txt and grep for the path prefix of your canonical target. If a Disallow rule matches it, Googlebot will not crawl it.

How to Fix It

  1. Identify the canonical target and confirm which robots.txt rule blocks it (watch for wildcard and precedence quirks).
  2. Decide the intent: if that URL is the true master, it must be crawlable — remove or narrow the Disallow so Google can reach it.
  3. Prefer surgical rules: block only the parameter variants (Disallow: /shop/*?color=) rather than the whole directory that contains your canonical.
  4. If you genuinely need the target out of the index, do not block it — let it stay crawlable and add a noindex instead (but never as a canonical target — that is a different error).
  5. Re-fetch /robots.txt, confirm the target is now allowed, and validate in GSC.

FAQ

The Blocked Target Returns 200 — Why Is This Even a Problem?

Because Google never fetches it. A canonical it cannot crawl is a canonical it cannot verify, so it downgrades your hint and may consolidate onto a crawlable URL you did not choose.

Does robots.txt-blocking the Target Remove It From Google's Index?

No. Blocking controls crawling, not indexing — a blocked URL can still be indexed from links. To keep a page out of the index you need noindex on a crawlable page, not a Disallow.

Should I Just Remove the Canonical Instead of Unblocking the Target?

Only if the current page should stand on its own — then self-canonicalize. If the two pages really are duplicates, the master has to be crawlable; unblock it.

My robots.txt Has Wildcards — How Do I Know Which Rule Is Matching?

Precedence and wildcard behavior trip people up constantly. Test the exact target URL against your rules; the Complete robots.txt Reference covers precedence, wildcards, and real-world edge cases.

This is the "cannot verify" case; the rest of the cluster are "verified and broken": Canonical Points to a 404, Canonical Points to a 5xx Error URL, Canonical Points to a Noindex URL, and the AMP-specific variant AMP Canonical Points to Disallowed URL. Also worth a look: Disallowed Image for the same robots.txt trap on assets.

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