Reference guide · search-console · Published 2026-08-16 · 3 min read

Sitemap ping removal and alternative-language sitemap annotations

Sitemap ping is gone: submit through Search Console or robots.txt, keep lastmod accurate, and mark alternative languages with xhtml sitemap annotations.

Older tutorials told site owners to "ping" Google whenever a page changed, by visiting a URL like https://www.google.com/ping?sitemap=.... That endpoint is gone. Google deprecated the unauthenticated sitemap ping in 2023 and the endpoint stopped functioning early in 2024, so any code or plugin still hitting it no longer does anything useful, and the request now returns a 404. Nothing broke: the change only removed a method that Google said produced mostly spam and little value. What replaced the ping is a mix of submission and an accurate page-level signal.

Why the ping is gone

The sitemap protocol originally defined an unauthenticated REST method for submitting sitemaps to search engines. Google's internal studies and the other engines that participated showed these submissions were not very useful, and in Google's case the vast majority were spam. So support was deprecated, the endpoint stopped functioning, and HTTP requests to it began returning the 404. You do not need to fix any code that still calls it: the request is harmless but pointless, so the correct action is to remove the call so it no longer gives a false sense of having notified Google.

Submit the modern way

Two supported paths replace the ping:

Because there is no ping, the freshness signal that used to ride on it now lives in an accurate <lastmod>. Search Console reads lastmod for crawl scheduling, so a sitemap that stamps every page with today's date teaches the crawler nothing honest. The sitemap change frequency article explains how to keep lastmod truthful and how Google treats the related changefreq values.

Mark alternative languages

A sitemap is also the cleanest place to describe pages that exist in several languages. Google reads hreflang annotations from the HTML head, an HTTP header, or the sitemap, and it recommends picking one method rather than stacking several, because conflicting declarations get ignored. For a large multilingual site the sitemap is usually the easiest place to centralise them.

Inside the sitemap, each language version appears as its own <url> block, and each block lists every version with an xhtml:link rel="alternate" element, including a self-reference:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <url>
    <loc>https://example.com/en/about/</loc>
    <xhtml:link rel="alternate" hreflang="en" href="https://example.com/en/about/"/>
    <xhtml:link rel="alternate" hreflang="de" href="https://example.com/de/ueber/"/>
  </url>
  <url>
    <loc>https://example.com/de/ueber/</loc>
    <xhtml:link rel="alternate" hreflang="en" href="https://example.com/en/about/"/>
    <xhtml:link rel="alternate" hreflang="de" href="https://example.com/de/ueber/"/>
  </url>
</urlset>

Three details trip people up:

Need a website built, fixed, optimised, migrated or replaced?

This technical resource is written by CSMBAC, a small design and development studio. If you would rather hand the problem to a professional, the website service page explains how we build enquiry-ready websites.

Explore website services