컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
사이트맵 색인 파일로 사이트맵 관리
크기 제한을 초과하는 사이트맵이 있는 경우 각 새 사이트맵이 크기 제한 미만이 되도록 대규모 사이트맵을 여러 개의 사이트맵으로 분할해야 합니다. 사이트맵을 분할한 후 사이트맵 색인 파일을 사용하여 한 번에 여러 사이트맵을 제출할 수 있습니다.
사이트맵 색인 권장사항
사이트맵 색인 파일의 XML 형식은 사이트맵 파일의 XML 형식과 매우 비슷하며 사이트맵 프로토콜로 정의됩니다.
즉, 모든 사이트맵 요구사항이 사이트맵 색인 파일에도 적용됩니다.
참조된 사이트맵은 사이트맵 색인 파일과 동일한 사이트에서 호스팅되어야 합니다. 크로스 사이트 제출을 설정하면 이 요구사항이 면제됩니다.
사이트맵 색인 파일에서 참조되는 사이트맵은 사이트맵 색인 파일과 동일한 디렉터리에 있거나 사이트 계층 구조에서 더 낮은 위치에 있어야 합니다. 예를 들어 사이트맵 색인 파일이 https://example.com/public/sitemap_index.xml
에 있다면 동일하거나 더 하위 디렉터리(예: https://example.com/public/shared/...
)에 있는 사이트맵만 포함할 수 있습니다.
Search Console 계정에서 사이트맵 색인 파일을 사이트당 500개까지 제출할 수 있습니다.
사이트맵 색인의 예
다음은 두 개의 사이트맵이 있는 XML 형식 사이트맵 색인의 예입니다.
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://www.example.com/sitemap1.xml.gz</loc>
<lastmod>2024-08-15</lastmod>
</sitemap>
<sitemap>
<loc>https://www.example.com/sitemap2.xml.gz</loc>
<lastmod>2022-06-05</lastmod>
</sitemap>
</sitemapindex>
사이트맵 색인 참조
사이트맵 색인 태그는 일반 사이트맵과 동일한 네임스페이스로 정의됩니다.
http://www.sitemaps.org/schemas/sitemap/0.9
Google에서 사이트맵 색인을 사용할 수 있도록 하려면 다음과 같은 필수 태그를 사용해야 합니다.
필수 태그 |
sitemapindex |
XML 트리의 루트 태그입니다. 여기에는 다른 모든 태그가 포함됩니다. |
sitemap |
파일에 나열된 각 사이트맵의 상위 태그입니다. sitemapindex 태그의 유일한 직접 하위 요소입니다.
|
loc |
사이트맵의 위치(URL)입니다. sitemap 태그의 하위 요소입니다. 사이트맵 색인 파일에는 최대 50,000개의 loc 태그가 포함될 수 있습니다.
|
또한 다음의 선택적 태그를 사용하면 Google에서 사이트맵 크롤링 일정을 예약하는 데 도움이 됩니다.
선택적 태그 |
lastmod |
해당 사이트맵 파일이 수정된 시간을 식별합니다. sitemap 태그의 하위 요소가 될 수 있습니다. lastmod 태그 값은 W3C Datetime 형식이어야 합니다.
|
추가 리소스
자세한 내용이 궁금하신가요? 다음 리소스를 확인하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-04(UTC)
[null,null,["최종 업데이트: 2025-08-04(UTC)"],[[["\u003cp\u003eA sitemap index file is used to submit multiple sitemaps to search engines, especially when a single sitemap exceeds the size limit.\u003c/p\u003e\n"],["\u003cp\u003eSitemaps listed within the index file must reside on the same site (unless cross-site submission is configured) and be in the same directory or a lower subdirectory.\u003c/p\u003e\n"],["\u003cp\u003eYou can submit up to 500 sitemap index files for each website registered in your Search Console account.\u003c/p\u003e\n"],["\u003cp\u003eSitemap index files have a specific XML format, similar to sitemaps, and include required tags like \u003ccode\u003esitemapindex\u003c/code\u003e, \u003ccode\u003esitemap\u003c/code\u003e, and \u003ccode\u003eloc\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptional tags like \u003ccode\u003elastmod\u003c/code\u003e can be added to indicate the last modification time of the sitemap file, aiding in crawl scheduling by search engines.\u003c/p\u003e\n"]]],["When a sitemap exceeds size limits, split it into smaller sitemaps. Use a sitemap index file to manage and submit multiple sitemaps simultaneously. The sitemap index's XML format mirrors that of a sitemap and follows the Sitemap Protocol. Referenced sitemaps must be on the same site or lower in the directory, or use cross-site submission. A sitemap index can contain up to 50,000 `loc` tags, with `sitemapindex`, `sitemap`, and `loc` being required. Up to 500 sitemap indexes can be submitted per site.\n"],null,["# Manage Your Sitemaps With Sitemap Index Files | Google Search Central\n\nManage your sitemaps with a sitemap index file\n==============================================\n\n\nIf you have a sitemap that exceeds the\n[size limits](/search/docs/crawling-indexing/sitemaps/build-sitemap),\nyou'll need to split up your large sitemap into multiple sitemaps such that each new sitemap\nis below the size limit. Once you've split up your sitemap, you can use a sitemap index file\nas a way to submit many sitemaps at once.\n\nSitemap index best practices\n----------------------------\n\n\nThe XML format of a sitemap index file is very\nsimilar to the XML format of a sitemap file, and it's defined by the\n[Sitemap Protocol](https://www.sitemaps.org/protocol.html#index).\nThis means that all the sitemap requirements apply to sitemap index files also.\n\n\nThe referenced sitemaps must be hosted on the same site as your sitemap index file. This\nrequirement is waived if you set up\n[cross-site submission](/search/docs/crawling-indexing/sitemaps/build-sitemap#cross-submit).\n\n\nSitemaps that are referenced in the sitemap index file must be in the same\ndirectory as the sitemap index file, or lower in the site hierarchy. For example, if the\nsitemap index file is at `https://example.com/public/sitemap_index.xml`, it can\nonly contain sitemaps that are in the same or deeper directory, like\n`https://example.com/public/shared/...`.\n\n\nYou can submit up to 500 sitemap index files for each site in your Search Console account.\n\nExample sitemap index\n---------------------\n\n\nThe following example shows a sitemap index in XML format that lists two sitemaps: \n\n```world-of-warcraft-toc\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003csitemapindex xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\u003e\n \u003csitemap\u003e\n \u003cloc\u003ehttps://www.example.com/sitemap1.xml.gz\u003c/loc\u003e\n \u003clastmod\u003e2024-08-15\u003c/lastmod\u003e\n \u003c/sitemap\u003e\n \u003csitemap\u003e\n \u003cloc\u003ehttps://www.example.com/sitemap2.xml.gz\u003c/loc\u003e\n \u003clastmod\u003e2022-06-05\u003c/lastmod\u003e\n \u003c/sitemap\u003e\n\u003c/sitemapindex\u003e\n```\n\nSitemap index reference\n-----------------------\n\n\nThe sitemap index tags are defined by the same namespace as generic sitemaps:\n[`http://www.sitemaps.org/schemas/sitemap/0.9`](http://www.sitemaps.org/schemas/sitemap/0.9)\n\nTo make sure Google can use your sitemap index, you must use the following required tags:\n\n| Required tags ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------|\n| `sitemapindex` | The root tag of the XML tree. It contains all the other tags. |\n| `sitemap` | The parent tag for each sitemap listed in the file. It's the only direct child of the `sitemapindex` tag. |\n| `loc` | The location (URL) of the sitemap. It's a child of the `sitemap` tag. A sitemap index file may have up to 50,000 `loc` tags. |\n\n\nAdditionally, the following optional tags may help Google schedule your sitemaps for crawling:\n\n| Optional tags ||\n|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `lastmod` | Identifies the time that the corresponding sitemap file was modified. It can be a child of a `sitemap` tag. The value for the `lastmod` tag must be in [W3C Datetime format](https://www.w3.org/TR/NOTE-datetime). |\n\nAdditional resources\n--------------------\n\n\nWant to learn more? Check out the following resources:\n\n- [Submit your sitemap to Google](/search/docs/crawling-indexing/sitemaps/build-sitemap#addsitemap)\n- [Learn how to combine sitemap extensions](/search/docs/crawling-indexing/sitemaps/combine-sitemap-extensions)"]]