Neova고급 SEO 플랫폼

링크 href가 비어 있음

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

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

빈 href는 방문자와 크롤러에게 실제 목적지를 주지 않으며, 현재 URL로 해석됩니다. 이에 대한 규칙을 정한 검색엔진은 없습니다. 확인해 보라는 신호입니다.

해 볼 수 있는 조치

href에 실제 목적지 URL을 추가하거나, 요소가 스크립트만 실행한다면 button을 사용하세요.

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

  • 빈 href는 현재 URL로 해석되므로, 링크가 어디로도 가지 않고 페이지를 새로 고칩니다.
  • 크롤러는 새 목적지를 얻지 못하고, 스크린 리더 사용자는 아무 동작도 하지 않는 링크를 듣습니다.
  • 이에 관한 검색엔진 규칙은 없습니다. 대개 자리표시 링크이거나 버튼이어야 할 스크립트라는 신호입니다.

출처

전체 가이드

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

What an Empty href Flags, and Why It Matters

This check fires on any anchor where the href attribute is present but blank — <a href=""> or an href holding nothing but spaces. Per the HTML spec an empty href resolves to the current document, so every one of these anchors is a link that reloads the page it sits on: dead weight for users, a wasted line in your link graph for crawlers, and a broken promise to screen readers.

The stakes are rarely one stray link. Empty hrefs come from templates and JavaScript patterns that repeat across a whole site, so a single bad loop can stamp hundreds of self-links onto your pages, muddying the internal structure that Google actually uses to prioritise what to crawl and rank.

A Real Failing Example, and the Fix

Here is the pattern that trips the check most often — an anchor built as a JavaScript hook with the href left empty so the page does not jump:

<!-- Fails the check: empty href resolves to the current URL -->
<a href="">Filter results</a>

<!-- Also fails: whitespace-only href is treated as empty -->
<a href="   ">Load more</a>

If the element genuinely navigates, give it a real destination. If it only triggers an action (opening a menu, filtering a list, submitting), it was never a link — use a button:

<!-- Navigates somewhere real -->
<a href="https://example.com/products/filtered/?sort=price">Filter results</a>

<!-- Performs an action, so it is a button, not a link -->
<button type="button" class="load-more">Load more</button>

The button keeps your existing click handler working while removing the phantom self-link from the crawl entirely. If you cannot change the markup type quickly, at minimum point the href at the real target URL so the fallback still lands somewhere useful.

Empty href vs. the Alternatives, at a Glance

Markup Where the Click Goes Crawlable Link? Correct Use
<a href=""> Reloads the current URL No target — self-link Never
<a href="#"> Jumps to top of page No real target Only a true "back to top" anchor
<a href="https://example.com/real/url/"> The destination page Yes Navigation
<button type="button"> Fires a script action Not a link, by design Interactive controls

How to Detect It

  1. Screaming Frog. Crawl the site, then use Bulk Export → Links → All Outlinks and filter the Destination column for values equal to the page's own URL, or sort for blank anchors. The Outlinks tab on any URL shows self-referencing links immediately.
  2. View source or DevTools. Open the page source and search for href="" and href="#". In Chrome DevTools, run document.querySelectorAll('a[href=""]').length in the Console to count them on the rendered page.
  3. Command line spot check. Pull the raw HTML and grep for the pattern: curl -s https://example.com/page/ | grep -oE '<a href="[[:space:]]*"'. A non-empty result means the check will fire.
  4. Google Search Console. Empty hrefs will not appear as crawl errors, but if a templating bug is generating them at scale you may see inflated Discovered – currently not indexed counts as crawlers chew through self-referencing noise. Use the URL Inspection tool to confirm which links Google actually extracted.

How to Fix It

  1. Find the source. Almost every empty href traces back to one template partial, component, or JS snippet — fix the source and the whole cluster clears at once.
  2. Decide navigation or action for each anchor. Navigation gets a real URL; actions become <button> elements.
  3. Patch the template. Where a URL field can be empty, guard the loop so it either outputs a real link or renders plain text — never href="".
  4. Re-crawl and confirm the self-links are gone from the outlinks export, then check that no accessibility warnings remain in Lighthouse.

FAQ

Is href="#" Any Better Than an Empty href?

Marginally, but it is still not a real link. # jumps to the top of the page and leaves a junk history entry. Reserve it for a genuine top-of-page anchor and use a button everywhere else.

Does an Empty href Actually Hurt Rankings?

Not directly and not dramatically, but self-links waste the internal equity you could be steering toward pages that need ranking support, and at scale they add crawl noise. It is a hygiene problem worth clearing, not a penalty.

Why Does My Page Builder Keep Generating Them?

Page builders and themes loop over records and write href="{{ url }}". When a record's URL field is empty, the attribute renders as an empty string. Add a conditional in the template so the link only prints when a URL exists.

Can JavaScript "Fix" the Empty href at Runtime?

A script can set the href after load, but crawlers and assistive tech may read the markup before that runs, and you are still using the wrong element for an action. Ship the correct markup instead of patching it client-side.

Should I Nofollow These Instead of Removing Them?

No. Nofollow does not make a destination-less link useful — it just adds an attribute to something that should not exist. Remove the anchor or give it a real target.

내 사이트에서 찾아보기

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

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

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

링크 점검 전체 · 가이드 · 점검 라이브러리

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