Türkçe çeviri: XML Sitemap

ne bir XML sitemap dır, onun anatomy, ignored tags (priority/changefreq), accurate lastmod, 50 000/50MB limits, hreflang in sitemaps, ve nasıl -e submit bir.

İlk yayın tarihi: 22 Haz 2026 · Son güncelleme: 8 Ağu 2026 · Advanced
Diller
Bu sayfada 1 kanıt sinyali

bir XML sitemap dır bir UTF-8 file listing canonical, indexable URLs siz iste arama motorları -e know hakkında — her in bir <url> block ile bir required <loc> ve bir optional <lastmod>. o yardımcı olur motorlar discover URLs ama yapmaz guarantee dizine ekleme; onun gerçek payoff dır submitted-vs-dizine eklenmiş diagnostic in arama Console. Google ignores <priority> ve <changefreq>, ve kullanır <lastmod> yalnızca ne zaman o's verifiably accurate (significant updates, değil bir blanket 'today'). bir sitemap caps at 50 000 URLs veya 50MB uncompressed — past şu siz split files ve reference them -den bir sitemap dizin. bençer yalnızca canonical, indexable, 200-status URLs; leaving bir URL out of sitemap değildir aynı olarak noindexing o. Sitemaps dır ayrıca easiest place -e manage hreflang ölçekte. Reference o in robots.txt ve submit o in arama Console ve Bing Webmaster araçlar.

TL;DR — bir XML sitemap bir UTF-8 file of canonical, indexable <loc> URLs, her optionally carrying bir <lastmod>. o aids discovery, değil dizine ekleme — payoff submitted-vs-dizine eklenmiş sinyal in arama Console. Google ignores <priority> ve <changefreq> ve kullanır <lastmod> yalnızca ne zaman bu verifiably accurate (significant updates, never bir blanket “today”). bir file caps at 50 000 URLs veya 50MB uncompressed — past şu, split ve kullan bir sitemap dizin. benzer yalnızca 200, canonical, indexable URLs; excluding bir URL değildir aynı olarak noindexing o. XML değildir yalnızca accepted format (RSS/Atom/txt çalışır de), ve sitemaps easiest place için manage hreflang ölçekte — gerçben şunlar annotations go live on bir lag, değil instantly. Reference o in robots.txt ve submit o in arama Console + Bing Webmaster araçlar.

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

ne bir XML sitemap aslında dır

bir XML sitemap bir file, yazılmış için sitemaps.org 0.9 protokol, şu listeler URLs on sizin site siz iste motorlar için know hakkında. Google’ın kendi definition: “bir sitemap bir file nerede siz provide information hakkında sayfalar, videos, ve diğer files on sizin site, ve relationships arasında them.” bu bir discovery aid ve bir coverage diagnostic — explicitly değil bir guarantee: “bir sitemap yardımcı olur arama motorlar discover URLs on sizin site, ama o yapmaz guarantee şu tümü items in sizin sitemap -ecek olmak tarandı ve dizine eklenmiş.”

şu framing önem taşır, çünkü bu nerede bir lot of effort alır misspent. sitemap değildir bir sıralama lever ve o değildir bir dizine ekleme command. burada’s bir annotated minimal örnek:

