Sitemap Best Practices for SEO

How to set priority values, use changefreq correctly, handle large sitemaps, and avoid common mistakes.

Understanding Priority Values

The <priority> tag tells search engines how important a page is relative to other pages on your site. Values range from 0.0 to 1.0, with 1.0 being the highest.

Important: priority is relative, not absolute. A 1.0 on your site doesn't mean your page ranks above a competitor's 0.5 — it only affects how Google allocates crawl budget within your site.

Priority Use For
1.0Homepage
0.8–0.9Key product pages, main category pages, landing pages
0.5–0.7Blog posts, standard content pages, sub-categories
0.1–0.4Archives, old content, tag pages, utility pages

A common mistake is setting everything to 1.0. This tells search engines nothing useful — if everything is top priority, nothing is. Reserve high values for pages that drive business value and conversions.

Using Changefreq Correctly

The <changefreq> tag hints at how often a page is likely to change. Accepted values are: always, hourly, daily, weekly, monthly, yearly, never.

Value Best For
dailyBlog indexes, news sections, product feeds
weeklyBlog posts, product pages, service pages
monthlyDocumentation, about pages, team pages
yearlyLegal pages, terms, static content
neverArchived content that won't change

Google has stated that they largely ignore changefreq, but Bing still considers it. Being honest with these values helps Bing crawl your site more efficiently. Use <lastmod> as your primary signal — it carries more weight than changefreq.

Handling Sitemaps with Over 50,000 URLs

The sitemap protocol limits a single sitemap to 50,000 URLs and 50MB uncompressed. If your site exceeds this, use a sitemap index file:

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://yoursite.com/sitemap-pages.xml</loc>
    <lastmod>2025-01-15</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://yoursite.com/sitemap-blog.xml</loc>
    <lastmod>2025-01-14</lastmod>
  </sitemap>
</sitemapindex>

Split by content type (pages, blog posts, products) for better organization and faster crawl processing.

Common Sitemap Mistakes to Avoid

Including noindex pages

Pages marked with <meta name="robots" content="noindex"> send conflicting signals when listed in your sitemap. Remove them — you're telling Google to both crawl and ignore them.

Listing redirect URLs

Only include final destination URLs. Listing redirect chains wastes crawl budget and confuses search engines about which URL to index.

Stale sitemaps

An outdated sitemap erodes trust. If Google repeatedly finds <lastmod> dates that don't match actual changes, it may crawl your sitemap less frequently.

Setting all priorities to 1.0

This is effectively the same as not providing priority at all. Use a realistic distribution to help search engines understand what matters most.

Including non-canonical URLs

If a page has a canonical tag pointing elsewhere, include only the canonical version. Duplicate URLs in your sitemap dilute signals and waste crawl budget.

Generate an Optimized Sitemap Now

Our tool automatically detects SEO issues and generates best-practice sitemaps.

Generate Your Sitemap