Neova고급 SEO 플랫폼

캐노니컬이 잘못되었거나 비어 있음

Neova에서는 크롤링 자체에서 실행됩니다. 따로 설정할 것이 없습니다.

규칙 최종 검토: 2026년 10월 17일 · 가이드 업데이트: 2026년 7월 7일

빈 href는 URL 자신으로 해석되고, http/example.com 같은 값은 현재 호스트의 경로로 해석됩니다. 둘 다 파싱에는 실패하지 않으므로, 캐노니컬이 잘못된 URL을 지정하게 됩니다.

해 볼 수 있는 조치

캐노니컬을 올바른 형식의 절대 URL로 설정하세요. 값에 자리 표시자가 나타난다면 그 값을 채우는 코드를 고치세요.

Neova가 플래그를 지정하는 이유

  • 빈 href는 현재 URL로 해석되므로, 태그가 설정된 것처럼 보이지만 의도적으로 지정한 URL은 없습니다.
  • http/example.com 같은 값은 현재 호스트의 경로로 읽히므로, 캐노니컬이 존재하지 않을 가능성이 높은 URL을 지정합니다.
  • 검색엔진이 캐노니컬을 무시하거나 엉뚱한 URL로 따라갈 수 있습니다.

출처

전체 가이드

이 부분은 현재 영어로만 제공됩니다.

The Short Version

This check fires when a page ships a rel="canonical" link whose href is blank, points at a fragment instead of a real URL, or is broken enough that no crawler can resolve it to an address. A canonical you can't parse is a canonical Google throws away, and once it's gone the page is back to being canonicalized by guesswork.

What "Malformed or Empty" Actually Covers

A working canonical needs exactly one thing: an absolute, resolvable URL sitting inside the href. This check groups together every way that single requirement gets broken. Empty href="". A relative path that never resolves because there's no base URL. A raw template placeholder that was never populated. A URL with a stray space, a naked %, or an unencoded angle bracket that snaps the attribute in half. A href="#" or href="javascript:void(0)" left over from a copy-pasted component. None of these name a preferred page, so none of them do the job a canonical exists to do.

The tag is present, which is why it's easy to miss in a manual spot-check. The parser sees <link rel="canonical"> and moves on. Only when something tries to read the href as a URL does the whole thing fall apart. That's the trap: a malformed canonical looks handled and isn't.

What It Costs You

An empty or unparseable canonical is treated the same as no canonical at all, Google discards it and falls back to picking a canonical itself, usually the URL it happened to crawl first or the one with the strongest internal links. On a page with duplicates, parameters, or a print/AMP variant floating around, that fallback frequently lands on the wrong version. Ranking signals consolidate onto a URL you never chose, and the page you wanted indexed can get filtered out as a duplicate. Worse than a missing tag, honestly, because a missing tag at least doesn't lull you into thinking the problem's solved.

Real Failing Markup, and the Fix

Here are the patterns this check trips on most, straight from the page source:

<!-- empty href: present but names nothing -->
<link rel="canonical" href="" />

<!-- template variable never rendered -->
<link rel="canonical" href="{{ page.canonical_url }}" />

<!-- placeholder anchor, resolves to the current URL + "#" -->
<link rel="canonical" href="#" />

<!-- unencoded space breaks the attribute -->
<link rel="canonical" href="https://example.com/blue widgets/" />

<!-- relative path with no resolvable base -->
<link rel="canonical" href="../product?id=" />

Every one of those collapses to the same correct form, a fully qualified, self-referencing absolute URL:

<link rel="canonical" href="https://example.com/blue-widgets/" />

Absolute means protocol and host are spelled out. No template braces, no fragments, no spaces, no assuming the browser will fill in the base. If a value could ever render empty, the correct move is to omit the tag entirely rather than emit a hollow one, a page with no canonical gets Google's self-referencing default; a page with an empty canonical gets a discarded signal.

Malformation Types at a Glance

