StrategyShare

Chrome 158 shows WordPress sitemaps as raw XML, but your indexing is fine

With XSLT support gone, the browser now displays sitemaps as raw code. Search engine crawlers read the XML directly, and Google Search Console confirms everything is working.

By MOBAEO Newsroom··3 min read

Follow
Close-up of vibrant colored pipes on the exterior of Centre Pompidou, Paris.
Photo: Flo Dnd/Pexels

Chrome 158, which began rolling out to most desktop and mobile users on November 17, has dropped support for XSLT in the browser. As a result, anyone who opens the sitemap of a WordPress site now sees the raw, unformatted XML code, along with a warning on the page and in the console.

According to Search Engine Journal, in a piece published on November 19, the change is purely cosmetic. WordPress core and the most popular SEO plugins, such as Yoast SEO, Rank Math and All in One SEO (AIOSEO), have for years pointed to an .xsl stylesheet inside their sitemaps. That stylesheet is what made Chrome turn the XML into a clean, clickable table.

Search engine crawlers don't use XSLT. Googlebot, Bingbot and other crawlers read the XML nodes directly at the source and ignore browser stylesheets. Indexing, crawl efficiency and search rankings are unchanged.

The risk of a false alarm mid core update

Chrome 158 lands while Google's November core update, which started on November 10, is still rolling out. Anyone checking their own domain during a rankings audit may see raw XML instead of the usual table and conclude that a problem with the site or a plugin explains the ranking swings.

There are other practical effects. Chrome logs a deprecation warning in DevTools whenever a page calls an .xsl stylesheet, and auditing tools that monitor console errors may flag sitemaps until the plugins or WordPress remove the reference. Anyone who used /sitemap_index.xml in Chrome as a quick list of a site's pages loses the table, unless they switch browsers (Firefox and Safari still support XSLT for now) or use an HTML sitemap.

How to confirm everything is working

The default WordPress sitemap lives at /wp-sitemap.xml when no SEO plugin replaces it. With Yoast SEO, Rank Math or AIOSEO, the address is /sitemap_index.xml, or /sitemap.xml, which redirects to it. Seeing a wall of XML tags at any of these addresses in Chrome 158 or later means the browser skipped the stylesheet, not that the file is corrupted.

The proof for clients is in Google Search Console: in the property, go to Indexing, then Sitemaps. In the table of submitted sitemaps, the status column shows a green success status, with the date it was last read and the number of discovered URLs. As long as that status appears, Google is reading the XML structure without errors.

What to do, and when

For most sites, the advice is to leave production sitemaps alone. WordPress 7.2, scheduled for December 8, removes the stylesheet reference and, with it, the Chrome warnings, leaving core sitemaps as plain XML. Yoast SEO 28.9 will bring back a formatted view using CSS. Rank Math and AIOSEO have not announced any changes.

If you want to get rid of the warnings sooner on the core sitemap, the fix is a must-use plugin at wp-content/mu-plugins/disable-sitemap-xsl.php that switches off the XSLT reference. Delete the file after updating to 7.2, which deprecates the filters it relies on, so the plugin would only generate warnings. If clients or visitors rely on a browsable list of pages, you can build a page such as /sitemap/ in the block editor using the Page List, Categories or Latest Posts blocks.

For brand teams, the guidance is to tell colleagues and clients that raw XML in Chrome is an expected browser change, and to point to the green status in Google Search Console as proof that indexing is healthy. Search visibility doesn't depend on how the sitemap looks on screen.

Key questions

Is my WordPress sitemap broken?

No. Chrome 158 no longer applies the XSLT stylesheet, so it shows the raw XML. The file is intact, and search engine crawlers read it as usual.

Does the change affect indexing or Google rankings?

No. Googlebot and Bingbot read the XML directly and don't use XSLT, so indexing, crawling and rankings stay the same.

How can I prove Google is reading my sitemap?

In Google Search Console, under Indexing and then Sitemaps, the status column should show a green success status, with the date it was last read and the number of discovered URLs.

Source: Search Engine Journal.