Site AI Auditby Internet Solutions

XML Sitemap lastmod: What Google Uses and What It Ignores

2026年11月4日8分で読めますSEOの基本
XML Sitemap lastmod: What Google Uses and What It Ignores

Short answer: In an XML sitemap, only the address is required. Google has said that it ignores the priority and change frequency tags, but it can use the lastmod date, provided that the date is consistently accurate. Set lastmod to the time of the last meaningful change to each page, not to the time when the sitemap was generated, and do not update it for trivial edits.

What is inside a sitemap entry

An XML sitemap is a list of the pages that you want search engines to know about. Each entry is wrapped in a url element and may contain four tags.

The sitemap standard defines all four, and many plugins still output them. That does not mean that search engines use them. The complete picture of sitemaps is in the guide to XML sitemaps.

What Google ignores

Google’s documentation states that it ignores the priority and changefreq values. The reasons are practical. Site owners tended to set all pages to the highest priority or to “daily”, so the values carried no information. A value that everyone sets to the maximum cannot help to rank anything. If your plugin offers settings for priority and frequency, you can leave them at their defaults or turn them off. Spending time on them brings no benefit.

Other search engines may treat these tags differently, but none of them has made a strong public case for relying on them. A cleaner sitemap with only the address and an accurate date is easier to maintain and to check.

What Google can use: lastmod

Google has said that it can use the lastmod value as a signal that a page changed and may deserve a new visit, as long as the value is trustworthy. It describes the condition as being consistently and verifiably accurate, for example when it matches what the crawler finds on the page. If the dates prove unreliable, Google learns to ignore them for your site.

The benefit is efficiency. A crawler cannot visit every page every day, especially on larger sites. A correct lastmod helps it spend its time on pages that really changed, which supports faster discovery of updates. The topic of crawl effort is covered in the article on crawl budget. Bing also reads lastmod, and Bing’s own tools encourage owners to keep the dates accurate. The article on Bing Webmaster Tools and IndexNow shows another way to notify that search engine of changes.

How to set lastmod correctly

  1. Use the real modification time of the content. That means the text, images, structured data or links that matter to a reader, not the whole page template.
  2. Do not update it for trivial changes. A new year in the footer, a rotating sidebar widget, a changed count of comments or a minor typo fix is not a reason to change the date.
  3. Use the standard format. A date such as 2026-11-04 is fine. A date with a time and a time zone offset, such as 2026-11-04T09:30:00+02:00, is also valid. Keep the same style throughout.
  4. Do not use future dates. A lastmod in the future looks like an error.
  5. Keep it in line with the page. If the page shows “last updated” text or has article markup with a modified date, make all three agree. The article on wrong dates in Google results shows what happens when they do not.
  6. Leave it out if you cannot keep it accurate. A sitemap with only addresses is better than a sitemap with misleading dates.

The most common plugin mistakes

To test your own sitemap, open it in a browser and look at the dates. If all of them are identical, or all equal to today, your generator is not providing real information. Check the plugin’s settings or ask the developer how it chooses the date.

Sitemap index files and limits

A single sitemap may contain up to 50,000 addresses and up to 50 MB uncompressed. Larger sites split their list into several files, and a sitemap index file lists them. The index can also have a lastmod for each child file, which should equal the most recent change among the pages inside it. The guide to sitemap index files explains the structure. Keep the dates in the index consistent with those inside the child sitemaps, for the same reasons as above.

How to review your sitemap in ten minutes

  1. Open the file. Visit the sitemap address in a browser. Most WordPress sites use a path such as /sitemap.xml or /sitemap_index.xml.
  2. Scan the dates. Do they differ from page to page? Do the newest ones match the pages that you edited recently? Identical dates across the file are a red flag.
  3. Check a few pages. Pick three entries, open the pages and compare the real “last updated” information with the lastmod value.
  4. Look for stray entries. Search the list for addresses with parameters, tag archives that you set to noindex, thank-you pages and test pages. They do not belong there.
  5. Test the address list. Open a handful of entries and confirm that each returns a normal page without a redirect. Entries that redirect or return 404 should be corrected.
  6. Confirm the submission. In Search Console, open the sitemaps report and check that the file is read successfully and that the number of discovered pages matches your expectation.

Repeat the check after a theme change, a plugin switch or a migration. These events are the usual moments when sitemap settings reset themselves, and the problem can remain unnoticed for months because the site itself looks normal.

If you maintain several sites, keep a small checklist with the sitemap address, the plugin that generates it, the date of the last review and the findings. A page of notes is enough, and it turns a vague worry about sitemaps into a routine job that takes a few minutes.

Common mistakes

How Site AI Audit helps

Site AI Audit checks that your sitemap and robots.txt are present and consistent with the rest of your SEO setup, together with titles, descriptions, headings, broken links and redirects across up to 50 pages in the free check. It does not judge whether each lastmod date is correct, so review that in your sitemap file. The first check is free and needs no sign-up. You can run a free check of your website or see the plans for weekly monitoring and alerts.

Related reading

The bottom line

Treat the sitemap as a list of honest facts. Keep the addresses clean, drop priority and change frequency, and set lastmod only when you can keep it accurate. A smaller, truthful sitemap serves search engines better than a long one full of guesses.

FAQ

Does sitemap priority affect rankings?

No. Google ignores it, and it does not change how pages rank. Pages are judged by content, links and many other signals.

Should I remove changefreq and priority from my sitemap?

You can. They do no harm, but they add nothing. Removing them makes the file smaller and simpler.

Does a new lastmod date make Google crawl my page at once?

Not at once. It is a hint that may influence how soon the page is revisited, if your dates have proved reliable.

What date should I use for a page that rarely changes?

The date of its last meaningful edit, even if it is years old. Old dates are not a problem when they are true.

Do I need lastmod at all?

No. It is optional. Include it if your system can supply accurate values, otherwise leave it out.

#Crawling#Technical SEO#XML sitemap
あなたのWebサイトも無料で診断。Webサイトで直すべき点と、どこから始めるべきか。
無料で始める

ブログの他の記事

すべての記事 →
Internet Solutions

私たちのその他のサービス

Internet Solutions が開発。ほかの製品もぜひお試しください。それぞれ違う形で時間を節約できます。

internet-solutions.net ↗