Neova高级 SEO 平台

内部链接使用了旧的 AJAX 抓取 URL

在 Neova 中 直接在抓取过程中运行,无需任何设置。

规则最近审核:2026年10月17日 · 指南更新:2026年7月7日

Google 的网址结构指南表示不要用片段来区分不同内容,而且 #! 方案已不再受支持。Google 会忽略 # 之后的部分,因此这些内容可能不会被索引。

您可以做什么

把内容移到真实的路径或查询字符串中,并相应更新内部链接。

Neova 为何标记

  • Google 一般不支持 URL 片段,所以只能通过 #! 访问的内容可能不会被索引。
  • Google 的 URL 结构指南表示不要用片段来改变页面内容,而应使用 History API。
  • 曾经用来解决这一问题的 #! AJAX 抓取方案已于 2015 年弃用。

来源

完整指南

这一部分目前只有英文版。

This check fires when a site still uses the AJAX crawling URL scheme — hashbang URLs like example.com/#!/products paired with a server that answers ?_escaped_fragment_= requests with pre-rendered snapshots. Google deprecated this scheme in 2015 and stopped supporting it entirely around 2018, switching to rendering JavaScript directly. Keeping it means Googlebot crawls your ugly hashbang and escaped-fragment URLs instead of clean ones, splits signals across duplicate address forms, and depends on a snapshot pipeline Google no longer requests.

This check is about the URLs and the request handling. The head-level opt-in that used to switch this on — <meta name="fragment" content="!"> — has its own check: Old AJAX Crawling Meta Fragment. Fix them together; they're two ends of the same obsolete rope.

How the Scheme Worked and Why It's a Liability

Hashbang (#!) URLs let single-page apps put state after the fragment while signaling crawlers that the fragment was meaningful. Google's rule: when it saw #! in a URL, it rewrote the request to ?_escaped_fragment_= and fetched a server-rendered snapshot to index. Your server had to detect that parameter and return flat HTML.

Google now renders JS itself, so it never sends _escaped_fragment_ requests anymore. What's left is a mess of non-canonical URLs. Here's the failing pattern — a hashbang link and the escaped-fragment form Google used to request:

<!-- Hashbang links still in the markup -->
<a href="https://example.com/#!/products/blue-widget">Blue Widget</a>

<!-- The snapshot URL Google used to fetch (now unused) -->
https://example.com/?_escaped_fragment_=/products/blue-widget

<!-- These fragment forms fragment your signals across
     multiple address shapes for the same content -->

Fragments after # aren't even sent to the server on a normal request, so a modern crawler landing on /#!/products/blue-widget may just see the app shell. Meanwhile the escaped-fragment URLs, if still linked or indexed, compete with your real URLs.

The Fix: Clean URLs Plus the History API

<!-- Real, crawlable path URLs -->
<a href="https://example.com/products/blue-widget">Blue Widget</a>

// Client routing via the History API, not hashbangs
history.pushState({}, '', '/products/blue-widget');

<!-- Server renders this path to full HTML (SSR/SSG) -->

Swap hashbang routing for the History API so every view has a real path URL, then make the server return complete HTML for those paths. Redirect any lingering hashbang or escaped-fragment URLs to their clean equivalents so you don't strand indexed versions.

URL Forms: Retire vs. Keep

URL Form Example Action
Hashbang /#!/products/blue-widget Retire — migrate to path URLs
Escaped fragment /?_escaped_fragment_=/products/blue-widget Retire — redirect to clean URL
Clean path (History API) /products/blue-widget Keep — this is the target
Snapshot endpoint Server handler for _escaped_fragment_ Decommission after redirects

How to Detect It

  1. Screaming Frog. Crawl and inspect the URL tab for addresses containing #! or _escaped_fragment_. Frog's Internal → HTML list plus a filter on those strings surfaces every offender. Also check Response Codes for escaped-fragment URLs that still return 200 — those are live snapshots you need to redirect.
  2. View Source. Ctrl+U and Ctrl+F for #! in href attributes. If your navigation is built on hashbang links, they'll be all over the source. Manually try appending ?_escaped_fragment_= to a URL — if the server returns a rendered snapshot, the old handler is still active.
  3. Google Search Console. Search the Page indexing report and coverage data for indexed URLs containing _escaped_fragment_ or #!. Use URL Inspection on a clean path URL to confirm it renders fully — if Google can read the path version directly, you're clear to retire the scheme.

How to Fix It

  1. Confirm clean URLs render. Make sure each path URL returns complete HTML to a crawler before you cut over. Use GSC's rendered view to verify.
  2. Migrate routing to the History API so links use real paths instead of hashbangs.
  3. 301-redirect hashbang and _escaped_fragment_ URLs to their clean equivalents. Hashbang redirects usually need a small client-side script since the fragment never reaches the server.
  4. Serve crawlable HTML via server-side rendering or static generation. If a full refactor isn't immediate, prerendering bridges the gap.
  5. Decommission the snapshot endpoint and remove the meta fragment tag once redirects are in place.

FAQ

Is Google Still Fetching My Escaped-Fragment URLs?

No. Google stopped requesting _escaped_fragment_ versions after retiring the scheme. Any that remain indexed are legacy artifacts you should redirect, not content Google is actively snapshotting.

What's Wrong With Hashbang URLs Specifically?

The part after # isn't sent to the server, so a crawler that doesn't fully execute your JS may only see the app shell. Clean path URLs are unambiguous and render server-side, which every crawler can read.

How Do I Redirect a Hashbang URL If the Fragment Never Reaches the Server?

You handle it client-side: a small script reads location.hash, maps #!/products/blue-widget to /products/blue-widget, and issues a redirect. Server 301s handle the escaped-fragment forms since those are sent to the server.

How Does This Differ From the Meta Fragment Check?

This check is the URL scheme — the #! and _escaped_fragment_ addresses and handling. The meta fragment check is the head tag that opted a page into it. Clean up both.

Will AI Crawlers Read a Hashbang Site?

Usually not well. Many AI crawlers execute minimal JavaScript and can't resolve fragment-based routing at all, so hashbang sites often render as empty shells to them. Migrating to server-rendered path URLs fixes visibility for Google and AI bots alike — see SSR vs CSR.

在您自己的网站上找到它

Neova 在每次抓取时都会运行此检查项和其他所有检查项,然后把修复方法写成工单交给您的团队。

  • 适用于 Mac、Windows 和 Linux 的桌面应用
  • 全部 696 项检查,每项都附来源
  • Search Console 和 Analytics 4,以只读方式连接
  • 工单发送到 Jira、Linear 和 Asana

下载 Neova Desktop Free 套餐,或免费试用 Solo 14 天,无需银行卡。

全部可索引性检查 · 指南 · 检查项库

作者:Neova Labs · 返回检查项库