Skip to main content
XMLDir

Search 309 pages — tools, formats, elements, namespaces, directory, comparisons, XPath, datatypes, glossary, parse errors, schema errors, use cases, blog and product.

XML sitemap

<changefreq>

A hint at how often a page changes, drawn from a fixed list of eight values — and ignored by every major search engine.

The permitted values are always, hourly, daily, weekly, monthly, yearly and never, and nothing else. Anything outside that list is invalid against the sitemap schema, though nothing in a normal pipeline will tell you so.

Google has stated it ignores changefreq. It costs bytes and maintenance and buys nothing; the honest advice is to omit it and spend the effort on an accurate <lastmod> instead.

What it contains

Nothing — this element holds a value rather than other elements. Its content is text, and the constraints below are what that text has to be.

Cardinality and constraints

At most one per <url>.

  • One of: always, hourly, daily, weekly, monthly, yearly, never. Lower-case.
  • It is a hint about the page, not a crawl instruction, and no major engine acts on it.
  • "never" is defined as an archived URL, not as a promise.

What our validator does

We do not check changefreq at all — its value is not read, and an invalid one passes silently.

We do not catch this one

"often" is not one of the eight permitted values, and our sitemap checks say nothing about it — the two documents below are indistinguishable to them. Validating against the sitemaps.org XSD is what catches this, and the enumeration facet is the mechanism.

Broken and fixed

Both documents below are well-formed XML — that is the point of this corpus — and both are run through the validator on every test run. The verdicts here are what it returned, not what we expect it to.

broken
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>often</changefreq>
  </url>
</urlset>
No issue reported. This defect passes our checks.
fixed
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-08-10</lastmod>
    <changefreq>weekly</changefreq>
  </url>
</urlset>
No errors. Warnings may remain — a conforming feed can still be missing a self link — but nothing here is wrong.

Get started

Bring order to the XML your team can't afford to ignore.

Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.