暫定日本語訳:XML Sitemap

暫定日本語訳:何 XML sitemap is, its anatomy, ignored tags (priority/changefreq), accurate lastmod, 50 000/50MB limits, hreflang in sitemaps, と どのように へ submit one.

初回公開:2026年6月22日 · 最終更新:2026年8月4日 · Advanced
言語
このページには証拠シグナルが1件あります

暫定日本語訳:XML sitemap is UTF-8 file listing canonical, indexable URLs あなた want 検索エンジン へ know について — 各 in <url> block とともに 必要 <loc> と optional <lastmod>. It 役立つ engines discover URLs ただし doesn't guarantee インデックス登録; its real payoff is submitted-vs-インデックス登録 diagnostic in 検索 Console. Google ignores <priority> と <changefreq>, と 使用 <lastmod> だけ いつ it's verifiably accurate (significant updates, ない blanket '現在'). One sitemap caps at 50 000 URLs または 50MB uncompressed — past その あなた split files と reference them から sitemap インデックス登録. 含む だけ canonical, indexable, 200-status URLs; leaving URL out of sitemap is ない 同じ as noindexing it. Sitemaps are また easiest place へ manage hreflang at scale. Reference it in robots.txt と submit it in 検索 Console と Bing Webmaster ツール.

暫定日本語案: TL;DR — XML sitemap is UTF-8 file of canonical, indexable <loc> URLs, 暫定日本語案: 各 optionally carrying <lastmod>. It aids discovery, ない インデックス登録 — 暫定日本語案: payoff is submitted-vs-インデックス登録 signal in 検索 Console. Google ignores 暫定日本語案: <priority><changefreq> と 使用 <lastmod> だけ いつ it’s verifiably 暫定日本語案: accurate (significant updates, 決して blanket “today”). One file caps at 暫定日本語案: 50 000 URLs または 50MB uncompressed — past その, split と 使用 sitemap 暫定日本語案: インデックス登録. 含む だけ 200, canonical, indexable URLs; excluding URL is ない 暫定日本語案: 同じ as noindexing it. XML isn’t だけ accepted format (RSS/Atom/txt 機能 暫定日本語案: too), と sitemaps are easiest place へ manage hreflang at scale — 暫定日本語案: though それらの annotations go live on lag, ない instantly. Reference it in 暫定日本語案: robots.txt と submit it in 検索 Console + Bing Webmaster ツール. 暫定日本語案: Evidence for this claim The XML sitemap protocol lists canonical URL locations and optional metadata, with limits of 50,000 URLs and 50 MB uncompressed per sitemap. Scope: Sitemaps protocol and current Google-supported limits. Confidence: high · Verified: Sitemaps XML format Evidence for this claim Google treats sitemaps as discovery hints rather than guarantees and supports submission through Search Console or robots.txt references. Scope: Current Google sitemap behavior and submission methods. Confidence: high · Verified: Google Search Central: Build and submit a sitemap

何 XML sitemap actually is

暫定日本語案: XML sitemap is file, written へ sitemaps.org 0.9 protocol, その lists 暫定日本語案: URLs on あなた サイト あなた want engines へ know について. Google’s own definition: “A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them.” It’s discovery aid と 暫定日本語案: coverage diagnostic — explicitly ない guarantee: “A sitemap helps search engines discover URLs on your site, but it doesn’t guarantee that all the items in your sitemap will be crawled and indexed.”

暫定日本語案: その framing matters, because it’s どこ lot of effort gets misspent. 暫定日本語案: sitemap isn’t ランキング lever と it isn’t インデックス登録 command. Here’s annotated 暫定日本語案: minimal 例:

<?xml version="1.0" encoding="UTF-8"?>            <!-- XML declaration; UTF-8 -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">  <!-- root + namespace -->
  <url>                                           <!-- one entry per page -->
    <loc>https://www.example.com/foo.html</loc>   <!-- required: absolute URL -->
    <lastmod>2026-06-04</lastmod>                 <!-- optional: last significant change -->
  </url>
</urlset>

Anatomy

  • 暫定日本語案: ** XML declaration** — <?xml version="1.0" encoding="UTF-8"?>. Google is 暫定日本語案: unambiguous here: “The sitemap file must be UTF-8 encoded.” Get encoding 暫定日本語案: 誤った と special characters break.
  • 暫定日本語案: <urlset> + namespace — root element, とともに 暫定日本語案: xmlns="http://www.sitemaps.org/schemas/sitemap/0.9". namespace is 何 暫定日本語案: tells parser この is sitemap; 誤った または 不足している namespace is 一般的な 暫定日本語案: 検索 Console error.
  • 暫定日本語案: <url> — one block per ページ.
  • 暫定日本語案: <loc> — 必要. “Use fully-qualified, absolute URLs in your sitemaps” — 暫定日本語案: ない relative paths, と 下で ~2 048 characters. All values 必要がある be 暫定日本語案: entity-escaped: & becomes &amp;, ' becomes &apos;, " becomes 暫定日本語案: &quot;, > becomes &gt;, と literal less-than becomes &lt;.
  • 暫定日本語案: <lastmod> — optional; date ページ 最後 significantly changed (more 暫定日本語案: on honesty rule below).
