Panduan Sitemaps
What sebuah sitemap adalah, whether Anda perlu one, jenis (XML, HTML, image, video, news), cara temukan, buat, dan submit one, dan why sitemaps help penemuan tetapi tidak pernah guarantee pengindeksan.
Bahasa
1 sinyal bukti di halaman ini
- Alat aktif terkaitGoogle Index Checker
sebuah sitemap adalah sebuah file itu lists URLs (dan media) pada Anda situs so mesin pencari dapat menemukan them. ini helps penemuan dan adalah sebuah great coverage/diagnostic alat — tetapi submitting one tidak pernah guarantees crawling atau pengindeksan. sebuah single sitemap caps di 50 000 URLs atau 50MB uncompressed; Google ignores <priority>/<changefreq> tetapi reads sebuah accurate <lastmod>. Automate ini dari halaman Anda actually memiliki, list hanya canonical dapat diindeks URLs, dan submit ini di Search Console + Bing Webmaster alat ( old ping endpoint adalah dead). ini hub routes Anda untuk deep dives: sitemap XML, sitemap indeks, sitemap gambar, dan video sitemap.
TL;DR — sebuah sitemap adalah sebuah file itu lists halaman pada Anda situs so search mesin dapat temukan them. ini helps Google dan Bing menemukan Anda konten — tetapi ini doesn’t force them untuk indeks ini. sebagian besar situs seharusnya memiliki one (ini adalah cheap insurance), ini seharusnya menjadi generated automatically so ini stays saat ini, dan Anda submit ini di Google Search Console dan Bing Webmaster alat.
What sebuah sitemap adalah
sebuah sitemap adalah sebuah file where Anda list URLs pada Anda situs — dan sometimes Anda images dan videos — so mesin pencari memiliki sebuah tidy inventory untuk berfungsi dari instead dari having untuk menemukan everything oleh following tautan. 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.” (terjemahan) “sebuah sitemap adalah sebuah file where Anda menyediakan informasi tentang halaman, videos, dan lainnya files pada Anda situs, dan relationships antara them.” Evidence for this claim A sitemap supplies search engines with information about pages, videos, and other files on a site and their relationships. Scope: Google's general definition of sitemaps; supported formats and extensions have additional requirements. Confidence: high · Verified: Google Search Central: Learn about sitemaps
paling umum jenis adalah sebuah sitemap XML, which adalah written untuk crawler rather daripada people. There’s juga sebuah HTML sitemap, which adalah sebuah halaman dari tautan dimaksudkan untuk human pengunjung. mereka solve berbeda masalah.
melakukan Anda actually perlu one?
jika Anda situs adalah kecil (think sebuah few hundred halaman) dan everything adalah well ditautkan dari Anda navigation, mesin pencari dapat biasanya temukan ini semua pada mereka own — Google says Anda dapat not strictly perlu sebuah sitemap di itu case. tetapi ini adalah so cheap untuk memiliki one itu I’d generate one anyway. John Mueller put ini well: sebuah sitemap file adalah “a minimal baseline for any serious website.” (terjemahan) “sebuah minimal baseline untuk apa pun serious situs web.” So my aturan dari thumb adalah sederhana: selalu memiliki one, dan let Anda CMS atau framework generate ini automatically.
Anda terutama ingin one jika Anda situs adalah besar, brand baru dengan few tautan pointing di ini, atau heavy pada images, video, atau news konten.
thing untuk memahami up front
sebuah sitemap helps penemuan — ini melakukan not guarantee pengindeksan. Putting sebuah URL di Anda sitemap doesn’t force Google untuk crawl ini, dan ini definitely doesn’t force Google untuk indeks atau peringkat ini. Google says ini plainly: “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.” (terjemahan) “sebuah sitemap helps search mesin menemukan URLs pada Anda situs, tetapi ini doesn’t guarantee itu semua items di Anda sitemap akan menjadi di-crawl dan terindeks.” Think dari ini sebagai sebuah helpful list, not sebuah magic “index me” (terjemahan) “indeks me” button. Evidence for this claim A sitemap helps search engines discover URLs but does not guarantee that Google will crawl or index them. Scope: Google Search sitemap discovery; inclusion is not an indexing or ranking directive. Confidence: high · Verified: Google Search Central: Learn about sitemaps
cara temukan sebuah situs’s sitemap
sebagian besar sitemaps live di sebuah predictable spot. Try:
yoursite.com/sitemap.xml(paling umum default).- Anda
robots.txtfile (yoursite.com/robots.txt) — situs sering list sitemap there dengan sebuahSitemap:line. - Google Search Console (Anda own situs) di bawah Sitemaps report.
One thing worth knowing: not setiap situs advertises -nya sitemap. beberapa deliberately
pertahankan ini out dari robots.txt dan submit ini hanya inside Search Console dan Bing
Webmaster alat, so competitors dapat’t grab sebuah clean list dari setiap URL mereka publish.
So “I can’t find it at the usual spot” (terjemahan) “I dapat’t temukan ini di usual spot” tidak berarti sebuah situs memiliki no sitemap.
cara membuat dan submit one
sebagian besar platforms membuat one untuk Anda automatically — WordPress, Shopify, Wix, Squarespace, dan Webflow semua generate sebuah sitemap out dari box (see Cheat Sheets tab untuk path pada setiap one). setelah Anda memiliki ini:
- pastikan ini lists hanya URLs Anda actually ingin terindeks.
- Submit ini di Google Search Console dan Bing Webmaster alat.
- tambahkan sebuah
Sitemap:line untuk Andarobots.txt(unless Anda’re deliberately keeping ini private).
ingin full versi — size limits, tags Google ignores, cara temukan sebuah situs itu’s hiding -nya sitemap, dan berbeda jenis? Switch untuk Advanced tab.
TL;DR — sebuah sitemap adalah sebuah file listing Anda URLs (dan optionally images/videos) so mesin dapat menemukan them — sebuah coverage dan diagnostic alat, not sebuah penemuan silver bullet, because submitting tidak pernah guarantees crawling atau pengindeksan. sebuah single sitemap caps di 50 000 URLs atau 50MB uncompressed (gzip adalah allowed; cap adalah uncompressed size); UTF-8; fully-qualified absolute URLs; entity-escape
&,',",<,>. Google ignores<priority>dan<changefreq>dan hanya menggunakan<lastmod>jika ini adalah consistently accurate. Submit via Search Console, Bing Webmaster alat, danrobots.txtSitemap:line — old ping endpoint memiliki 404’d since Jan 2024, dan IndexNow notifies Bing dan others (not Google). bangun ini automatically, list hanya canonical dapat diindeks URLs, dan gunakan submitted-vs-terindeks signal di Search Console untuk temukan what’s missing.
What sebuah sitemap adalah — dan what ini adalah untuk
Google’s definition adalah right anchor: “A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them.” (terjemahan) “sebuah sitemap adalah sebuah file where Anda menyediakan informasi tentang halaman, videos, dan lainnya files pada Anda situs, dan relationships antara them.” Evidence for this claim A sitemap supplies search engines with information about pages, videos, and other files on a site and their relationships. Scope: Google's general definition of sitemaps; supported formats and extensions have additional requirements. Confidence: high · Verified: Google Search Central: Learn about sitemaps ini adalah sebuah inventory Anda hand untuk mesin pencari.
paling penting framing I dapat give Anda: sebuah sitemap adalah sebuah coverage dan diagnostic alat, not sebuah penemuan silver bullet. Google adalah explicit itu “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.” (terjemahan) “sebuah sitemap helps mesin pencari menemukan URLs pada Anda situs, tetapi ini doesn’t guarantee itu semua items di Anda sitemap akan menjadi di-crawl dan terindeks.” Submitting sebuah URL doesn’t indeks ini. nyata day-untuk-day payoff adalah submitted-vs-terindeks comparison di Search Console: split Anda sitemaps oleh bagian atau konten jenis dan Anda dapat see which bagian dari situs isn’t getting picked up. selama sebuah migration I’ll pertahankan sebuah sitemap dari old URLs sekitar untuk sebuah while pada purpose, specifically so I dapat watch them drop out dari indeks di GSC.
melakukan Anda perlu one? Resolving contradiction
Anda’ll see two pieces dari advice itu look like mereka conflict:
- Google’s threshold: Anda mungkin don’t perlu sebuah sitemap jika situs adalah kecil (sekitar 500 halaman) dan well internally ditautkan; Anda mungkin melakukan jika ini adalah besar, baru dengan few backlinks, atau media/News-heavy.
- Mueller’s baseline: “Making a sitemap file automatically seems like a minimal baseline for any serious website, imo.” (terjemahan) “membuat sebuah sitemap file automatically seems like sebuah minimal baseline untuk apa pun serious situs web, imo.”
Both adalah right, dan here’s how I reconcile them: sebuah sitemap isn’t strictly diperlukan untuk sebuah tiny, well-ditautkan situs, tetapi ini adalah cheap insurance dan ini adalah now expected baseline — so selalu generate one, automatically. Which brings me untuk one aturan I won’t bend pada.
Automate ini, atau ini rots
Sitemaps seharusnya menjadi generated automatically dari halaman Anda actually memiliki. jika someone hands me sebuah manually-dibangun sitemap, I sudah know ini’ll fall out dari date fast — somebody menambahkan halaman, nobody updates file, dan now ini adalah lying untuk Google. dan there’s sebuah subtler poin: jika Anda’re generating sitemap dari Anda nyata, dapat di-crawl halaman anyway, mesin pencari dapat biasanya reach itu halaman pada mereka own melalui tautan. sitemap earns -nya pertahankan oleh menjadi saat ini dan complete, not hanya oleh existing. Automation adalah what membuat ini saat ini.
jenis dari sitemap
- sitemap XML — workhorse, written untuk crawler. sebuah list dari
<loc>URLs, optionally dengan<lastmod>. ini adalah what people biasanya berarti oleh “sitemap.” (terjemahan) “sitemap.” - HTML sitemap — sebuah human-facing halaman dari tautan. berguna untuk pengguna dan untuk internal linking, tetapi ini isn’t file Anda submit untuk Search Console.
- sitemap gambar — surfaces images mesin pencari mungkin otherwise miss (untuk contoh, images dimuat oleh JavaScript atau disajikan dynamically). dapat menjadi sebuah standalone file atau image tags ditambahkan untuk sebuah existing sitemap.
- Video sitemap — gives mesin pencari metadata mereka perlu untuk memahami dan indeks Anda videos (thumbnail, judul, deskripsi, dan media atau player URL).
- News sitemap — untuk situs di Google News, listing recent artikel.
dan XML isn’t satu-satunya accepted format. Google juga takes RSS/Atom feeds dan sebuah
plain-text .txt file (one URL per line). RSS dan text formats dapat hanya list
halaman URLs — no image atau video metadata — so XML adalah paling versatile.
XML vs HTML
ini get confused constantly, so pertahankan them separate: sebuah sitemap XML adalah untuk crawler — machine-readable, submitted untuk Search Console, thing mesin pencari parse. sebuah HTML sitemap adalah untuk people — sebuah regular halaman web linking untuk Anda bagian, which dapat juga help internal linking. jika Anda hanya bangun one, bangun XML sitemap; itu’s one mesin pencari actually gunakan.
cara temukan sebuah sitemap (dan why beberapa situs hide theirs)
untuk temukan sebuah sitemap, try, di order:
/sitemap.xml— default location pada sebagian besar platforms.robots.txt— sebuah public sitemap adalah biasanya named here dengan sebuahSitemap:line, which adalah juga how mesin auto-menemukan ini.site:operators / Search Console — untuk Anda own property, Search Console Sitemaps report adalah authoritative view dari what’s submitted dan how ini adalah doing.
tetapi here’s bagian sebagian besar guides skip: not setiap sitemap adalah dimaksudkan untuk menjadi ditemukan.
beberapa situs deliberately omit Sitemap: line dari robots.txt dan submit
file hanya melalui Search Console dan Bing Webmaster alat. sebuah sitemap referenced di
robots.txt adalah readable oleh anyone — including competitors who’d love sebuah tidy list dari
setiap URL Anda publish (unlinked halaman, baru launches, strategically penting halaman)
dan sebuah cara untuk watch how fast Anda ship. sebuah sitemap submitted hanya melalui consoles
adalah effectively private. So jika Anda dapat’t temukan sebuah situs’s sitemap di usual paths, ini
dapat hanya menjadi unlisted, not absent.
trade-off adalah nyata, though: hiding sitemap dari robots.txt juga berarti apa pun
mesin itu relies pada robots.txt auto-penemuan won’t see ini unless Anda’ve
submitted ini di setiap console. jika Anda go private route, Anda memiliki untuk melakukan
submission legwork everywhere Anda care tentang.
cara buat one
Almost setiap platform dapat generate sebuah sitemap untuk Anda — dan pada sebagian besar dari them ini adalah
automatic. I’ve put per-platform paths (WordPress, Shopify, Wix, Squarespace,
Webflow, Drupal, JS frameworks, dan manual generators) di Cheat Sheets tab
so Anda dapat jump straight untuk yours. pendek versi untuk JS frameworks: search
framework name plus “sitemap” (terjemahan) “sitemap” (misalnya, “Gatsby sitemap” (terjemahan) “Gatsby sitemap” atau “Next.js
sitemap” (terjemahan) “Next.js
sitemap”) — there’s almost selalu sebuah existing module so Anda tidak hand-roll ini.
ini situs runs pada Astro dan menggunakan @astrojs/sitemap, configured di
astro.config.mjs.
cara submit ini
live metode:
- Google Search Console — Sitemaps report (dan Search Console API). primary metode.
- Bing Webmaster alat — submit there too; Bing fetches ini immediately, lalu rechecks roughly daily.
robots.txtSitemap:line — berfungsi untuk apa pun mesin itu readsrobots.txt, dan adalah how sebuah public sitemap gets auto-ditemukan. gunakan full absolute URL.
What’s dead: old standalone ping endpoint (google.com/ping?sitemap=). ini adalah
telah deprecated since 2023 dan mengembalikan sebuah 404 since January 2024 — Google killed
ini because vast majority dari submissions adalah spam. jika Anda’ve got sebuah plugin atau cron
job masih hitting ini, strip itu out. untuk fast, URL-tingkat notification dari single
perubahan untuk Bing dan others, gunakan IndexNow — tetapi note Google melakukan not
participate di IndexNow, so ini won’t speed up Google pengindeksan. Bing’s own framing
adalah itu two adalah complementary: sitemaps untuk comprehensive coverage, IndexNow untuk
fast per-URL pushes.
Submission masalah
When something goes wrong, Search Console Sitemaps report akan tell Anda — tetapi
error labels aren’t selalu self-explanatory. I’ve put sebuah full error → meaning → fix
table di Cheat Sheets tab. greatest hits: “Couldn’t fetch” (terjemahan) “Couldn’t fetch” (wrong URL,
robots block, atau hanya not processed yet — sering transient), “Unsupported format” (terjemahan) “Unsupported format”
(Anda submitted sebuah HTML halaman alih-alih sebuah nyata XML/RSS/Atom/txt file), dan “URL not
allowed” (terjemahan) “URL not
allowed” ( classic HTTP-vs-HTTPS / www mismatch, atau URLs above sitemap’s
own path). sebuah couple dari non-error gotchas worth knowing: Google dapat sajikan Anda sebuah
stale cached copy, so perubahan aren’t instant, dan submitting both children
dan sitemap indeks adalah harmless tetapi unnecessary.
Best practices — dan “exclude ≠ noindex” (terjemahan) “exclude ≠ noindex”
aturan itu penting, semua dari Google’s own spec:
- Size: sebuah single sitemap holds di sebagian besar 50 000 URLs atau 50MB uncompressed, whichever comes pertama. Anda dapat gzip ini — 50MB cap adalah uncompressed size. Evidence for this claim Google limits a single sitemap to 50,000 URLs or 50 MB uncompressed. Scope: Google-supported sitemap files; larger inventories must be split across multiple sitemaps, optionally joined by an index. Confidence: high · Verified: Google Search Central: Build and submit a sitemap di atas limit, split ke multiple sitemaps dan tie them together dengan sebuah sitemap indeks.
- Encoding: UTF-8.
- URLs: fully-qualified, absolute URLs. Entity-escape
&,',",<, dan>. - Tags Google ignores:
<priority>dan<changefreq>melakukan nothing — don’t bother dengan them. lastmoddone honestly: Google hanya trustslastmodjika ini adalah consistently dan verifiably accurate. Set ini pada significant updates (main konten, structured data, atau tautan) — not sebuah blanket copyright-year atau “today” (terjemahan) “today” stamp pada setiap URL. Lie tentang ini dan Google stops believing field. Done right, sebuah accuratelastmodgenuinely helps re-crawling (Bing leans pada ini bahkan harder daripada Google melakukan).- Contents: list hanya canonical, dapat diindeks, 200-status URLs. No redirects, no
non-canonical URLs, no
noindex’d halaman. apa pun halaman Anda ingin terindeks seharusnya menjadi di sitemap; nothing Anda tidak.
Worked audit: valid XML, polluted inventory
sebuah sitemap dapat pass XML validation dan masih kirim contradictory penemuan signals.
ini illustrative crawl joins setiap <loc> untuk -nya live respons dan indeks controls:
| Sitemap URL | Observed state | pertahankan? | tindakan |
|---|---|---|---|
https://shop.example/products/trail-runner | 200, canonical, dapat diindeks | Yes | pertahankan |
https://shop.example/products/old-trail-shoe | 301 untuk saat ini product | No | Replace dengan akhir URL |
https://shop.example/account/login | 200 dengan noindex | No | hapus dari sitemap |
https://shop.example/sale/spring-2025 | Expired campaign returning 200 | biasanya no | Redirect, retire, atau intentionally maintain |
https://staging.shop.example/products/test | Public staging hostname | No | hapus dan protect environment |
sitemap file itself adalah well formed. pollution appears hanya setelah comparing -nya inventory dengan status, canonical, robots, dan lifecycle evidence. Fix generator atau source kueri alih-alih deleting yang sama rows oleh hand setiap release.
itu last poin hides single sebagian besar umum conceptual error: exclude ≠ noindex.
Leaving sebuah URL out dari Anda sitemap melakukan not deindex ini. sitemap adalah sebuah
advertisement, not sebuah gate — dropping sebuah URL hanya stops Anda advertising ini; ini doesn’t
hapus ini dari Google. jika Anda ingin sebuah halaman hilang, allow crawling dan gunakan noindex.
sitemap adalah wrong alat untuk itu job.
Where untuk go next
ini halaman adalah overview. setiap dari ini adalah -nya own deep dive nested di bawah penemuan topic:
- sitemap XML — format dan anatomy:
<urlset>,<loc>,<lastmod>, ignored tags, what untuk sertakan dan exclude, dan hreflang di sitemaps. - Sitemap indeks — “sitemap of sitemaps” (terjemahan) “sitemap dari sitemaps” untuk besar situs, when untuk split, dan math pada how banyak URLs Anda dapat cover.
- sitemap gambar — surfacing images mesin pencari mungkin miss, saat ini (not deprecated) tag list, dan cross-domain aturan.
- Video sitemap — diperlukan tags, accepted file jenis, dan getting videos dipahami dan terindeks.
Sitemaps adalah one half dari penemuan — lainnya half adalah crawling, which adalah how mesin actually fetch URLs Anda sitemap poin untuk. untuk whole picture, see How Search berfungsi. setiap topic above adalah di sidebar too.
AI summary
sebuah condensed take pada Advanced versi:
- sebuah sitemap adalah sebuah file listing Anda URLs (dan optionally images/videos) so search mesin dapat menemukan them. Google: “a file where you provide information about the pages, videos, and other files on your site.” (terjemahan) “sebuah file where Anda menyediakan informasi tentang halaman, videos, dan lainnya files pada Anda situs.”
- penemuan, not pengindeksan. Submitting sebuah sitemap doesn’t guarantee crawling atau pengindeksan — “it doesn’t guarantee that all the items in your sitemap will be crawled and indexed.” (terjemahan) “ini doesn’t guarantee itu semua items di Anda sitemap akan menjadi di-crawl dan terindeks.” -nya nyata nilai adalah submitted-vs-terindeks diagnostic di Search Console.
- melakukan Anda perlu one? Not strictly untuk tiny well-ditautkan situs (Google’s ~500-halaman threshold), tetapi Mueller panggilan ini “a minimal baseline for any serious website.” (terjemahan) “sebuah minimal baseline untuk apa pun serious situs web.” selalu generate one — automatically, atau ini rots.
- jenis: XML (untuk crawler), HTML (untuk people), image, video, news; plus RSS/Atom
dan plain
.txtformats (halaman URLs hanya). - Finding one:
/sitemap.xml,robots.txt,site:/ Search Console. beberapa situs deliberately hide theirs (omit ini dari robots.txt, submit hanya di consoles) untuk pertahankan mereka URL list private — di cost dari losing auto-penemuan. - Limits: 50 000 URLs atau 50MB uncompressed per sitemap (gzip allowed; cap adalah
uncompressed); UTF-8; fully-qualified absolute URLs; entity-escape
& ' " < >. - Tags: Google ignores
<priority>dan<changefreq>; menggunakan<lastmod>hanya jika consistently accurate (significant updates, not copyright-year). - Submit via Search Console, Bing Webmaster alat, dan
robots.txtSitemap:line. ping endpoint 404s since Jan 2024. IndexNow notifies Bing/Yandex/others — not Google. - Exclude ≠ noindex. Leaving sebuah URL out dari sitemap doesn’t deindex ini; gunakan
noindexuntuk itu. - Deep dives: sitemap XML, sitemap indeks, sitemap gambar, video sitemap.
Official documentation
Primary-source documentation dari mesin pencari.
- Sitemaps overview — what sebuah sitemap adalah, melakukan Anda perlu one, dan didukung formats.
- bangun dan submit sebuah sitemap — 50 000-URL / 50MB limits, UTF-8, absolute URLs,
lastmod, dan cara submit. - Manage Anda besar sitemaps dengan sitemap indeks files — splitting big sitemaps dan indeks file.
- Image sitemaps — saat ini image tags dan namespace.
- Video sitemaps — diperlukan/optional video tags.
- Sitemaps report help — setiap Search Console sitemap error dan what ini berarti.
- sitemaps.org protocol — cross-mesin sitemap XML standard.
Bing / Microsoft
- Keeping konten Discoverable dengan Sitemaps di AI-Powered Search (Jul 2025) — Bing’s saat ini stance: XML preferred,
lastmodpenting, sitemaps + IndexNow adalah complementary. - Importance dari Setting lastmod Tag di Anda Sitemap (Feb 2023) — Fabrice Canel pada why
lastmodadalah crucial. - IndexNow / indexnow.org documentation — push protocol untuk instantly signaling changed URLs (Bing, Yandex, dan others — not Google).
Quotes dari source
pada—record statements dari Google dan Bing. setiap tautan adalah sebuah deep tautan itu jumps untuk quoted passage pada source halaman.
Google — what sebuah sitemap adalah dan what ini melakukan
- “A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them.” (terjemahan) “sebuah sitemap adalah sebuah file where Anda menyediakan informasi tentang halaman, videos, dan lainnya files pada Anda situs, dan relationships antara them.” — Google Search Central, sitemaps overview. Jump untuk quote
- “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.” (terjemahan) “sebuah sitemap helps mesin pencari menemukan URLs pada Anda situs, tetapi ini doesn’t guarantee itu semua items di Anda sitemap akan menjadi di-crawl dan terindeks.” Jump untuk quote
Google — penemuan, not sebuah guarantee
- “submitting a Sitemap doesn’t guarantee the pages referenced in it will be indexed. Think of a Sitemap as a way to help Googlebot find your content … if the content is shallow, it may totally happen it will not be indexed at all.” (terjemahan) “submitting sebuah Sitemap doesn’t guarantee halaman referenced di ini akan menjadi terindeks. Think dari sebuah Sitemap sebagai sebuah cara untuk help Googlebot temukan Anda konten … jika konten adalah shallow, ini dapat totally happen ini akan not menjadi terindeks di semua.” — Gary Illyes, Google. Jump untuk quote
- “One part of sitemaps is that Google has to be keen on indexing more content from the site. If Google’s not convinced that there’s new & important content to index, it won’t use the sitemap.” (terjemahan) “One bagian dari sitemaps adalah itu Google memiliki untuk menjadi keen pada pengindeksan more konten dari situs. jika Google’s not convinced itu there’s baru & penting konten untuk indeks, ini won’t gunakan sitemap.” — John Mueller, Google. Jump untuk quote
Google — melakukan Anda perlu one?
- “Making a sitemap file automatically seems like a minimal baseline for any serious website, imo.” (terjemahan) “membuat sebuah sitemap file automatically seems like sebuah minimal baseline untuk apa pun serious situs web, imo.” — John Mueller, Google. Jump untuk quote
Google — tags ini ignores
- “we ignore those. It’s essentially a bag of noise.” (terjemahan) “kami ignore itu. ini adalah essentially sebuah bag dari noise.”
— Gary Illyes, Google, pada
<priority>dan<changefreq>. Jump untuk quote - “Priority and change frequency doesn’t really play that much of a role with Sitemaps anymore … it is much better to just specify the time stamp directly.” (terjemahan) “Priority dan perubahan frequency doesn’t really play itu much dari sebuah role dengan Sitemaps anymore … ini adalah much better untuk hanya specify time stamp directly.” — John Mueller, Google. Jump untuk quote
Google — lastmod done honestly
- “setting today’s date in a sitemap file isn’t going to be something that works in favor of anyone, it’s just lazy.” (terjemahan) “setting today’s date di sebuah sitemap file isn’t going untuk menjadi something itu berfungsi di favor dari anyone, ini adalah hanya lazy.” — John Mueller, Google. Jump untuk quote
- “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.” (terjemahan) “sebuah update untuk main konten, data terstruktur, atau tautan pada halaman adalah umumnya considered significant, however sebuah update untuk copyright date adalah not.” — Google Search Central, bangun sitemap. Jump untuk quote
Bing — lastmod dan IndexNow
- “XML remains the preferred format for sitemaps, as it supports structured metadata like lastmod, which helps Bing assess content freshness and relevance more effectively.” (terjemahan) “XML remains preferred format untuk sitemaps, sebagai ini mendukung structured metadata like lastmod, which helps Bing assess konten freshness dan relevance more effectively.” — Microsoft Bing blog. Jump untuk quote
- “By combining sitemaps for comprehensive site coverage with IndexNow for fast, URL-level submission, you provide the strongest foundation for keeping your content fresh, discoverable, and visible.” (terjemahan) “oleh combining sitemaps untuk comprehensive situs coverage dengan IndexNow untuk fast, URL-tingkat submission, Anda menyediakan strongest foundation untuk keeping Anda konten fresh, discoverable, dan terlihat.” — Microsoft Bing blog. Jump untuk quote
standing KPIs untuk sitemap health
sebuah sitemap doesn’t memiliki sebuah peringkat metric dari -nya own — -nya job adalah coverage, so KPIs itu penting track whether ini adalah actually doing itu job di atas time, not sebuah one-off audit.
Submitted vs. terindeks, per sitemap
- Metric — dari URLs di sebuah given sitemap, what share Google reports sebagai terindeks vs. not terindeks.
- What ini tells Anda — Whether URLs Anda’re advertising adalah actually landing di indeks. sebuah ratio itu’s fine overall tetapi buruk untuk one sitemap (say, sebuah blog sitemap vs. sebuah product sitemap) tells Anda exactly which bagian dari situs memiliki sebuah masalah — itu’s whole alasan untuk split sitemaps oleh bagian di pertama place.
- cara pull ini — di Search Console, open halaman pengindeksan (“Why pages
aren’t indexed” (terjemahan) “Why halaman
aren’t terindeks”) dan filter oleh sitemap — itu view splits terindeks vs.
not-terindeks untuk URLs di itu spesifik file. Sitemaps report
itself hanya menampilkan what adalah submitted dan when ini adalah last read, so
terindeks/not-terindeks split comes dari halaman pengindeksan, not Sitemaps report.
Spot-periksa individual URLs dengan
Google indeks Checker when Anda perlu
observable signals (status, redirects,
noindex, canonical) behind sebuah single URL’s non-pengindeksan. - Benchmark / realistic range — There’s no honest universal target — sebuah situs dengan lots dari thin, near-duplicate, atau genuinely rendah-nilai halaman akan tidak pernah see 100%, dan itu’s not necessarily sebuah bug. Establish Anda own baseline per bagian dan watch trend: sebuah ratio itu’s drifting down adalah signal, not apa pun spesifik absolute angka.
- Cadence — Monthly untuk sebuah stable situs; weekly selama sebuah migration, sebuah besar konten push, atau right setelah Anda restructure Anda sitemaps, since itu’s when ratio moves fastest.
Sitemap coverage completeness
- Metric — Share dari Anda actual canonical, dapat diindeks, 200-status URLs itu adalah present di submitted sitemap(s).
- What ini tells Anda — Whether sitemap adalah doing -nya job sebagai sebuah complete inventory, atau whether ini adalah rotted — missing baru bagian, masih listing redirected atau deindexed URLs, atau drifting out dari sync dengan what Anda CMS actually generates. ini adalah sebuah data-quality periksa pada file itself, not pada Google’s perilaku.
- cara pull ini — Fetch dan validate live sitemap dengan sitemap XML Validator untuk get exact URL list plus apa pun structural errors, lalu compare itu list terhadap Anda situs’s nyata canonical URL set (sebuah crawl export, atau Anda CMS’s own halaman list) untuk temukan gaps di either direction — halaman missing dari sitemap, atau stale URLs masih di ini itu shouldn’t menjadi.
- Benchmark / realistic range — Depends entirely pada how Anda define “should be indexable” (terjemahan) “seharusnya menjadi dapat diindeks” untuk Anda own situs, so there’s no defensible universal angka here either — right bar adalah simply “close to 100% match, with any gap explained” (terjemahan) “close untuk 100% match, dengan apa pun gap dijelaskan” alih-alih sebuah target percentage.
- Cadence — Whenever sitemap adalah regenerated (ideally setiap deploy, jika ini adalah automated) dan sebagai sebuah manual spot-periksa setelah apa pun besar konten migration atau URL restructuring.
Ready-untuk-gunakan AI prompts
Copy-paste starting poin untuk sitemap tasks. Treat output sebagai sebuah draft untuk verify terhadap actual sitemap file, Search Console, dan Google’s own sitemap docs — not sebuah akhir jawaban.
Audit sebuah sitemap file terhadap spec
Here adalah my sitemap XML [paste file atau pertama ~200 lines]. periksa ini terhadap Google’s sitemap requirements: adalah ini di bawah 50 000 URLs / 50MB uncompressed, UTF-8, menggunakan fully-qualified absolute URLs, dan adalah
&,',",<, dan>properly entity-escaped? Flag anything itu looks like sebuah non-canonical URL, sebuah redirect target, atau sebuah duplicate. Don’t flag<priority>atau<changefreq>sebagai errors — Google ignores itu tags, mereka’re not sebuah validity issue.
Decide whether untuk split ke sebuah sitemap indeks
My situs memiliki approximately [N] dapat diindeks URLs di seluruh ini bagian: [list bagian, e.g. blog, product halaman, category halaman]. berdasarkan Google’s 50 000-URL / 50MB-per-sitemap limit, tell me whether I perlu sebuah sitemap indeks, dan jika so, propose sebuah sensible split oleh bagian (so I dapat juga diagnose submitted-vs-terindeks per bagian di Search Console afterward).
Write sebuah lastmod update policy
I ingin sebuah
lastmodpolicy untuk my sitemap generator itu hanya updates date pada genuinely significant perubahan (main konten, data terstruktur, atau tautan) — not sebuah blanket “today” (terjemahan) “today” atau copyright-year stamp, since Google says ini stops trustinglastmodonce ini adalah inaccurate. Here’s how my CMS tracks edits [describe: publish date, last-edited timestamp, versi history, etc.]. Draft logic untuk whenlastmodseharusnya dan shouldn’t perubahan.
Decide whether untuk pertahankan sitemap public atau submit ini privately
Here’s my situation: [describe situs — competitive niche? baru unlinked halaman Anda tidak ingin scraped? currently listing sitemap di robots.txt?]. Walk me melalui trade-off antara listing my sitemap di
robots.txt(public, auto-discoverable oleh apa pun crawler) versus submitting ini hanya melalui Google Search Console dan Bing Webmaster alat (private, tetapi I lose auto-penemuan untuk apa pun mesin I haven’t manually submitted untuk). Recommend one given my situation dan jelaskan why.
Triage sebuah submitted-vs-terindeks export oleh bagian
Here’s sebuah CSV export dari my sitemap URLs joined dengan mereka pengindeksan status dari Search Console [paste: URL, sitemap, terindeks y/n, alasan jika not terindeks]. Group “not indexed” (terjemahan) “not terindeks” URLs oleh mungkin cause (thin konten, near- duplicate, blocked, not yet di-crawl, deliberately rendah-nilai) dan tell me which sitemap bagian memiliki worst ratio, so I know where untuk focus pertama.
Sitemap checklist
sebuah pass untuk confirm Anda sitemap adalah helping alih-alih rotting:
- sebuah sitemap exists dan adalah generated automatically (not hand-maintained).
- ini lists hanya canonical, dapat diindeks, 200-status URLs — no redirects, no
non-canonical URLs, no
noindex’d halaman. - URLs adalah fully-qualified dan absolute, dan special characters
(
& ' " < >) adalah entity-escaped. - ini adalah UTF-8 encoded.
- No single sitemap exceeds 50 000 URLs atau 50MB uncompressed — split + gunakan sitemap indeks jika ini melakukan (gzip adalah fine; cap adalah uncompressed size).
- Anda haven’t bothered dengan
<priority>atau<changefreq>— Google ignores both. -
<lastmod>adalah hanya set pada significant updates dan adalah genuinely accurate (not sebuah blanket copyright-year atau “today” (terjemahan) “today” date). - Submitted di Google Search Console dan Bing Webmaster alat.
- sebuah
Sitemap:line adalah dirobots.txt(atau ini adalah deliberately omitted untuk pertahankan sitemap private — di which case Anda’ve submitted ini di setiap console). - No dead
google.com/ping?sitemap=panggilan left di apa pun plugin atau cron job (ini 404s since Jan 2024). - Anda periodically periksa submitted-vs-terindeks angka di Search Console untuk spot di bawah-terindeks bagian.
- Anda’re not menggunakan sitemap untuk try untuk deindex anything — itu’s
noindex’s job.
mental models
1. sebuah sitemap adalah sebuah inventory, not sebuah penemuan silver bullet. ini adalah sebuah coverage alat — sebuah clean list dari what Anda ingin terindeks. ini melakukan not force crawling atau pengindeksan. jika halaman aren’t getting terindeks, sitemap adalah where Anda notice masalah (submitted vs terindeks), not where Anda fix ini.
2. Exclude ≠ noindex.
Leaving sebuah URL out dari sitemap melakukan not hapus ini dari Google. sitemap adalah sebuah
advertisement, not sebuah gate. untuk hapus sebuah halaman, allow crawling dan tambahkan noindex —
sitemap adalah wrong lever entirely.
3. Automate ini, atau ini rots. sebuah manually-dibangun sitemap goes stale moment someone menambahkan sebuah halaman dan forgets file. Generate ini dari halaman Anda actually memiliki so ini stays saat ini dan complete. sebuah sitemap’s nilai adalah di menjadi accurate, not di merely existing.
4. Submitted-vs-terindeks adalah sebuah diagnostic. Split Anda sitemaps oleh bagian atau konten jenis dan Search Console coverage angka tell Anda which bagian dari situs adalah di bawah-terindeks. itu’s nyata, day-untuk-day payoff — far more berguna daripada act dari submitting itself.
5. penemuan memiliki two halves. Sitemaps adalah pull-inventory half dari penemuan; tautan adalah lainnya pull half, dan push protocols (IndexNow, pengindeksan API) adalah sebuah separate channel. jika sebuah halaman isn’t menjadi ditemukan, tanyakan which channel seharusnya menjadi carrying ini — dan whether anything tautan untuk ini di semua.
cara buat sitemap, oleh platform
setiap platform below either generates sebuah sitemap automatically atau memiliki sebuah standard module
untuk ini. two akhir langkah adalah yang sama everywhere: (1) pastikan hanya right
URLs adalah disertakan (canonical, dapat diindeks hanya); (2) submit ini di Search Console +
Bing Webmaster alat dan tambahkan Sitemap: line untuk robots.txt (atau deliberately
omit itu line untuk pertahankan ini unlisted).
| Platform | Where sitemap comes dari |
|---|---|
| WordPress | Core auto-generates one di /wp-sitemap.xml (WP ≥ 5,5). untuk control — exclude post jenis, tambahkan image/news, split — gunakan Yoast SEO, peringkat Math, atau AIOSEO; mereka replace core sitemap dan update pada publish. |
| Shopify | Auto-generates /sitemap.xml (sebuah sitemap indeks pointing untuk products / collections / halaman / blogs children). Not directly editable — control inclusion via halaman visibilitas dan template noindex edits. |
| Wix | Auto-generates /sitemap.xml; toggle per-halaman pengindeksan di SEO settings. |
| Squarespace | Auto-generates /sitemap.xml; Anda dapat’t hand-edit ini — exclude halaman via halaman settings. |
| Webflow | Auto sitemap toggle di situs Settings → SEO, atau supply Anda own custom sitemap. |
| Drupal | gunakan sederhana sitemap XML module (atau older sitemap XML module) — ini generates, splits, dan submits untuk consoles. |
| JS frameworks (Next / Astro / Gatsby / etc.) | gunakan framework’s sitemap integration — search “<framework> sitemap.” (terjemahan) “undefined sitemap.” (ini situs menggunakan Astro’s @astrojs/sitemap, configured di astro.config.mjs.) |
| Manual / generators | Static atau tiny situs: sebuah online generator (e.g. XML-Sitemaps.com) atau sebuah bangun script. Caveat: manual goes stale — prefer automation. |
Search Console sitemap errors → meaning → fix
| Status / error | What ini berarti | Fix |
|---|---|---|
| Couldn’t fetch | Google couldn’t retrieve file — wrong URL/404, robots.txt block, server timeout, atau simply not processed yet. sering transient. | Confirm URL mengembalikan 200, isn’t robots-blocked, dan server adalah responsive; re-submit dan wait. (dapat juga berarti Google isn’t yet convinced there’s baru/penting konten untuk indeks.) |
| Unsupported format | file isn’t sebuah didukung format — classic “you submitted an HTML page / theme file.” (terjemahan) “Anda submitted sebuah HTML halaman / theme file.” | Submit sebuah nyata XML/RSS/Atom/txt sitemap, not sebuah HTML halaman. |
| Empty sitemap | No URLs di file. | Generate ini terhadap nyata URLs; periksa generator. |
| Sitemap file size error | Larger daripada 50MB uncompressed. | Split ke multiple sitemaps + sebuah sitemap indeks. |
| Compression error | Google couldn’t uncompress Anda .gz. | Re-gzip correctly dan verify ini decompresses. |
| Incorrect namespace | root element adalah missing atau memiliki wrong namespace. | gunakan xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" (plus image/video/xhtml namespaces jika digunakan). |
| URL not allowed | URLs sit above sitemap’s tingkat atau pada sebuah berbeda domain (path/cross-submission mismatch). | Move sitemap up, atau verify both domains di Search Console; pertahankan children di/below indeks’s path. |
| Invalid URL | sebuah <loc> nilai isn’t sebuah valid, absolute URL. | gunakan fully-qualified absolute URLs; entity-escape & ' " < >. |
| URLs not accessible / not diikuti | Google hit sebuah error crawling listed URLs. | Confirm itu URLs kembalikan 200 dan aren’t robots-blocked. |
| Invalid date | buruk <lastmod> date format. | gunakan W3C / ISO-8601 dates. |
| Invalid / missing tag atau attribute, too banyak tags | Malformed atau duplicate XML. | Validate XML; hapus duplicate tags; supply diperlukan attributes. |
| Thumbnail too besar/kecil (video) | sebuah <video:thumbnail_loc> image fails size aturan. | gunakan ≥ 60×30 px di sebuah didukung format di sebuah stable, dapat di-crawl URL. |
lainnya dunia nyata gotchas: sebuah HTTP-vs-HTTPS atau www mismatch antara sitemap URLs
dan verified property triggers “URL not allowed” (terjemahan) “URL not allowed”; Google dapat sajikan stale
cached copy so perubahan aren’t instant; dan submitting children dan indeks adalah
harmless tetapi unnecessary.
alat untuk validating dan diagnosing sebuah sitemap
- Google indeks Checker — spot-periksa sebuah
spesifik URL dari Anda sitemap untuk observable indexability blockers
(kode status, redirects,
noindex, canonical signals) sebelum Anda assume sitemap itself adalah masalah. ini routes Anda untuk Search Console’s URL Inspection untuk Google’s actual, authoritative jawaban — ini alat hanya surfaces what’s terlihat dari outside. - Google Search Console — Sitemaps report — where Anda submit sebuah sitemap dan see what Google last fetched dan when; combine dengan halaman pengindeksan report (filtered oleh sitemap) untuk get terindeks-vs-not-terindeks split digunakan di cara mengukur tab above.
- Bing Webmaster alat — Sitemaps — equivalent submission dan status view untuk Bing; submit here di addition untuk Search Console, since two mesin track sitemaps independently.
- sebuah crawler (Ahrefs situs Audit, Screaming Frog) — cara untuk generate “actual canonical URL list” (terjemahan) “actual canonical URL list” Anda compare sebuah sitemap terhadap when memeriksa coverage completeness — sebuah sitemap validator confirms file adalah well-formed, tetapi hanya sebuah nyata crawl dari Anda situs tells Anda jika file adalah complete.
Resources worth Anda time
My related writing
- Enterprise SEO teknis — where automated, saat ini sitemaps fit ke managing sebuah besar situs.
- When seharusnya Anda Worry tentang anggaran crawling? — menggunakan sitemap sebagai sebuah clean inventory dari Anda dapat diindeks set.
- situs web Migration: Ultimate Guide — including keeping sebuah sitemap dari old URLs sekitar untuk watch them drop out dari indeks.
- JavaScript SEO Issues & Best Practices — when sitemaps penting sebagian besar (JS-dimuat konten dan framework sitemap modules).
My speaking
- How Search berfungsi (SlideShare) — my walkthrough dari crawling, rendering, pengindeksan, dan peringkat, where sitemaps live pada penemuan side. (Standing disclaimer: “This is my understanding of systems… not going to be 100% complete or accurate.” (terjemahan) “ini adalah my understanding dari sistem… not going untuk menjadi 100% complete atau accurate.”)
dari others
- Google’s Sitemaps overview dan bangun-sebuah-sitemap docs — primary source untuk everything pada ini halaman.
- sitemaps.org protocol — cross-mesin standard sitemap XML adalah dibangun pada.
- Bing Webmaster Blog: Keeping konten Discoverable dengan Sitemaps di AI-Powered Search — Bing’s saat ini take pada XML format preference,
lastmodimportance, dan sitemaps + IndexNow sebagai complementary. - Bing Webmaster Blog: Importance dari Setting lastmod Tag di Anda Sitemap — Fabrice Canel menjelaskan how Bing menggunakan
lastmoduntuk freshness assessment. - IndexNow documentation — push protocol untuk instantly notifying Bing, Yandex, dan others dari changed URLs (Google melakukan not participate).
- Google Search Console Sitemaps report help — full reference untuk setiap sitemap error dan status di Search Console.
- mesin pencari Journal: Google menjelaskan Why ini dapat Not gunakan Sitemap — covers John Mueller’s explanation dari when Google ignores submitted sitemaps.
- mesin pencari Roundtable: Google: sitemap XML adalah sebuah Minimal Baseline untuk apa pun Serious situs web — Barry Schwartz covering Mueller’s “minimal baseline” (terjemahan) “minimal baseline” stance.
Test yourself: Sitemaps
Five quick pertanyaan pada what sitemaps melakukan dan what belongs di them. Pick sebuah jawaban untuk setiap, lalu periksa.
Log perubahan
Diperbarui 28 Jul 2026.
Ringkasan editorial dan detail perubahan yang tercatat.Detail perubahan
-
Catatan perubahan terperinci saat ini tersedia dalam bahasa Inggris.
Perbandingan lengkap tidak tersedia — tidak ada cuplikan sebelumnya yang diarsipkan untuk revisi ini.