Hướng dẫn về Ecommerce XML Sitemaps
Generic sitemap advice breaks xuống tại catalog scale. Này là cách segment an ecommerce sitemap by loại, stay dưới đó 50 000-URL/50MB limits với một sitemap chỉ mục, decide điều gì happens để out-of-stock và discontinued sản phẩm URLs, giữ lastmod honest as inventory turns over daily, và pair sitemaps với IndexNow — plus vì sao splitting by category là cho monitoring, khôngân sách crawl.
Ngôn ngữ
1 tín hiệu bằng chứng trên trang này
- Công cụ trực tuyến liên quanXML Sitemap Validator
An ecommerce XML sitemap lists đó canonical URLs một store wants được crawl, split by nội dung loại (các sản phẩm, categories, brands, static các trang) dưới một sitemap chỉ mục. Đó hard limits bạn design khoảng: 50 000 URLs / 50MB theo file, lên để 50 000 files theo chỉ mục. Segmentation là cho monitoring trong Search Console và Bing Quản trị viên web Tools — không một crawl-budget hoặc xếp hạng lever (Mueller). Chỉ bao gồm canonical, indexable, 200-status URLs; giữ lastmod honest để đó cuối cùng significant thay đổi và bỏ qua priority/changefreq (Google bỏ qua cả hai). Đó differentiator hầu hết các hướng dẫn skip là out-of-stock và discontinued các sản phẩm: xử lý them với một được ghi lại cây quyết định (vĩnh viễn so với. tạm thời so với. unknown) và sync sitemap removal với internal-link cleanup, không blanket 404s. Automate generation so đó file không bao giờ goes stale, và pair lastmod với IndexNow cho fast price/stock thay đổi.
Tóm tắt — XML sitemap là list của bạn web addresses đó bạn hand trực tiếp để cácông cụ tìm kiếm so họ có thể tìm của bạn các trang. cho store với thousands của các sản phẩm, một big list nhận unwieldy, so bạn split nó vào tách biệt files — một cho các sản phẩm, một cho categories, và so on — all pointed để by single chỉ mục file. rules đó quan trọng phần lớn: chỉ list các trang bạn thực ra muốn trong Google, giữ list fresh tự động, và có clear plan cho Điều gì happens để sản phẩm link Khi nó goes out của stock hoặc nhận discontinued.
Điều gì XML sitemap là
cácông cụ tìm kiếm tìm của bạn các trang hai ways: by sau links, và by reading sitemap — file nơi bạn đơn giản list web addresses (các URL) bạn muốn them để know về. XML sitemap là đó list, được viết trong format được xây dựng cho machines thay vì mọi người. Evidence for this claim A sitemap tells search engines which site URLs are available for crawling. Scope: A sitemap helps discovery but does not guarantee crawling or indexing. Confidence: high · Verified: Google: Build and submit a sitemap
On nhỏ trang web, một sitemap file là plenty. On ecommerce store với thousands hoặc millions của các sản phẩm, đó nơi interesting các vấn đề bắt đầu.
Vì sao ecommerce sitemaps là khác
store catalog là big và nó thay đổi constantly — các sản phẩm sell out, come back, nhận discontinued, và nhận đã thêmỗi day. đó tạo three practical headaches thông thường sitemap hướng dẫn không bao giờ có để deal với:
- Size. single sitemap file có thể list tại phần lớn 50 000 các URL (hoặc là 50MB uncompressed). big catalog blows past đó, so bạn split nó vào multiple files và sử dụng sitemap chỉ mục — master file đó points để all others. Evidence for this claim Google limits a sitemap file to 50,000 URLs or 50 MB uncompressed. Scope: Larger sets must be split into multiple sitemaps, optionally referenced by an index. Confidence: high · Verified: Google: Build and submit a sitemap
- Freshness. nếu bạn generate sitemap by hand, nó goes out của date gần như immediately. nó có để là generated tự động.
- Stock thay đổi. Khi sản phẩm sells out hoặc nhận discontinued, bạn có để quyết định Điều gì happens để của nó trang và của nó sitemap entry — và những điều đó hai decisions nên là đã làm together, không riêng.
Cách split nó lên
phổ biến pattern là để làm tách biệt sitemap file cho mỗi loại của trang:
- Các sản phẩm
- Categories (cũng được gọi là collections)
- Brands
- Static các trang (của bạn homepage, về, blog, etc.)
Thì một sitemap chỉ mục file lists all of những. Đó main reason để split này way không magic SEO power — đây là so đó khi điều gì đó goes sai, bạn có thể see trong Google Search Console mà group of các trang có đó vấn đề (e.g. “half my product pages aren’t getting indexed” (bản dịch) «half my sản phẩm các trang không getting được lập chỉ mục»).
Điều gì để put trong nó — và Điều gì để leave out
chỉ list các trang bạn genuinely muốn để xuất hiện trên Google:
- Bao gồm: của bạn real sản phẩm các trang và category các trang đó bạn muốn được xếp hạng.
- Leave out: filter và loại URLs (như “sort by price” (bản dịch) «loại by price»), tracking links, các trang đó chuyển hướng nơi nào đó khác, các trang đó trả về an lỗi, và các trang bạn đã told Google không để chỉ mục.
out-của-stock câu hỏi
Đây là một phần lớn các hướng dẫn skip. Khi sản phẩm goes out của stock, bạn không có một câu trả lời — bạn có decision:
- Coming back soon? giữ trang (và của nó sitemap entry) trực tiếp. Offer “notify me” hoặc restock date.
- Đã biến mất cho good, nhưng có good replacement? chuyển hướng nó để replacement và xóa nó từ sitemap.
- Đã biến mất cho good, và trang vẫn nhận traffic hoặcó hữu ích reviews? nó có thể stay trực tiếp.
sai move là deleting mỗi out-của-stock sản phẩm và returning trang lỗi — đó có thể lose bạn thứ hạng đó là genuinely hard để win back.
Muốn kỹ thuật version — chính xác limits, sitemap-chỉ mục math cho millions của
SKUs, lastmod nuance, IndexNow, và đầy đủ discontinued-sản phẩm cây quyết định?
Switch để Nâng cao tab.
Tóm tắt — Segment ecommerce sitemap by loại (các sản phẩm / categories / brands / static) dưới một sitemap chỉ mục, và know Vì sao: nó monitoring tool cho Search Console và Bing Quản trị viên web Tools, không crawl-budget hoặc xếp hạng lever (Mueller). limits bạn design khoảng: 50 000 các URL / 50MB theo file, lên để 50 000 files theo chỉ mục, và — cho enterprise ceiling — GSC accepts lên để 500 sitemaps và Bing trạng thái của nó chỉ mục model scales để billions của các URL. chỉ bao gồm canonical, indexable, 200-status các URL; exclude facets, theo dõi params, thin variants, các chuyển hướng, 4xx, và noindex.
lastmodlà chỉ thuộc tính cả hai engines sử dụng — giữ nó honest để cuối cùng significant thay đổi; bỏ quapriorityvàchangefreq(Google explicitly bỏ qua cả hai). Automate generation so file không bao giờ goes stale, và pairlastmodvới IndexNow cho fast price/stock thay đổi. differentiator phần lớn các hướng dẫn skip: out-của-stock và discontinued các sản phẩm cần được ghi lại cây quyết định (vĩnh viễn so với. tạm thời so với. unknown), với sitemap removal synced để internal-link cleanup — không blanket 404s.
Vì sao generic sitemap advice breaks tại catalog scale
Mỗi “how to make a sitemap” (bản dịch) «cách làmột sitemap» bài viết covers đó giống nhau điều: đó 50 000-URL limit,
splitting vào an chỉ mục, excluding junk URLs, giữ lastmod chính xác. đó là all
đúng, và none of điều này là nơi an ecommerce store thực ra struggles. Đó store-scale
các vấn đề là operational: một catalog đó turns over daily, out-of-stock và
discontinued SKUs by đó thousand, near-duplicate size/color variants, và automation
đó âm thầm dừng đang chạy. Này piece assumes bạn đã có một sitemap và cần
để xử lý những.
Đó reason sitemaps earn của họ giữ hơn as một store grows là straightforward. Google: “Generally, on large sites it’s more difficult to make sure that every page is linked by at least one other page on the site.” (bản dịch) «Generally, trên các trang web lớn đây là hơn difficult để hãy bảo đảm đó mỗi trang là linked by ít nhất một other trang on đó site.» MỘT sitemap là cách bạn hãy bảo đảmột sản phẩm đó là dưới-linked internally vẫn nhận discovered. John Mueller có called XML sitemaps “a minimal baseline for any serious website.” (bản dịch) «một minimal baseline cho bất kỳ serious website.» Đó Mueller “minimal baseline” (bản dịch) «minimal baseline» line là relayed qua Công cụ tìm kiếm Roundtable coverage of an X/Twitter reply; treat điều này as reported, không một self-fetched chính quote.
hard limits bạn’re designing khoảng
sitemap giao thức caps single file và cho bạn sitemap chỉ mục để nhận past nó:
- Theo file: Google — “All formats limit a single sitemap to 50MB (uncompressed) or 50,000 URLs. If you have a larger file or more URLs, you must break your sitemap into multiple sitemaps.” (bản dịch) «All formats limit một single sitemap để 50MB (uncompressed) hoặc 50 000 URLs. Nếu bạn có một lớn hơn file hoặc hơn URLs, bạn phải break của bạn sitemap vào multiple sitemaps.» Evidence for this claim Each Google sitemap file is limited to 50,000 URLs or 50 MB uncompressed. Scope: Protocol and Search Console submission limits are separate constraints. Confidence: high · Verified: Google: Large sitemaps
- Sitemap chỉ mục: “A sitemap index file may have up to 50,000
loctags” (bản dịch) «MỘT sitemap chỉ mục file có thể có lên để 50 000loctags» — i.e. điều này có thể reference lên để 50 000 child sitemaps. Bạn có thể “submit up to 500 sitemap index files for each site in your Search Console account.” (bản dịch) «submit lên để 500 sitemap chỉ mục files cho mỗi site trong của bạn Search Console account.» - Bing stated ceiling là hơn generous vẫn: lên để 50 000 URLs theo file và 50 000 child files theo chỉ mục, so “a single sitemap index file can reference up to 2.5 billion URLs. At scale, multiple index files can support up to 2.5 trillion URLs across a domain, making this approach ideal for large, complex sites.” (bản dịch) «một single sitemap chỉ mục file có thể reference lên để 2,5 billion URLs. Tại scale, multiple chỉ mục files có thể hỗ trợ lên để 2,5 trillion URLs across một domain, đang làm này approach ideal cho lớn, phức tạp các trang.»
cho nearly mỗi store, practical takeaway là: 50 000 các URL theo file, split by loại, một chỉ mục. billions/trillions figures chỉ quan trọng nếu bạn’re architecting cho tens của millions của SKUs — nhưng họ tell bạn giao thức sẽ không là của bạn bottleneck.
Segmentation strategy — và Điều gì nó thực ra cho
Split catalog vào logical sitemap files — các sản phẩm, categories/collections, brands, static/CMS các trang — referenced by single chỉ mục. Ở đây part phần lớn các hướng dẫn nhận sai: họ imply đó splitting sitemap by loại improves ngân sách crawl hoặc nhận nhiều hơn các trang được lập chỉ mục. nó không. Mueller là rõ ràng đó Đây là diagnostic lựa chọn, không crawl lever:
- “The size & number of sitemap files generally won’t affect the crawling, unless your server is so bogged down that even fetching a handful of sitemap files would slow it down…” (bản dịch) «Đó size & number of sitemap files generally sẽ không ảnh hưởng đó crawling, trừ khi máy chủ của bạn là so bogged xuống đó even fetching một handful of sitemap files sẽ chậm điều này xuống…»
- “I generally recommend splitting a sitemap file into logical parts of your site so that you can monitor those parts individually…” (bản dịch) «I generally khuyến nghị splitting một sitemap file vào logical parts of trang web của bạn so đó bạn có thể monitor những parts individually…» Cả hai relayed qua Search Engine Journal’s báo cáo of một Reddit AMA; đó split-cho- monitoring point là đó operative một.
So đó payoff of một các sản phẩm sitemap tách biệtừ một categories sitemap là đó GSC Sitemaps báo cáo và Bing Quản trị viên web Tools cho thấy bạn một được gửi-so với-được lập chỉ mục ratio theo segment. Khi “product pages” (bản dịch) «sản phẩm các trang» cho thấy 40% được lập chỉ mục nhưng “category pages” (bản dịch) «category các trang» cho thấy 95%, bạn know chính xác nơi để look. Segmentation surfaces đó vấn đề; điều này không cách sửa điều này, và điều này không buy bạn ngân sách crawl.
Điều gì belongs trong sitemap — và Điều gì không
Google rule là đó toàn bộ filter: “Include the URLs in your sitemap that you want to see in Google’s search results. Google generally shows the canonical URLs in its search results, which you can influence with sitemaps.” (bản dịch) «Bao gồm đó URLs trong của bạn sitemap đó bạn muốn để see trong Google kết quả tìm kiếm. Google generally cho thấy đó canonical URLs trong của nó kết quả tìm kiếm, mà bạn có thể influence với sitemaps.» So một sitemap URL nên là canonical, indexable, và trả về một 200. Evidence for this claim Google recommends listing the canonical URLs that a site wants shown in Search. Scope: Sitemap inclusion is a canonicalization hint and does not override noindex or response status. Confidence: high · Verified: Google: Build and submit a sitemap
bao gồm: canonical sản phẩm các trang (PDPs), category/collection các trang bạn muốn được xếp hạng, brand các trang, indexable static các trang.
Exclude:
- Faceted / filtered / sorted URLs —
?sort=,?color=, filter combinations. Những belong trong của bạn facet strategy (block hoặc canonical), không đó sitemap. Joshua Hardwick Ahrefs sitemap hướng dẫn flags đó ecommerce-cụ thể version of này: đây là “worth checking for duplicate and near-duplicate pages on ecommerce sites as these often slip through the net.” (bản dịch) «worth kiểm tra cho duplicate và near-duplicate các trang on ecommerce các trang as những thường slip qua đó net.» - Session IDs và tracking parameters.
- Các chuyển hướng (3xx) và các lỗi (4xx / 410) — một sitemap of chuyển hướng URLs là một sitemap of URLs bạn là telling Google không để cho thấy.
noindexcác trang — contradicting yourself (submit + noindex) chỉ wastes crawl.- Thin near-duplicate variants. MỘTách biệt size/color URL với không unique nội dung
không nên là mộtách biệt sitemap entry — list đó canonical sản phẩm URL. Google
2024 sản phẩm-variants dữ liệu có cấu trúc (
ProductGroup/hasVariant/variesBy) là đó modern way để express đó một set of size/color options là một sản phẩm với variants thay vì N near-duplicate các trang; let đó, không đó sitemap, carry đó variant mối quan hệ.
Sản phẩm images ride on đó owning trang entry, không mộtách biệt list. không xây dựng một
standalone sitemap of image URLs — thêm an <image:image> block để đó canonical
sản phẩm URL’s own <url> entry dùng đó image sitemap extension. Google:
“Each <url> tag can contain up to 1,000 <image:image> tags” (bản dịch) «Mỗi <url> tag có thể contain lên để 1 000 <image:image> tags» — plenty cho một PDP
gallery. Evidence for this claim Product images can be added to an existing product URL entry with the image sitemap extension instead of a separate image sitemap. Scope: Each <url> entry can carry up to 1,000 <image:image> tags, and the images still have to be crawlable (not blocked by robots.txt) and, if served from another domain, verified in Search Console. Confidence: high · Verified: Google: Image sitemaps Hai crawlability
requirements đó là easy để miss tại catalog scale: không disallow đó image paths trong
robots.txt, và nếu sản phẩm images là phân phối từ mộtách biệt domain hoặc CDN, verify
đó host trong Search Console hoặc đó images sẽ không là picked lên. Mà variant image
nhận đó entry follows đó giống nhau canonical-architecture call as đó URL itself — attach
images để đó canonical sản phẩm entry, không để mỗi thin variant URL bạn đã đã
excluded trên.
out-của-stock và discontinued sản phẩm cây quyết định
Đây là nơi ecommerce sitemap bài viết có thể thực ra differentiate, vì gần như none của them xử lý nó với bất kỳ nuance — và nó chính xác decision đó determines liệu URL belongs trong sitemap. I’ve được viết đầy đủ framework on Ahrefs blog (Cách nên bạn Xử lý Out-của-Stock Các sản phẩm? nó Phụ thuộc), và có reason nó được gọi là “điều này phụ thuộc.” có không perfect giải pháp — job là để establish consistent rules aligned với của bạn business goals, không để memorize một câu trả lời.
decision splits on hai axes: là nó đã biến mất permanently hoặc temporarily, và làm trang vẫn có giá trị (traffic, reviews, hữu ích info)?
- Temporarily out, confirmed returning → giữ trang trực tiếp và trong sitemap. Offer restock estimate, waitlist, notify-me. không churn nó trong và out của sitemap on mỗi stock toggle — đó noise.
- Temporarily out, status unknown → deprioritize nó trong UI và liên kết nội bộ (reorder, filter nó xuống) thay vì pulling nó từ sitemap immediately. Premature removal risks Google treating trang as abandoned và losing thứ hạng đó là hard để win back.
- Permanently đã biến mất, good replacement tồn tại → 301 chuyển hướng để similar sản phẩm để bảo toàn giá trị liên kết, và xóa nó từ sitemap.
- Permanently đã biến mất, không replacement, nhưng trang vẫn earns traffic hoặcó hữu ích nội dung (reviews, buying hướng dẫn) → nó có thể stay trực tiếp và trong sitemap.
- Permanently đã biến mất, không giá trị → delete và trả về
404/410, và xóa nó từ sitemap.
MỘT cốt yếu operational point: removal là một coordinated cleanup, không một single sitemap edit. As I put điều này trong đó bài viết, “when redirecting a page, many systems will automatically remove internal links from categories, facets, sitemaps, and internal search pages” (bản dịch) «khi chuyển hướng một trang, nhiều các hệ thống sẽ tự động xóa liên kết nội bộ từ categories, facets, sitemaps, và internal tìm kiếm các trang» — so pull đó URL từ đó sitemap và sạch lên đó liên kết nội bộ đó point tại điều này (category modules, related-sản phẩm widgets, internal tìm kiếm) trong đó giống nhau workflow. MỘT dead URL đó là đã biến mấtừ đó sitemap nhưng vẫn linked từ twenty category các trang hasn’t thực sự đã cleaned lên.
và điều Google own hướng dẫn warns so với: không reflexively mass-404 mỗi discontinued sản phẩm. Google favors giữ URL trực tiếp với alternatives, hoặc chuyển hướng để relevant category, over blanket 404s — và nó warns so với generating lớn numbers của soft 404s. wall của newly-404’d sản phẩm các trang là chính xác pattern đó triggers đó.
Cập nhật frequency, lastmod, và automation
Automate generation. Này là non-negotiable on một catalog đó thay đổi daily. My standing advice on enterprise các trang là: “Add sitemaps. I would make sure this is automated. If you are asked to manually create them, you can do it, but just know that if it’s manual these will rarely be kept up-to-date.” (bản dịch) «Thêm sitemaps. I sẽ hãy bảo đảm này là automated. Nếu bạn là asked để manually tạo them, bạn có thể làm điều này, nhưng chỉ know đó nếu đây là manual những sẽ rarely là kept lên-để-date.» Bing có được ghi lại đó chính xác chế độ lỗi — “Too often, Bing discovers stalled sitemaps which have the same URLs listed for months – sometimes years” (bản dịch) «Cũng thường, Bing discovers stalled sitemaps mà có đó giống nhau URLs listed cho months – sometimes năm» — và khuyến nghị đó sitemap “should ideally be automatically generated at least once a day.” (bản dịch) «nên ideally là tự động generated ít nhất khi một day.»
lastmod là một thuộc tính đó matters. Cả hai Google và Bing actively sử dụng nó;
không ai dùng others. giữ nó honest:
- Google: “Google uses the
<lastmod>value if it’s consistently and verifiably (for example by comparing to the last modification of the page) accurate.” (bản dịch) «Google dùng đó<lastmod>giá trị nếu đây là consistently và verifiably (ví dụ by comparing để đó cuối cùng modification of đó trang) chính xác.» Và điều này nên “reflect the date and time of the last significant update to the page… 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.” (bản dịch) «reflect đó date và time of đó cuối cùng significant cập nhật để đó trang… an cập nhật để đó main nội dung, đó dữ liệu có cấu trúc, hoặc links on đó trang là generally considered significant, tuy nhiên an cập nhật để đó copyright date không phải.» - Bing là blunt về đó anti-pattern: “Do not set the
<lastmod>value set to the time you generate the sitemap.<lastmod>should be the date of the last modification of the content.” (bản dịch) «Không set đó<lastmod>giá trị set để đó time bạn generate đó sitemap.<lastmod>nên là đó date of đó cuối cùng modification of đó nội dung.» Dùng ISO 8601 với một time component.
Ở đây genuine gray area worth flagging: là price thay đổi hoặc stock-status flip
“significant” cập nhật? By Google definition (main nội dung / dữ liệu có cấu trúc / links),
bare price thay đổi là arguably không — nhưng nếu nó thay đổi của bạn Product dữ liệu có cấu trúc
(availability, price), đó closer để significant. My honest đọc: không try để
là clever về nó. không bump lastmod on mỗi trivial toggle (đó chỉ adds noise),
và không rely on lastmod alone để propagate nhạy cảm với thời gian price drop fast.
Pair lastmod với IndexNow cho fast-moving thay đổi. Bing frames đó hai as
complementary, không either/hoặc: “While real-time URL submission protocols such as
IndexNow help notify search engines of immediate content changes, sitemaps remain a
foundational signal for ensuring comprehensive URL coverage across your site.” (bản dịch) «Trong khi real-time URL submission các giao thức such as IndexNow help notify cácông cụ tìm kiếm of immediate nội dung thay đổi, sitemaps vẫn một foundational tín hiệu cho bảo đảm comprehensive URL coverage across trang web của bạn.» Và cho
AI-powered surfaces cụ thể: “The lastmod field in your sitemap remains a key
signal, helping Bing prioritize URLs for recrawling and reindexing, or skip them
entirely if the content hasn’t changed since the last crawl.” (bản dịch) «Đó lastmod trường trong của bạn sitemap vẫn một key tín hiệu, helping Bing prioritize URLs cho recrawling và reindexing, hoặc skip them hoàn toànếu đó nội dung hasn’t changed since đó cuối cùng crawl.» So: sitemap cho coverage
và daily freshness, IndexNow (Bing/Yandex/others — không Google) để push individual
price/stock flips không có đang chờ cho đó tiếp theo recrawl cycle.
Bỏ qua priority và changefreq
không spend engineering time maintaining những. Google là unambiguous: “Google ignores
<priority> and <changefreq> values.” (bản dịch) «Google bỏ qua <priority> và <changefreq> các giá trị.» Gary Illyes reportedly called đó priority
trường “essentially a bag of noise.” (bản dịch) «essentially một bag of noise.»
Đó Illyes line là relayed qua Công cụ tìm kiếm Roundtable SMX Advanced 2017
coverage, không một self-fetched chính nguồn; đó point stands regardless vì
Google tài liệu hiện tại say cả hai các trường là đã bỏ qua. Whatever giá trị của bạnền tảng
auto-populates cho những là harmless; chỉ không xây dựng logic để compute them.
Monitoring và diagnosis
Đây là Điều gì segmentation là cho:
- GSC Sitemaps báo cáo — theo-segment được gửi-so với-được lập chỉ mục. sản phẩm-sitemap ratio đó nhiều tệ hơn của bạn category sitemap points bạn straight tại sản phẩm-trang vấn đề (thin nội dung, blocked variants, canonical các vấn đề).
- Bing Quản trị viên web Tools — giống nhau segment-level view on Bing side, plus IndexNow submission status.
- GSC trang lập chỉ mục báo cáo — watch excluded buckets cho facet/parameter các URL ballooning, mà có nghĩ là của bạn facet strategy là leaking vào phát hiện.
- trang web crawl / audit (Ahrefs trang web Audit, Screaming Frog) — catch các sản phẩm vẫn cho thấy out-của-stock message, orphaned các sản phẩm không lâu hơn linked từ anywhere, và hỏng liên kết nội bộ left behind sau khi chuyển hướng hoặc removal.
Enterprise-scale architecture — worked shape
cho catalog trong millions của SKUs, plan hierarchy khoảng của bạn thực tế volume và submission ceilings thay vì bolting on files reactively:
/sitemap-index.xml ← the one index you submit to GSC + BWT
├── /sitemaps/products-1.xml (URLs 1–50,000)
├── /sitemaps/products-2.xml (50,001–100,000)
├── … products-N.xml (chunk every 50,000 canonical PDPs)
├── /sitemaps/categories.xml (all category / collection pages)
├── /sitemaps/brands.xml (all brand pages)
└── /sitemaps/static.xml (homepage, guides, policy pages)Tại 5M các sản phẩm đó ~100 sản phẩm sitemap files plus handful của others — well trong 50 000-files-theo-chỉ mục limit và GSC 500-sitemap acceptance. nếu bạn somehow exceed single chỉ mục (50 000 × 50 000 = 2,5B các URL), bạn split vào multiple chỉ mục files và submit mỗi. point là để size chunks lên front so daily regeneration chỉ rewrites mỗi file nội dung, và bạn không bao giờ có để re-architect tree vì bạn outgrew guess.
nơi điều này sits
Ecommerce sitemaps overlap heavily với các trang họ list. Điều gì belongs trong sitemap là decided by của bạn category-trang và faceted-navigation strategy (mà filtered các URL là canonical và indexable). Điều gì happens để URL Khi sản phẩm sells out là out-của-stock và discontinued-sản phẩm decision. và sitemap là một của several ways các crawler discover store — alongside liên kết nội bộ, IndexNow, và (cho Google Shopping) Merchant Center sản phẩm feed. sitemap không replace bất kỳ của những điều đó; nó coverage backstop đó làm sure không có gì nhận stranded.
AI summary
condensed take on Nâng cao version:
- ** ecommerce XML sitemap** lists canonical các URL store wants được crawl, split by nội dung loại (các sản phẩm / categories / brands / static) dưới một sitemap chỉ mục.
- Limits bạn design khoảng: 50 000 các URL / 50MB theo file; lên để 50 000 files theo chỉ mục; GSC accepts lên để 500 sitemaps; Bing trạng thái chỉ mục model scales để billions của các URL. giao thức sẽ không là của bạn bottleneck.
- Segmentation là monitoring tool, không crawl lever (Mueller): nó lets bạn see được gửi-so với-được lập chỉ mục theo segment trong GSC / Bing Quản trị viên web Tools. nó làm không buy ngân sách crawl hoặc thứ hạng.
- bao gồm canonical, indexable, 200-status các URL. Exclude facets, theo dõi params,
các chuyển hướng, 4xx/410, noindex, và thin near-duplicate variants (sử dụng Google 2024
ProductGroup/hasVariantvariant schema thay vì N variant các URL). Sản phẩm images go on owning sản phẩm entry qua<image:image>(lên để 1 000 theo URL) — không tách biệt image sitemap — và phải stay crawlable (robots.txt, cross-domain Search Console verification). - Out-của-stock / discontinued là differentiator: cây quyết định on vĩnh viễn so với. tạm thời và liệu trang vẫn có giá trị. Tạm thời-returning → giữ trực tiếp + trong sitemap; vĩnh viễn + good replacement → 301 + xóa; vĩnh viễn + vẫn valuable → giữ; vĩnh viễn + không giá trị → 404/410 + xóa. không mass-404 mọi thứ (Google warns so với soft-404 walls), và sync sitemap removal với internal-link cleanup.
lastmodlà chỉ thuộc tính cả hai engines sử dụng — giữ nó honest để cuối cùng significant thay đổi (ISO 8601 với time); bare price/stock flip là gray area. Bỏ quapriority/changefreq(Google bỏ qua cả hai).- Automate generation (daily) so nó không bao giờ goes stale, và pair
lastmodvới IndexNow (Bing/Yandex — không Google) cho fast price/stock thay đổi.
Tài liệu chính thức
Chính-nguồn tài liệu từ cácông cụ tìm kiếm.
- Xây dựng và Submit một Sitemap — đó 50 000-URL/50MB limit, “include the URLs you want in results,” (bản dịch) «bao gồm đó URLs bạn muốn trong kết quả,»
lastmodhướng dẫn, và đópriority/changefreqđã bỏ qua note. - Manage Của bạn Sitemaps Với Sitemap Chỉ mục Files — splitting past đó size limits; lên để 50 000
loctags theo chỉ mục; 500 sitemaps theo Search Console account. - Điều gì Là một Sitemap — vì sao lớn các trang cần một (hard để link mỗi trang internally).
- Sản phẩm variants dữ liệu có cấu trúc (2024) —
ProductGroup/hasVariant/variesBycho size/color variants, đó modern alternative để N near-duplicate variant URLs. - Image sitemaps — đó
<image:image>extension cho attaching sản phẩm images để của họ owning URL entry, đó 1 000-images-theo-entry limit, và crawlability/verification requirements.
Bing / Microsoft
- Giữ Nội dung Discoverable với Sitemaps trong AI Powered Tìm kiếm (July 2025) — đó hiện tại, ecommerce-named hướng dẫn: chỉ mục-file capacity,
lastmodas một freshness tín hiệu, và IndexNow as một complement. - Sitemaps – 4 Basics để Nhận Bạn Đã bắt đầu (Có thể 2016) — daily automated generation, đó “stalled sitemaps” (bản dịch) «stalled sitemaps» chế độ lỗi, và đó
lastmodanti-pattern. - IndexNow / indexnow.org — đó push giao thức cho signaling changed URLs (Bing/Yandex/others; Google không dùng điều này cho chung các trang).
Quotes từ nguồn
On—record statements từ Google và Bing. mỗi link là deep link đó jumps để quoted passage on nguồn trang nơi trang cho phép nó.
Google — sitemap limits & Điều gì để bao gồm
- “All formats limit a single sitemap to 50MB (uncompressed) or 50,000 URLs. If you have a larger file or more URLs, you must break your sitemap into multiple sitemaps.” (bản dịch) «All formats limit một single sitemap để 50MB (uncompressed) hoặc 50 000 URLs. Nếu bạn có một lớn hơn file hoặc hơn URLs, bạn phải break của bạn sitemap vào multiple sitemaps.» Jump để quote
- “A sitemap index file may have up to 50,000
loctags.” (bản dịch) «MỘT sitemap chỉ mục file có thể có lên để 50 000loctags.» Jump để quote - “Include the URLs in your sitemap that you want to see in Google’s search results. Google generally shows the canonical URLs in its search results, which you can influence with sitemaps.” (bản dịch) «Bao gồm đó URLs trong của bạn sitemap đó bạn muốn để see trong Google kết quả tìm kiếm. Google generally cho thấy đó canonical URLs trong của nó kết quả tìm kiếm, mà bạn có thể influence với sitemaps.» Jump để quote
- “Generally, on large sites it’s more difficult to make sure that every page is linked by at least one other page on the site.” (bản dịch) «Generally, trên các trang web lớn đây là hơn difficult để hãy bảo đảm đó mỗi trang là linked by ít nhất một other trang on đó site.» Jump để quote
Google — lastmod, priority, changefreq
- “Google uses the
<lastmod>value if it’s consistently and verifiably (for example by comparing to the last modification of the page) accurate.” (bản dịch) «Google dùng đó<lastmod>giá trị nếu đây là consistently và verifiably (ví dụ by comparing để đó cuối cùng modification of đó trang) chính xác.» Jump để quote - “Google ignores
<priority>and<changefreq>values.” (bản dịch) «Google bỏ qua<priority>và<changefreq>các giá trị.» Jump để quote - “Each
<url>tag can contain up to 1,000<image:image>tags.” (bản dịch) «Mỗi<url>tag có thể contain lên để 1 000<image:image>tags.» Đọc đó tài liệu
Bing / Microsoft
- “If you manage a large-scale website, ecommerce platform, or content-rich publishing site, taking full advantage of these limits allows you to ensure all your relevant URLs are discoverable — even at enterprise scale.” (bản dịch) «Nếu bạn manage một lớn-scale website, ecommerce nền tảng, hoặc nội dung-rich xuất bản site, taking đầy đủ advantage of những limits cho phép bạn bảo đảm all của bạn relevant URLs là discoverable — even tại enterprise scale.» — Fabrice Canel & Krishna Madhavan, Bing Quản trị viên web Blog, July 2025. Jump để quote
- “The
lastmodfield in your sitemap remains a key signal, helping Bing prioritize URLs for recrawling and reindexing, or skip them entirely if the content hasn’t changed since the last crawl.” (bản dịch) «Đólastmodtrường trong của bạn sitemap vẫn một key tín hiệu, helping Bing prioritize URLs cho recrawling và reindexing, hoặc skip them hoàn toànếu đó nội dung hasn’t changed since đó cuối cùng crawl.» Jump để quote - “While real-time URL submission protocols such as IndexNow help notify search engines of immediate content changes, sitemaps remain a foundational signal for ensuring comprehensive URL coverage across your site.” (bản dịch) «Trong khi real-time URL submission các giao thức such as IndexNow help notify cácông cụ tìm kiếm of immediate nội dung thay đổi, sitemaps vẫn một foundational tín hiệu cho bảo đảm comprehensive URL coverage across trang web của bạn.» Jump để quote
- “Do not set the
<lastmod>value set to the time you generate the sitemap.<lastmod>should be the date of the last modification of the content.” (bản dịch) «Không set đó<lastmod>giá trị set để đó time bạn generate đó sitemap.<lastmod>nên là đó date of đó cuối cùng modification of đó nội dung.» — Bing Quản trị viên web Blog, Có thể 2016. Đọc đó post
John Mueller, Google — sitemap size & splitting
- “The size & number of sitemap files generally won’t affect the crawling…” (bản dịch) «Đó size & number of sitemap files generally sẽ không ảnh hưởng đó crawling…» và “I generally recommend splitting a sitemap file into logical parts of your site so that you can monitor those parts individually…” (bản dịch) «I generally khuyến nghị splitting một sitemap file vào logical parts of trang web của bạn so đó bạn có thể monitor những parts individually…» Relayed qua Search Engine Journal’s báo cáo of một Reddit AMA (coverage); xác nhận so với đó original AMA trước treating as verbatim.
- XML sitemaps là “a minimal baseline for any serious website.” (bản dịch) «một minimal baseline cho bất kỳ serious website.» Relayed qua Công cụ tìm kiếm Roundtable coverage of an X/Twitter reply; không một self-fetched chính quote — re-verify đó chính xác wording trước quoting.
Gary Illyes, Google
- Đó
prioritytrường là “essentially a bag of noise.” (bản dịch) «essentially một bag of noise.» Relayed qua Công cụ tìm kiếm Roundtable SMX Advanced 2017 coverage; không một self-fetched chính nguồn. Google tài liệu hiện tại independently state cả haipriorityvàchangefreqlà đã bỏ qua.
nên điều này sản phẩm URL là trong sitemap?
Walk sản phẩm qua điều này Khi của nó status thay đổi. sitemap decision falls out của trang decision — quyết định Điều gì happens để trang đầu tiên, sau đó sitemap follows.
Is the product out of stock or being removed?
│
├─ Temporarily out of stock
│ ├─ Confirmed coming back
│ │ → KEEP the page live + KEEP in sitemap
│ │ (add restock date / notify-me; don't churn it in and out)
│ └─ Status unknown
│ → KEEP the page live + KEEP in sitemap for now
│ (deprioritize in UI + internal links; don't yank it prematurely)
│
└─ Permanently gone / discontinued
├─ A good replacement product exists
│ → 301 REDIRECT to the replacement + REMOVE from sitemap
│ (also clean up internal links pointing at the old URL)
├─ No replacement, but the page still earns traffic or has
│ useful content (reviews, a buying guide)
│ → KEEP the page live + KEEP in sitemap
└─ No replacement, no residual value
→ 404 / 410 + REMOVE from sitemap
(but DON'T mass-404 the whole discontinued catalog at once —
prefer redirect-to-category where a sensible one exists)Hai rules đó apply để mỗi “xóa” branch:
- Removing từ sitemap là coordinated cleanup — cũng strip liên kết nội bộ (category modules, related-sản phẩm widgets, internal tìm kiếm) đó point tại dead URL, hoặc bạn’ve chỉ half-đã xóa nó.
- cho nhạy cảm với thời gian thay đổi ( price drop, flash restock), không chờ on daily
sitemap regeneration — ping IndexNow so Bing/Yandex recrawl URL hiện tại.
sitemap
lastmodlà batch/coverage tín hiệu; IndexNow là thực-time nudge.
Ecommerce sitemap checklist
Structure
- Sitemap split by loại — các sản phẩm, categories/collections, brands, static — dưới một sitemap chỉ mục.
- mỗi file dưới 50 000 các URL và 50MB (uncompressed).
- chỉ mục là được gửi trong Google Search Console và Bing Quản trị viên web Tools.
- Sản phẩm sitemaps chunked tại fixed size so daily regeneration chỉ rewrites nội dung (không re-architecting as bạn grow).
Nội dung
- chỉ canonical, indexable, 200-status các URL.
- Không facet/filter/loại các URL, session IDs, hoặc theo dõi parameters.
- Không các chuyển hướng (3xx), 4xx/410, hoặc
noindexcác trang. - Không thin near-duplicate size/color variant các URL (sử dụng canonical sản phẩm URL;
express variants với
ProductGroup/hasVariantschema). - Sản phẩm images đã thêm qua
<image:image>on canonical sản phẩm entry (lên để 1 000 theo URL) — không tách biệt image sitemap — và không blocked byrobots.txt.
Freshness
- Generation là automated (ít nhất daily) — không manual file đó goes stale.
-
lastmodreflects cuối cùng significant nội dung thay đổi, không cron timestamp. -
lastmoddùng ISO 8601 với time component. -
priorityvàchangefreqlà không hand-maintained (cả hai là đã bỏ qua). - IndexNow wired lên cho fast price/stock thay đổi (Bing/Yandex).
Out-của-stock / discontinued
- được ghi lại rule đặt (vĩnh viễn so với. tạm thời so với. unknown) tồn tại — không quảng cáo hoc.
- Temporarily-out, returning các sản phẩm stay trực tiếp và trong sitemap.
- Vĩnh viễn removals 301 để replacement (hoặc 404/410 với không giá trị) và URL là pulled từ sitemap và liên kết nội bộ là cleaned lên together.
- Không mass-404 wall của discontinued các sản phẩm.
Monitor
- GSC Sitemaps báo cáo checked theo segment (được gửi so với. được lập chỉ mục).
- GSC trang lập chỉ mục watched cho facet/parameter URL bloat.
- trang web audit chạy cho out-của-stock messages, orphaned các sản phẩm, và hỏng internal links left sau khi removals.
mental models
1. sitemap là hint, không directive. Submitting URL asks Google để cân nhắc nó; nó không force crawling hoặc lập chỉ mục. nếu các sản phẩm trong của bạn sitemap không phải getting được lập chỉ mục, khắc phục là upstream — liên kết nội bộ, nội dung quality, các tín hiệu canonical — không bigger hoặc nhiều hơn granular sitemap. Segmentation surfaces vấn đề; nó không solve nó.
2. Split cho monitoring, khôngân sách crawl. chỉ reason các sản phẩm sitemap là tách biệtừ categories sitemap là so GSC và Bing hiển thị bạn được gửi-so với-được lập chỉ mục theo segment. có không crawl-budget hoặc xếp hạng bonus cho splitting. (Đây là single phần lớn phổ biến myth để unlearn.)
3. lastmod là chỉ thuộc tính đó earns của nó giữ.
giữ nó honest để cuối cùng significant thay đổi và cả hai engines sẽ sử dụng nó để prioritize
recrawls. priority và changefreq là đã bỏ qua — không xây dựng logic cho them.
4. Đó sitemap decision follows đó trang decision. Không bao giờ decide “is this URL in the sitemap?” (bản dịch) «là này URL trong đó sitemap?» trong isolation. Decide điều gì happens để đó trang (giữ / chuyển hướng / 404) dựa trên vĩnh viễn-so với-tạm thời và residual giá trị; đó sitemap entry thì follows tự động.
5. Removal là workflow, không edit. Pulling URL từ sitemap không có removing/chuyển hướng liên kết nội bộ đó point tại nó là half job. Treat sitemap cleanup, internal-link cleanup, và chuyển hướng/404 as một atomic operation.
6. Sitemap = coverage; IndexNow = immediacy. sitemap (với daily regeneration) là Cách bạn submit comprehensive URL coverage cho phát hiện — nó không bảo đảm crawling hoặc lập chỉ mục, chỉ đó không có gì là bị thiếu từ list. IndexNow pushes individual nhạy cảm với thời gian thay đổi hiện tại. họ’re complements — sử dụng cả hai, không một thay vì khác.
Ecommerce sitemap — bảng tra nhanh
** hard limits**
| Constraint | Giá trị |
|---|---|
| các URL theo sitemap file | 50 000 |
| Size theo sitemap file (uncompressed) | 50 MB |
| Child sitemaps theo chỉ mục file | 50 000 |
| Sitemaps submittable theo GSC account | 500 |
| Bing single-chỉ mục ceiling (stated) | ~2,5 billion các URL |
Sitemap các thuộc tính
| Thuộc tính | Làm engines sử dụng nó? | Verdict |
|---|---|---|
lastmod | Có (Google + Bing) | giữ honest để cuối cùng significant thay đổi; ISO 8601 w/ time |
priority | Không — Google bỏ qua | không maintain |
changefreq | Không — Google bỏ qua | không maintain |
Trong sitemap hoặc không?
| URL loại | Trong sitemap? |
|---|---|
| Canonical sản phẩm trang (200) | Có |
| Category / brand / static trang (200, indexable) | Có |
| Facet / filter / loại URL | Không |
| Session / theo dõi parameter URL | Không |
| chuyển hướng (3xx) | Không |
| 4xx / 410 | Không |
noindex trang | Không |
| Thin size/color variant | Không — list canonical sản phẩm; sử dụng variant schema |
Out-của-stock → hành động
| Situation | trang | Sitemap |
|---|---|---|
| Temp out, returning | giữ trực tiếp | giữ |
| Temp out, unknown | giữ trực tiếp, deprioritize trong UI | giữ (cho hiện tại) |
| Vĩnh viễn, good replacement | 301 chuyển hướng | Xóa |
| Vĩnh viễn, vẫn valuable | giữ trực tiếp | giữ |
| Vĩnh viễn, không giá trị | 404 / 410 | Xóa |
Fast facts
- Splitting by loại = monitoring, khôngân sách crawl (Mueller).
- Automate generation daily — stale sitemaps là được ghi lại ecommerce thất bại chế độ.
- IndexNow (Bing/Yandex, không Google) cho thực-time price/stock pushes.
- không mass-404 discontinued các sản phẩm — ưu tiên chuyển hướng-để-category nơi sensible.
Worked các ví dụ
** minimal sitemap chỉ mục cho store**
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemaps/products.xml</loc>
<lastmod>2026-07-03T09:15:00-04:00</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemaps/categories.xml</loc>
<lastmod>2026-07-02T22:00:00-04:00</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemaps/brands.xml</loc>
<lastmod>2026-06-30T22:00:00-04:00</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemaps/static.xml</loc>
<lastmod>2026-06-28T14:00:00-04:00</lastmod>
</sitemap>
</sitemapindex>** sản phẩm sitemap entry — lastmod là honest**
<url>
<loc>https://example.com/products/trail-runner-x2/</loc>
<lastmod>2026-07-01T11:42:00-04:00</lastmod>
</url>Note có không priority hoặc changefreq — họ’re đã bỏ qua, so họ’re không worth
bytes. lastmod ở đây reflects genuine nội dung cập nhật ( spec thay đổi), không time
file là generated.
** big catalog, chunked**
cho 5 000 000 các sản phẩm, các sản phẩm segment là ~100 files, mỗi capped tại 50 000 các URL:
/sitemap-index.xml
├── /sitemaps/products-001.xml (URLs 1–50,000)
├── /sitemaps/products-002.xml (50,001–100,000)
├── …
├── /sitemaps/products-100.xml (4,950,001–5,000,000)
├── /sitemaps/categories.xml
├── /sitemaps/brands.xml
└── /sitemaps/static.xmlđó ~103 files dưới 50 000-theo-chỉ mục limit và well dưới GSC 500-sitemap acceptance — bạn không bao giờ có để re-architect vì bạn outgrew guess.
** discontinued sản phẩm, handled hai ways**
# Discontinued, but the newer model is a clean replacement:
GET /products/trail-runner-x1/ → 301 → /products/trail-runner-x2/
→ remove /products/trail-runner-x1/ from products.xml
→ remove internal links to it from category + related-product modules
# Discontinued, no replacement, still ranks for reviews:
GET /products/legacy-headlamp/ → 200 (kept live, "no longer available" + alternatives)
→ stays in products.xml Tools cho ecommerce sitemaps
- Google Search Console — Sitemaps báo cáo — submit chỉ mục, và đọc được gửi-so với-được lập chỉ mục theo segment (Đây là Vì sao bạn split by loại).
- GSC — trang lập chỉ mục báo cáo — watch excluded buckets cho facet/parameter các URL leaking vào phát hiện.
- Bing Quản trị viên web Tools — Bing-side sitemap submission và theo-segment view, plus IndexNow submission status.
- IndexNow — push individual changed sản phẩm các URL (price/stock) để Bing/Yandex/others không có đang chờ on tiếp theo recrawl. (không Google.)
- của bạnền tảng sitemap generator — Shopify, Adobe Commerce/Magento, WooCommerce, BigCommerce và others generate segmented sitemaps tự động; point là để sử dụng automation, không hand-maintain files.
- Ahrefs trang web Audit — tìm các sản phẩm vẫn cho thấy out-của-stock message, orphaned các sản phẩm không lâu hơn linked anywhere, và hỏng liên kết nội bộ left sau khi chuyển hướng hoặc removal.
- Screaming Frog SEO Spider — crawl sitemap, xác nhận mỗi URL trả về 200 và là canonical/indexable, và catch các chuyển hướng hoặc 4xx đó slipped vào file.
Ecommerce sitemap mistakes để tránh
Listing mỗi URL nền tảng có thể generate
Vì sao nó fails: các chuyển hướng, non-canonical facets, các lỗi, và noindexed các trang làm
sitemap contradict trang web lập chỉ mục intent. Làm thay vì: emit chỉ canonical,
indexable các URL đó trả về 200.
Treating lastmod as daily ping
Vì sao nó fails: thay đổi date không có significant trang thay đổi làm tín hiệu
untrustworthy. Làm thay vì: cập nhật lastmod từ underlying material nội dung,
price, availability, hoặc structured-dữ liệu thay đổi.
Splitting files và calling nó crawl-budget khắc phục
Vì sao nó fails: segmentation improves diagnosis, không xếp hạng hoặc crawl allocation by itself. Làm thay vì: split by hữu ích trang loại và sử dụng mỗi segment được gửi và được lập chỉ mục kết quả để locate các vấn đề.
Leaving được chuyển hướng hoặc discontinued các sản phẩm trong feed
Vì sao nó fails: sitemap nên mô tả hiện tại canonical destinations, không lịch sử inventory. Làm thay vì: cập nhật sản phẩm state, liên kết nội bộ, và sitemap entry as một operation.
phổ biến ecommerce sitemap các vấn đề
Search Console không thể fetch sitemap
có khả năng nguyên nhân: sitemap hoặc chỉ mục child là blocked, requires authentication, times
out, hoặc trả về sai status. khắc phục: yêu cầu được gửi URL as unauthenticated
client, follow của nó child references, và xác nhận mỗi trả về 200 XML từ dự kiến
host.
Được gửi các URL là mostly không được lập chỉ mục
có khả năng nguyên nhân: file contains các chuyển hướng, non-canonical các trang, thin hoặc duplicate các sản phẩm, các lỗi, hoặcác URL blocked từ lập chỉ mục. khắc phục: sample affected segment, reconcile của nó status, canonical, robots directives, và liên kết nội bộ, sau đó khắc phục trang state thay vì resubmitting unchanged XML.
lastmod dates không match thực thay đổi
có khả năng nguyên nhân: generation time là là được viết cho mỗi URL. khắc phục: connect lastmod
để cuối cùng significant record hoặc trang thay đổi và leave nó unchanged Khi chỉ sitemap
file regenerated.
Sản phẩm các URL vẫn sau khi discontinuation
có khả năng nguyên nhân: inventory lifecycle events không phải connected để sitemap generation. khắc phục: define giữ, chuyển hướng, hoặc xóa decision trong sản phẩm hệ thống và regenerate affected segment từ canonical inventory.
Prompts cho ecommerce sitemap review
Reconcile sitemap sample
Paste các hàng containing sitemap segment, URL, status, canonical, robots directive, availability, và internal inlinks.
Audit this ecommerce sitemap sample. Classify each URL as keep, investigate, redirect and
remove, or remove. Use only the supplied status, canonical, robots, availability, and
inlink evidence. State which field caused each classification. Do not infer index status
or product permanence when those fields are absent.Design hữu ích segmentation
Paste catalog trang types và approximate hiện tại URL được tính.
Propose an XML sitemap index organized for diagnosis. Keep product, category, brand, and
static page types distinguishable; split any file that would exceed protocol limits.
Explain what Search Console problem each segment would help isolate. Do not claim that
segmentation improves rankings or crawl budget by itself. Scripts cho inspecting sitemap files
Fetch các header và validate XML syntax
curl -I 'https://www.example.com/sitemap-index.xml'
curl -sS 'https://www.example.com/sitemap-index.xml' | xmllint --noout -Replace ví dụ host với trang web bạn control. thành công syntax kiểm tra proves chỉ đó XML parses, không đó của nó các URL là canonical hoặc indexable.
Extract child sitemap locations
curl -sS 'https://www.example.com/sitemap-index.xml' \
| xmllint --xpath '//*[local-name()="sitemap"]/*[local-name()="loc"]/text()' -yêu cầu mỗi được trả về URL riêng so một healthy chỉ mục không hide failing child.
Count các URL không có loading them trong trình duyệt
curl -sS 'https://www.example.com/sitemaps/products.xml' \
| xmllint --xpath 'count(//*[local-name()="url"])' -count helps kiểm tra file sizing. nó không replace status, canonical, và directive validation on listed các URL.
Prove sitemap thay đổi hoạt động
Sitemap chỉ mục integrity kiểm thử
Kiểm thử để chạy: validate chỉ mục với XML Sitemap Validator
và yêu cầu mỗi referenced child. Dự kiến kết quả: hợp lệ XML, reachable 200
các phản hồi, và chỉ giống nhau-trang web dự kiến sitemap locations. thất bại interpretation:
deployment produced malformed XML hoặc hỏng child reference. Monitoring window:
immediate sau khi generation. Rollback trigger: được gửi chỉ mục hoặc bắt buộc segment
becomes không khả dụng.
URL-state parity kiểm thử
Kiểm thử để chạy: sample đã thêm và đã xóa sản phẩm các URL với Indexation
Reconciler hoặc crawler export. Dự kiến kết quả: listed
các URL là canonical, indexable 200 các trang; các chuyển hướng và các lỗi là absent. thất bại
interpretation: sitemap generation và sản phẩm lifecycle logic disagree. Monitoring
window: immediate sau khi regeneration và again sau khi tiếp theo inventory sync. Rollback
trigger: phát hành xóa trực tiếp canonical inventory hoặc adds lớn unintended URL class.
Honest lastmod kiểm thử
Kiểm thử để chạy: so sánh changed lastmod các giá trị với underlying catalog thay đổi log.
Dự kiến kết quả: dates move chỉ cho materially changed các trang. thất bại interpretation:
generation time là masquerading as modification time. Monitoring window: across tại
least một thông thường regeneration cycle. Rollback trigger: phần lớn entries thay đổi không có
corresponding trang thay đổi.
Standing ecommerce sitemap các chỉ số
Hợp lệ canonical URL rate
Chỉ số: share của listed các URL đó trả về 200, là indexable, và là self-canonical.
Điều gì nó tells bạn: liệu sitemap accurately mô tả dự kiến inventory. Cách
để pull nó: recurring crawl hoặc Indexation Reconciler export by sitemap segment.
Benchmark / realistic range: desired state là all được gửi các URL đáp ứng rule;
classify bất kỳ exception thay vì hiding nó trong average. Cadence: weekly cho rapidly
thay đổi catalogs và sau khi generator releases.
Được gửi-versus-được lập chỉ mục trend by segment
Chỉ số: được gửi và được lập chỉ mục được tính cho sản phẩm, category, brand, và static segments. Điều gì nó tells bạn: nơi indexation diverges by template. Cách pull nó: Tìm kiếm Console sitemap và trang lập chỉ mụcác báo cáo. Benchmark / realistic range: so sánh mỗi segment với của nó own history và eligibility; submission không phải bảo đảm của lập chỉ mục. Cadence: weekly, reviewed monthly.
Sitemap freshness lag
Chỉ số: time giữa significant catalog thay đổi và của nó chính xác sitemap state.
Điều gì nó tells bạn: liệu automation reflects launches, stock state, các chuyển hướng, và
removals promptly. Cách pull nó: so sánh catalog event timestamps, sitemap lastmod,
và generation nhật ký. Benchmark / realistic range: đặt operational service level
dựa trên xuất bản frequency thay vì inventing SEO ngưỡng. Cadence: weekly
operations review.
các tài nguyên worth của bạn time
My writing
- Cách nên bạn Xử lý Out-của-Stock Các sản phẩm? nó Phụ thuộc — đầy đủ decision framework (vĩnh viễn so với. tạm thời so với. unknown, chuyển hướng so với. 404 so với. leave-trực tiếp) đó drives sitemap-inclusion call. Đây là piece phần lớn sitemap các hướng dẫn skip.
- Enterprise SEO Strategies cho Maximum Growth — Vì sao sitemap generation có để là automated tại scale, và crawl-budget framing cho lớn, frequently-đã cập nhật catalogs.
- Người mới bắt đầu Hướng dẫn để kỹ thuật SEO — nơi sitemaps và phát hiện fit trong bigger kỹ thuật picture.
My speaking
- Cách Tìm kiếm Hoạt động (SlideShare) — my walkthrough of phát hiện, crawling, kết xuất, và lập chỉ mục, of mà sitemaps là đó phát hiện backstop. (Standing disclaimer: “This is my understanding of systems… not going to be 100% complete or accurate.” (bản dịch) «Này là my understanding of các hệ thống… không going để là 100% hoàn tất hoặc chính xác.»)
Từ khoảng đó ngành
- Cách Tạo an XML Sitemap (và Submit Điều này để Google) — Joshua Hardwick, Ahrefs — đó mechanics, plus đó ecommerce note để kiểm tra cho duplicate/near-duplicate các trang đó slip vào sitemaps.
- Faceted Navigation: Definition, Các ví dụ & SEO Thực hành tốt nhất — Sam Underwood, Ahrefs — mà filtered URLs để giữ out of (hoặcó chủ ý thêm để) đó sitemap.
- Google John Mueller Says Có Không Ideal Size cho Sitemaps — Search Engine Journal — đó “split for monitoring, not crawling” (bản dịch) «split cho monitoring, không crawling» point.
- Giữ Nội dung Discoverable với Sitemaps trong AI Powered Tìm kiếm — Bing Quản trị viên web Blog (Fabrice Canel & Krishna Madhavan) — đó hiện tại, ecommerce-named chính thức hướng dẫn và đó IndexNow-alongside-sitemaps framing.
- Sitemaps – 4 Basics để Nhận Bạn Đã bắt đầu — Bing Quản trị viên web Blog — đó “stalled sitemaps for months, sometimes years” (bản dịch) «stalled sitemaps cho months, sometimes năm» chế độ lỗi và đó
lastmodanti-pattern. - Xử lý Out of Stock & Đã xóa Sản phẩm Các trang — Matthew Edgar — an independent kỹ thuật-SEO take on vì sao premature removal risks losing hard-won thứ hạng.
Tự kiểm tra: Ecommerce XML Sitemaps
Five nhanh cácâu hỏi on segmenting, sizing, và maintaining ecommerce sitemap. Pick câu trả lời cho mỗi, sau đó kiểm tra.
Nhật ký thay đổi
Đã cập nhật 8 thg 8, 2026.
Tóm tắt biên tập và chi tiết thay đổi đã ghi nhận.Chi tiết thay đổi
-
Ghi chú thay đổi chi tiết hiện chỉ có bằng tiếng Anh.
Không thể so sánh đầy đủ — không có bản lưu trước đó cho lần sửa đổi này.
Đã cập nhật 18 thg 7, 2026.
Tóm tắt biên tập và chi tiết thay đổi đã ghi nhận.Chi tiết thay đổi
-
Ghi chú thay đổi chi tiết hiện chỉ có bằng tiếng Anh.
-
Ghi chú thay đổi chi tiết hiện chỉ có bằng tiếng Anh.
Không thể so sánh đầy đủ — không có bản lưu trước đó cho lần sửa đổi này.