Evidence for this claim Each loc must be a fully qualified absolute URL and XML special characters must be entity escaped. Scope: XML/HTTP sitemap generation, hosting and submission Confidence: high · Verified: Build and submit a sitemap

ignored-tags truth

暫定日本語案: この is single 大半の out-of-date thing in 大半の sitemap tutorials. Two legacy 暫定日本語案: tags — <priority><changefreq> — are ignored by Google. Gary 暫定日本語案: Illyes called priority “essentially a bag of noise,” と John Mueller has said 暫定日本語案: priority と change frequency “doesn’t really play that much of a role with Sitemaps anymore.” Bing has confirmed 同じ: changefreq と priority no longer 暫定日本語案: affect its クロール または ランキング. あなた できる leave them in (それら do no harm) または strip 暫定日本語案: them out — それら simply don’t do anything.

暫定日本語案: <lastmod> is 異なる — do ない lump it in とともに ignored tags. Google 暫定日本語案: does 使用 <lastmod>, ただし だけ いつ it trusts it, と その trust is roughly 暫定日本語案: binary: either Google believes あなた dates または it doesn’t. rule is その date 暫定日本語案: すべき reflect significant change — “an update to the main content, the structured data, or links on the page is generally considered significant, however an update to the copyright date is not.” failure mode I see constantly is 暫定日本語案: stamping すべての URL とともに 現在’s date on すべての 構築. その’s self-defeating: 暫定日本語案: Mueller has called it “just lazy,” noting it’s trivial 向けに engines へ recognize 暫定日本語案: と だけ 作る it harder 向けに them へ spot genuinely updated ページ. Lie 多くの場合 暫定日本語案: enough と, in Google’s words, “eventually we’re not going to believe you anymore.” Bing leans even harder on <lastmod> as freshness signal than Google 暫定日本語案: does — so accurate date 役立つ あなた on both engines, と fake one hurts あなた on 暫定日本語案: both.

Placement, naming, encoding, と compression

  • 暫定日本語案: Placement/naming. There’s no 必要 filename, ただし /sitemap.xml at 暫定日本語案: root is convention. By デフォルト sitemap だけ affects URLs at または below its 暫定日本語案: own path, so 保つ it high enough へ cover everything it lists. one 暫定日本語案: exception: あなた できる host sitemap 向けに 異なる サイト if あなた’ve verified 暫定日本語案: ownership of その サイト と its robots.txt points back へ sitemap’s 暫定日本語案: actual ロケーション — Google calls この cross-submission, と it’s mechanism 暫定日本語案: behind sitemap インデックス登録 aggregating sitemaps hosted elsewhere.
  • 暫定日本語案: Encoding. UTF-8, 常に.
  • 暫定日本語案: Compression. あなた’re 許可 へ gzip sitemap (serve it as .xml.gz), which 暫定日本語案: is worth doing on large files. 重要 nuance: ** 50MB cap is 測定 暫定日本語案: uncompressed** — gzip saves bandwidth, ない headroom against size limit.

Limits → split + sitemap インデックス登録

暫定日本語案: single sitemap is capped at 50 000 URLs または 50MB uncompressed, whichever comes 暫定日本語案: 最初. Google states it directly: “All formats limit a single sitemap to 50MB (uncompressed) or 50\u00a0000 URLs.” いつ あなた blow past either limit, あなた split 暫定日本語案: list 全体で multiple sitemap files と reference them all から sitemap インデックス登録 暫定日本語案: — sitemap of sitemaps. その’s its own sibling topic; short version is その 暫定日本語案: あなた submit インデックス登録, と one インデックス登録 できる point at up へ 50 000 child sitemaps, so 暫定日本語案: あなた’ll 決して actually run out of capacity.

Which URLs へ 含む — と “exclude ≠ noindex”

暫定日本語案: 含む だけ URLs その are indexable, canonical, と return 200. その means 暫定日本語案: no 3xx リダイレクト, no non-canonical duplicates, no noindex ページ, no 暫定日本語案: robots-blocked URLs. clean sitemap of exactly あなた indexable 設定 is 何 作る 暫定日本語案: 検索 Console submitted-vs-インデックス登録 comparison meaningful — pollute it とともに 暫定日本語案: junk と あなた’ve thrown away diagnostic.

暫定日本語案: 現在 mechanical point 人々 get 誤った: excluding URL から あなた sitemap does 暫定日本語案: ない deindex it. sitemap is advertisement, ない gate. Removing URL’s 暫定日本語案: entry just stops あなた advertising その ページ; if Google already knows について it (via 暫定日本語案: links, history, または another ソース) it stays in インデックス登録. だけ mechanisms その 暫定日本語案: actually 削除 ページ are noindex directive (とともに クロール 許可 so Google 暫定日本語案: できる see it), 404/410, または removals ツール. So “take it out of the sitemap” 暫定日本語案: is 決して right answer へ “how do I deindex this.”