<?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 unambiguous burada: “The sitemap file must be UTF-8 encoded.” al encoding yanlış ve special characters break.
  • <urlset> + namespace — root element, ile xmlns="http://www.sitemaps.org/schemas/sitemap/0.9". namespace ne söyler parser bu bir sitemap; yanlış veya missing namespace bir yaygın arama Console error.
  • <url> — bir block per sayfa.
  • <loc> — required. “Use fully-qualified, absolute URLs in your sitemaps” — değil relative paths, ve altında ~2 048 characters. tümü values -meli olmak entity-escaped: & olur &amp;, ' olur &apos;, " olur &quot;, > olur &gt;, ve bir literal daha az—den olur &lt;.
  • <lastmod> — optional; date sayfa son significantly changed (daha on honesty kural 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

bu tek en çok out-of-date thing in en çok sitemap tutorials. Two legacy tags — <priority> ve <changefreq>ignored tarafından Google. Gary Illyes called priority “essentially a bag of noise,” ve John Mueller sahiptir said priority ve change frequency “yapmaz gerçekten play şu much of bir role ile Sitemaps anymore.” Bing sahiptir doğrulanmış aynı: changefreq ve priority no longer affect onun tarama veya sıralama. -ebilirsiniz leave them in (onlar yap no harm) veya strip them out — onlar basitçe yapmayın yap anything.

<lastmod> farklı — yapmayın lump o in ile ignored tags. Google yapar kullan <lastmod>, ama yalnızca ne zaman o trusts o, ve şu trust kabaca binary: either Google believes sizin dates veya o yapmaz. kural şu date -meli reflect bir significant change — “bir update için main içerik, structured data, veya bağlantılar on sayfa generally kabul edilen significant, ancak bir update için copyright date değildir.” başarısızlık mode ben see constantly stamping her URL ile today’s date on her oluştur. bu self-defeating: Mueller sahiptir called o “just lazy,” noting bu trivial için motorlar için recognize ve yalnızca yapar o harder için them için spot genuinely updated sayfalar. Lie çoğu zaman enough ve, in Google’s words, “eventually biz’re değil going için believe siz anymore.” Bing leans hatta harder on <lastmod> olarak bir freshness sinyal kaynaklı Google yapar — bu nedenle bir accurate date yardımcı olur siz on her ikisi motorlar, ve bir fake bir hurts siz on her ikisi.

Placement, naming, encoding, ve compression

  • Placement/naming. orada no required filename, ama /sitemap.xml at root convention. tarafından default bir sitemap yalnızca affects URLs at veya below onun kendi path, bu nedenle koru o high enough için kapsa everything o listeler. bir exception: -ebilirsiniz ana makine bir sitemap için bir farklı site -erseniz’ve verified ownership of şu site ve onun robots.txt işaret eder back için sitemap’s gerçek location — Google çbirğrılar bu cross-submission, ve bu mechanism behind bir sitemap dizin aggregating sitemaps hosted elsewhere.
  • Encoding. UTF-8, her zaman.
  • Compression. siz allowed için gzip bir sitemap (sun o olarak .xml.gz), hangi worth doing on büyük files. önemli nuance: ** 50MB cap measured uncompressed** — gzip saves bandwidth, değil headroom karşı size limit.

Limits → split + sitemap dizin

bir tek sitemap capped at 50 000 URLs veya 50MB uncompressed, whichever comes ilk. Google states o doğrudan: “tümü formats limit bir tek sitemap için 50MB (uncompressed) veya 50 000 URLs.” -dığınızda blow past either limit, siz split liste genelinde birden çok sitemap files ve reference them tümü kaynaklı bir sitemap dizin — bir sitemap of sitemaps. bu onun kendi sibling topic; kısa sürüm şu siz submit dizin, ve bir dizin olabilir işaret et at up için 50 000 child sitemaps, bu nedenle siz’ll never aslında çalıştır out of capacity.

hangi URLs için benzer — ve “exclude ≠ noindex”

benzer yalnızca URLs şu indexable, canonical, ve döndür 200. şu anlamına gelir no 3xx yönlendirmeler, no non-canonical duplicates, no noindex sayfalar, no robots-blocked URLs. bir temiz sitemap of tam olarak sizin indexable ayarla ne yapar arama Console submitted-vs-dizine eklenmiş comparison meaningful — pollute o ile junk ve siz’ve thrown away diagnostic.

Now mechanical işaret et kişiler al yanlış: excluding bir URL kaynaklı sizin sitemap yapar değil deindex o. sitemap bir advertisement, değil bir gate. Removing bir URL’s entry sadece stops siz advertising şu sayfa; eğer Google zaten knows hakkında o (via bağlantılar, history, veya başka bir kaynak) o stays in dizin. yalnızca mechanisms şu aslında kaldır bir sayfa bir noindex directive (ile tarama allowed bu nedenle Google olabilir see o), bir 404/410, veya removals araç. bu nedenle “take it out of the sitemap” never doğru yanıt için “how do I deindex this.”

Kabul edilen site haritası dosya biçimleri

XML değildir yalnızca format Google accepts — worth knowing bu nedenle siz yapmayın assume siz stuck hand-yazma XML. Google çbirğrılar XML ” en çok versatile of sitemap formats,” ama o ayrıca reads:

  • RSS 2,0 / Atom feeds — handy çünkü çok sayıda CMSs zaten publish bir; onlar carry sayfa URL’leri yalnızca.
  • mRSS — bir media RSS feed, kullanılan için video.
  • Plain text (.txt) — literally bir URL per line, web-sayfa URL’leri yalnızca, UTF-8.

XML hâlâ doğru default çünkü bu yalnızca format şu supports extensions (lastmod metadata, image, video, ve hreflang annotations). others URL-yalnızca.

Site haritalarında hreflang

-erseniz çalıştır bir multilingual veya multi-regional site, sitemap genellikle easiest place için manage hreflang — siz maintain whole language küme in bir file yerine injecting döndür-tags için her sayfa template. (bu bir of three valid places hreflang olabilir live; <head> ve HTTP headers others.)

nasıl bu implemented. her <url> alır xhtml:link rel="alternate" children, bir per language/region sürüm, ve siz 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>

** döndür-tag kural.** bu part şu bites kişiler. her <url> element -meli liste her alternate sürüm of sayfa — dahil itself. Google: “her <url> element -meli sahip bir child element <xhtml:link rel="alternate" hreflang="[supported_language-code]"> şu listeler her alternate sürüm of sayfa, dahil itself.” And it has to be bidirectional: “eğer sayfa X bağlantılar için sayfa Y, sayfa Y -meli bağlantı back için sayfa X. eğer bu değil durum için tümü sayfalar şu kullan hreflang annotations, şunlar annotations olabilir olmak ignored veya değil interpreted doğru biçimde.” ekle bir x-default entry için unmatched-language fallback. bir tek broken veya missing döndür-tag olabilir invalidate whole ayarla.

** cap counts <loc> URLs yalnızca.** bir relief için big international siteler: 50 000-URL limit counts yalnızca <loc> sayfa URL’leri, değil hreflang alternates. bu nedenle bir sitemap ile 50 000 sayfalar, her ile ten language alternates, hâlâ fits — bu location URLs şu count, değil alternative URLs.

ne zaman o aslında goes live — budget days, değil minutes. burada’s expectation için ayarla, ve bu mechanism yerine bir quotable line. Google parses sizin sitemap hreflang ne zaman o re-fetches sitemap, ama annotations yalnızca take effect once tümü URLs in ayarla sahip olmuş (re)tarandı ve döndür-tags reconciled karşı her diğer. şu anlamına gelir orada bir gerçek lag arasında publishing hreflang ve alternates olma honored, ve bir slow—e-recrawl veya broken URL in ayarla olabilir hold rest up. yapmayın expect o için flip on moment siz submit — plan için o için settle üzerinde days.

Reference o ve submit o

  • robots.txt — ekle bir Sitemap: line ile full absolute URL. bu ayrıca lets motorlar auto-discover o.
  • Google arama Console — Sitemaps rapor (veya arama Console API) birincil submission yöntem; bu ayrıca nerede siz okuyun submitted-vs-dizine eklenmiş diagnostic.
  • Bing Webmaster araçlar — submit orada de; Bing fetches o quickly ve rechecks regularly.

bir automation note kaynaklı nasıl ben think hakkında bu: bir sitemap -meli olmak generated automatically kaynaklı sayfalar siz aslında sahip, bu nedenle o stays güncel. bir hand-oluşturulmuş sitemap rots moment sizin site changes. siblings için bu sayfa — sitemaps overview, sitemap dizin için büyük siteler, ve image sitemap ve video sitemap extensions — kapsa rest of family, ve broader discovery topic ties sitemaps için diğer ways motorlar bul sizin URLs.

Add an expert note

Pin an expert quote

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