What's in the href How Google Reads It The Fix
href="" No target, discarded, self-canonical fallback Emit a real absolute URL, or drop the tag
{{ variable }} Literal string, not a URL, discarded Fix the template so the value renders server-side
href="#" or href="https://example.com/" alone Resolves to a URL you didn't intend Replace with the page's own absolute URL
Space / unencoded character Attribute truncated, canonical malformed Percent-encode or slugify the path
../path (relative) Google resolves it against the base, brittle, often wrong Use absolute https:// URLs

How to Detect It

  1. curl the raw source. Run curl -s -A 'Mozilla/5.0' https://example.com/page/ | grep -i canonical and eyeball the href. If you see empty quotes, braces, a hash, or a space inside it, that's your bug, no rendering needed.
  2. Screaming Frog. Crawl, then open the Canonicals tab and filter for Canonical Missing and any URL that looks non-absolute. Frog also surfaces canonicals it couldn't resolve, which is exactly this class of failure.
  3. View source vs. rendered. If the raw href holds an unrendered template variable but the canonical only appears correctly in the rendered DOM, you've got a client-side population problem, not just a typo.
  4. GSC URL Inspection. Inspect the live URL and read the User-declared canonical line. If it's empty or shows a garbled value while Google-selected canonical shows something else entirely, Google has already discarded yours and moved on.

How to Fix It

  1. Find the source. It's almost always a CMS field, a plugin default, or a theme template emitting a value that's blank or unresolved.
  2. Populate it with the page's own absolute URL as the default, so self-canonical is the fallback for every page.
  3. Guard the template: if the canonical value is empty, render no <link rel="canonical"> at all rather than an empty one.
  4. Slugify or percent-encode any path that can contain spaces or reserved characters before it ever reaches the href.
  5. Re-crawl the affected URLs and confirm each canonical is a single, absolute, resolvable address. Then re-inspect one in GSC to confirm user-declared now matches Google-selected.

FAQ

Is an Empty Canonical Worse Than No Canonical at All?

Functionally they resolve to the same outcome, Google ignores the empty one and self-canonicalizes, but the empty tag is more dangerous operationally. It reads as "handled" in a code review and hides a broken template that may be firing across thousands of URLs. A missing tag is at least honest about being missing.

Can I Use a Relative URL in the Canonical href?

Google will resolve a relative canonical against the page's base URL, so it technically works, but it's fragile. A misconfigured <base> tag, a proxy, or a CDN path rewrite can resolve it somewhere you never meant. Absolute URLs remove the ambiguity entirely. Use them.

My Canonical Shows a {{ }} Placeholder in the Source. What Broke?

The template rendered the raw variable instead of its value, a server-side templating error, a null field, or a build that didn't hydrate the canonical. Fix it at the data layer so the field is populated before the HTML is emitted, and add a guard that suppresses the tag when the value is null.

Does href="#" Count as Malformed?

Yes. It resolves to the current URL plus a fragment, and Google strips the fragment, so you effectively get a self-canonical by accident, which is fine on a page that should self-canonicalize and quietly wrong on a duplicate that should point elsewhere. Either way it's not a deliberate signal, so replace it with a real absolute URL.

After I Fix the href, How Fast Does Google Update?

It updates on the next crawl and re-processing, which can be days to weeks depending on the URL's crawl frequency. Request indexing in URL Inspection to nudge high-priority pages, but don't expect the Google-selected canonical to flip the same afternoon.

Ground yourself in the mechanics with the canonical tag glossary entry and the full Canonical Tags reference. If your canonical is fine but conflicts with a second declaration, see canonical mismatch. And if you're getting no canonical output at all, start with the missing canonical tag check.

내 사이트에서 찾아보기

Neova는 크롤링할 때마다 이 점검과 다른 모든 점검을 실행하고, 수정 방법을 팀을 위한 티켓으로 작성합니다.

  • Mac, Windows, Linux용 데스크톱 앱
  • 출처가 함께 있는 696개 점검 전체
  • Search Console과 Analytics 4를 읽기 전용으로 연결
  • Jira, Linear, Asana로 티켓 보내기

Neova 다운로드 Desktop Free 플랜 또는 Solo 14일 무료, 카드 불필요.

색인 가능성 점검 전체 · 가이드 · 점검 라이브러리

작성: Neova Labs · 점검 라이브러리로 돌아가기