Accepted sitemap file formats

暫定日本語案: XML isn’t だけ format Google accepts — worth knowing so あなた don’t assume あなた’re 暫定日本語案: stuck hand-writing XML. Google calls XML “the most versatile of the sitemap formats,” ただし it また reads:

  • 暫定日本語案: RSS 2,0 / Atom フィード — handy because many CMSs already publish one; それら 暫定日本語案: carry ページ URLs だけ.
  • 暫定日本語案: mRSS — media RSS フィード, 使用 向けに video.
  • 暫定日本語案: Plain text (.txt) — literally one URL per line, web-ページ URLs だけ, UTF-8.

暫定日本語案: XML is still right デフォルト because it’s だけ format その supports 暫定日本語案: extensions (lastmod metadata, 画像, video, と hreflang annotations). others 暫定日本語案: are URL-だけ.

hreflang in sitemaps

暫定日本語案: If あなた run multilingual または multi-regional サイト, sitemap is usually 暫定日本語案: easiest place へ manage hreflang — あなた maintain whole 言語 cluster in one 暫定日本語案: file instead of injecting return-tags へ すべての ページ template. (It’s one of 暫定日本語案: three 有効 places hreflang できる live; <head> と HTTP headers are 暫定日本語案: others.)

暫定日本語案: どのように it’s implemented.<url> gets xhtml:link rel="alternate" children, 暫定日本語案: one per 言語/地域 version, と あなた declare namespace 暫定日本語案: xmlns:xhtml="http://www.w3.org/1999/xhtml" on <urlset>:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <url>
    <loc>https://www.example.com/english/page.html</loc>
    <xhtml:link rel="alternate" hreflang="en" href="https://www.example.com/english/page.html"/>
    <xhtml:link rel="alternate" hreflang="de" href="https://www.example.de/deutsch/page.html"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://www.example.com/english/page.html"/>
  </url>
  <!-- each alternate URL repeats the FULL set, including itself (return tags) -->
</urlset>

暫定日本語案: ** return-tag rule.** この is part その bites 人々. すべての <url> element 暫定日本語案: 必要がある list すべての alternate version of ページ — including itself. Google: “Each <url> element must have a child element <xhtml:link rel="alternate" hreflang="[supported_language-code]"> that lists every alternate version of the page, including itself.” と it has へ be bidirectional: “If page X links to page Y, page Y must link back to page X. If this is not the case for all pages that use hreflang annotations, those annotations may be ignored or not interpreted correctly.” 追加 x-default entry 向けに unmatched-言語 fallback. single 暫定日本語案: broken または 不足している return-tag できる invalidate whole 設定.

暫定日本語案: ** cap counts <loc> URLs だけ.** relief 向けに big international サイト: 暫定日本語案: 50 000-URL limit counts だけ <loc> ページ URLs, ない hreflang 暫定日本語案: alternates. So sitemap とともに 50 000 ページ, 各 とともに ten 言語 alternates, 暫定日本語案: still fits — it’s ロケーション URLs その count, ない alternative URLs.

暫定日本語案: いつ it actually goes live — budget days, ない minutes. Here’s expectation 暫定日本語案: へ 設定, と it’s mechanism rather than quotable line. Google parses あなた sitemap 暫定日本語案: hreflang いつ it re-fetches sitemap, ただし annotations だけ take effect 暫定日本語案: once all URLs in 設定 have been (re)クロール と return-tags 暫定日本語案: reconciled against 各 other. その means there’s real lag 間に publishing 暫定日本語案: hreflang と alternates being honored, と one slow-へ-recrawl または broken URL in 暫定日本語案: 設定 できる hold rest up. Don’t expect it へ flip on moment あなた submit — 暫定日本語案: plan 向けに it へ settle 超えて days.

Reference it と submit it

  • 暫定日本語案: robots.txt — 追加 Sitemap: line とともに full absolute URL. この また 暫定日本語案: lets engines auto-discover it.
  • 暫定日本語案: Google 検索 Console — Sitemaps レポート (または 検索 Console API) is 暫定日本語案: 主要 submission 方法; it’s また どこ あなた read submitted-vs-インデックス登録 暫定日本語案: diagnostic.
  • 暫定日本語案: Bing Webmaster ツール — submit there too; Bing fetches it quickly と rechecks 暫定日本語案: regularly.

暫定日本語案: One automation note から どのように I think について この: sitemap すべき be generated 暫定日本語案: 自動 から ページ あなた actually have, so it stays 現在の. hand-built 暫定日本語案: sitemap rots moment あなた サイト changes. siblings へ この ページ — 暫定日本語案: sitemaps overview, sitemap インデックス登録 向けに large サイト, と 画像 暫定日本語案: sitemapvideo sitemap extensions — cover rest of family, と 暫定日本語案: broader discovery topic ties sitemaps へ other ways engines find あなた URLs.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.