Neova高機能SEOプラットフォーム

AMPのHTMLページに検証エラーがある

オプション:AMPのチェック項目は、サイトがまだAMPページを配信している場合か、オンにした場合にのみ実行されます。

Neovaでは クロールそのものから実行されます。設定は不要です。

ルールの最終確認:2026年10月17日 · ガイドの更新:2026年10月17日

AMP バリデーターのエラーは、その URL が有効な AMP ではないことを意味し、Search Console では重大として扱われます。警告だけなら、URL は有効なままです。

できること

AMP バリデーターが示す各エラーを、示された行で修正し、URL をもう一度検証してください。

Neovaの検出方法

NeovaはAMPページをそれぞれAMPの検証にかけます。

Neovaがフラグを立てる理由

  • GoogleはURLが検証に合格した場合にだけAMPとして使います。エラーがあると、検索でAMPの機能付きで表示されません。
  • Search ConsoleのAMPステータスレポートは、検証エラーを重大な問題として数えます。
  • 警告だけならURLは有効なままなので、このチェック項目で直す必要があるのはエラーだけです。

出典

作成するチケット

この部分は現在、英語のみです。

AM-007 · AMP HTML Page Has Validation Errors

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.

完全ガイド

この部分は現在、英語のみです。

You publish an AMP version of this page, and that AMP version fails the amphtml validator. AMP grades pass/fail with no partial credit, one disallowed tag counts the same as fifty, so a failing page never gets cached, never gets served as AMP, and earns nothing while still costing you a second template to maintain.

Unlike the canonical and access checks in this cluster, this one is about the AMP document's own markup. The URL loads fine; the HTML inside it just breaks the AMP spec.

What This Check Actually Flags

Somewhere on your site a standard page declares <link rel="amphtml" href="...">, pointing at a stripped-down AMP copy. The crawler followed that link, ran the target through the official validator, and got back errors. AMP is a restricted subset of HTML with its own required boilerplate, a banned-tag list, and hard limits. Fail any rule and the document is invalid AMP, which means it is not eligible for any AMP cache and cannot be served on any AMP surface. Google Search itself has used no AMP Cache, viewer or signed exchange since July 1, 2026; it sends AMP clicks straight to your own AMP URL. It is, functionally, a broken duplicate of your real page.

Why Invalid AMP Is the Worst State to Be In

A page with no AMP at all is clean. A page with valid AMP earns whatever AMP still offers. A page with invalid AMP pays every cost, the parallel URLs, the extra crawl surface, the second rendering path to QA, and collects zero benefit, because invalid AMP is never cached or served. You are running a second copy of the page purely to generate a crawl error. There is no scenario where leaving it broken helps.

Validator Error What Triggers It Typical Fix
Custom JavaScript found Any author <script> that is not the AMP runtime Remove it; use an official AMP component
Disallowed tag <img>, <iframe>, <object>, <frame> Swap for <amp-img>, <amp-iframe>, etc.
Disallowed attribute Inline style="", onclick handlers Move styles to <style amp-custom>; drop inline JS
Mandatory tag missing No AMP boilerplate, no <html ⚡>, no runtime script Add the required head scaffolding
CSS too large <style amp-custom> block over 75KB Trim/minify theme CSS to fit
Missing width/height <amp-img> without explicit dimensions Add width and height

How to Detect It

  1. Run the AMP URL through the official AMP validator (append #development=1 to the URL and open the browser console, or paste it into validator.ampproject.org). It prints the exact tag, line, and rule for every error.
  2. Fetch the raw markup with curl -s https://example.com/page/amp/ and eyeball the head for the required boilerplate, the <html ⚡> attribute, and any stray <script> or <img> tags that should not be there.
  3. Crawl with Screaming Frog storing AMP; the AMP tab lists validation errors and warnings per URL so you can see how widespread the problem is across templates.
  4. If AMP still appears in your Search Console property, open the legacy AMP report, it groups errors by type across all affected URLs, which is the fastest way to spot a template-level break.
  5. Re-validate after every fix. Because the validator is pass/fail, a page is not "improved" until it is fully valid, half-fixed is still failing.

How to Fix It (If You Are Keeping AMP)

Work the validator output top to bottom. Rip out custom JavaScript, AMP allows only the runtime and official component scripts, so analytics, chat widgets, and plugin JS all have to go or be replaced by their AMP equivalents (amp-analytics, amp-live-list, and so on). Convert every <img> to <amp-img> with explicit dimensions. Move all styling into a single <style amp-custom> block and keep it under 75KB. Restore any missing boilerplate. Then re-run the validator until it returns clean.

How to Retire AMP Cleanly (Usually the Better Call)

If you are not a high-velocity news publisher, maintaining valid AMP for every template is rarely worth it now. To retire it: remove the amphtml links from your standard pages, 301 the AMP URLs to their non-AMP equivalents, drop AMP-specific sitemap entries, and let the cache expire. Then put the effort you would have spent on AMP into Core Web Vitals on your real pages, which is where the speed story actually lives in 2026.

Common Mistakes

Treating warnings as errors (or ignoring real errors as "just warnings"), read the validator's severity labels, since only errors block caching. Fixing one page by hand when the break is template-wide, so it reappears on the next publish. And validating the standard page instead of the AMP URL: this check is about the document behind the amphtml link, not your canonical HTML. The same "invalid means excluded" logic shows up in structured data too, as covered in rich result is invalid.

FAQ

Does One Small Error Really Disqualify the Whole Page?

Yes. AMP validation is binary, a single disallowed attribute fails the document exactly like a missing runtime script would. There is no "mostly valid" AMP; it either passes or it is not served.

What Is the Difference Between This and "AMP URL Is Invalid"?

They overlap, but the dedicated AMP URL is invalid check is Search Console's own verdict on the URL, while this flag comes from running the markup through the validator during a crawl. Fix the markup and both clear.

You can, but tidy up: 301 the orphaned AMP URLs so they do not linger as thin duplicates. Removing the link stops advertising AMP; redirecting the URLs stops the duplicate from being crawlable.

Is AMP Worth Validating at All Anymore?

Google dropped AMP as a Top Stories requirement in 2021 and retired the AMP badge. For most sites the honest answer is to retire AMP rather than keep validating it. Keep it only if a specific distribution channel you rely on still demands it.

自分のサイトで見つける

Neovaはこのチェック項目とほかのすべてをクロールのたびに実行し、修正内容をチーム向けのチケットとして書き出します。

  • Mac、Windows、Linux用のデスクトップアプリ
  • 696項目のチェックすべてに出典付き
  • Search ConsoleとAnalytics 4を読み取り専用で接続
  • Jira、Linear、Asanaへのチケット

Neovaをダウンロード Desktop Freeプラン、またはSoloを14日間無料、カード不要。

インデックス可否のチェック項目すべて · ガイド · チェック項目一覧

執筆:Neova Labs · チェック項目一覧に戻る