XML Sitemap
An XML sitemap is an XML file listing site URLs with optional metadata such as lastmod. It helps search engines discover new or changed pages; it does not directly raise rankings.
What belongs in it
| URL type | Include? | Note |
|---|---|---|
| Public 200 page | Yes | Canonical URL, not a duplicate |
| Articles, categories, wiki | Yes | Include lastmod when accurate |
noindex page | No | Conflicting signals |
| 404/redirect URL | No | Clean the sitemap |
| Filter/parameter page | Usually no | Unless intentionally indexed |
| Admin/login page | No | Not public content |
How it works
A sitemap does not guarantee crawling or indexing. It is only a hint. Search engines still decide based on quality, internal links, and other signals. For large sites, split the sitemap into several files and use a sitemap index.
In WordPress, the sitemap is usually at /sitemap.xml or /wp-sitemap.xml. Make sure the URLs inside are canonical (https and the main domain), not staging URLs.
What to watch for
- Do not include duplicate URLs. Pick one canonical version per piece of content.
- Update it after major changes. A
lastmodthat changes for no reason can reduce trust. - Submit it to Search Console and Bing Webmaster Tools. Monitor processing status and errors.
- Check
robots.txt. A blocked or unreferenced sitemap is discovered more slowly. - Do not expect instant indexing. For important pages, keep building internal links and content worth indexing.
A good sitemap mirrors the real site structure. If an important page never appears, check whether it is noindex, blocked by robots.txt, or only reachable through JavaScript.
FAQ
Is a sitemap required?
No, but it helps new sites, large sites, and sites with weak internal linking.
How many URLs per sitemap file?
The common limit is 50,000 URLs or 50 MB per file. Beyond that, use a sitemap index.
Can a sitemap speed up indexing?
It can help discovery, but it does not guarantee faster indexing. Page quality and links still decide.
Disclaimer: Hosting Wiki articles are prepared for educational and reference purposes. Hosting technology keeps evolving, so some technical details may change over time.