Neova高级 SEO 平台

XML 站点地图中列出了发生重定向的 URL

在 Neova 中 在已完成的抓取上运行,无需任何设置。

规则最近审核:2026年10月17日 · 指南更新:2026年6月11日

Google 要求站点地图列出规范网址,而不是会重定向的 URL。网站迁移期间有意保留的旧 URL 专用站点地图是合理的例外,这条规则也会标记它。

您可以做什么

把该 URL 替换为其最终 URL。如果该站点地图是为网站迁移而保留的,请设定一个删除日期。

Neova 如何发现

Neova 读取您的 XML 站点地图,并与抓取发现的内容进行比较。

Neova 为何标记

  • Google 要求站点地图列出 canonical 的最终 URL,而不是会重定向的 URL。
  • 每个会重定向的条目,都让爬虫在到达真正的页面之前多一次请求。
  • 网站迁移期间使用列出旧 URL 的临时站点地图是合理的例外,此项检查也会标记这种情况。

来源

生成的工单

这一部分目前只有英文版。

XM-008 · Redirecting URL Is Listed in an XML Sitemap

How to Check the Fix: 1. Run the check again in Neova
2. Spot-check sample URLs across affected templates
3. Record the re-check date and period label next to the baseline

Neova writes this ticket for every affected page group and sends it to Jira, Linear, Asana and the rest, after you approve it.

完整指南

这一部分目前只有英文版。

TL;DR

Your XML Sitemap lists one or more URLs that return a 301 or 302 redirect instead of the final 200 page, so replace every redirecting entry with its real destination URL and regenerate the file.

What "Redirect URL in XML Sitemaps" Means

This issue flags URLs inside your XML Sitemap that do not return a successful 200 status. Instead, when a crawler requests them, they respond with a 3xx redirect (most often a 301 permanent or 302 temporary redirect) that sends the request on to a different address. In other words, the crawler asks for URL A, gets told "go to URL B," and only URL B actually serves content.

A sitemap is supposed to be your clean, authoritative list of the URLs you want indexed. Every entry should be a live, canonical, indexable destination. A redirecting URL is none of those things; it is a pointer to the right page rather than the right page itself.

Why Only Final URLs Belong in a Sitemap

According to Google Search Central, the URLs you place in a sitemap are a signal of your preferred, canonical pages. The whole point of the file is to say "these are the addresses I want in search results." A redirecting URL contradicts that signal because the address you listed is not the address that actually serves the content.

There are three concrete reasons this matters:

It Wastes Crawl Resources

Each redirect forces a crawler to make an extra request before it reaches real content. Across a large sitemap, those wasted hops add up and slow down how quickly your genuinely important pages get discovered and refreshed.

It Signals a Stale, Untended Sitemap

Redirects in a sitemap almost always mean the file was generated against an old URL structure and never updated. Search engines notice this. Bing in particular places less trust in sitemaps that contain "dirt" such as redirects, errors, or non-indexable URLs, which can reduce how much they rely on the file for crawling and indexing at all.

It Sends Mixed Canonical Signals

You are telling search engines that URL A is canonical (by listing it in the sitemap) while your own server is telling them URL B is canonical (by redirecting to it). That contradiction makes it harder for search engines to confidently pick the page you actually want ranked.

Common Causes

The single most frequent cause is a site migration. When you move from HTTP to HTTPS, switch from non-www to www (or the reverse), change your URL structure, or move to a new domain, you set up 301 redirects from the old addresses to the new ones. That part is correct. The problem is that the sitemap often keeps listing the old, pre-migration URLs, so every entry now redirects.

Other common triggers include:

A trailing-slash policy change that adds a site-wide redirect while the sitemap still holds the old format. Changing a post slug or category path in a CMS without the sitemap plugin refreshing. Or a hardcoded or cached sitemap that was generated once and never regenerated.

How to Diagnose

You want a list of exactly which sitemap URLs are redirecting and where each one lands. A crawler does this fastest. In Screaming Frog, switch to List mode, point it at your sitemap (Download XML Sitemap), run the crawl, and look at the Status Code column. Any row showing 301 or 302 is a redirecting entry; the "Redirects In Sitemap" filter under the Sitemaps tab isolates exactly these 3xx URLs that should be updated to their final destination. Sitebulb performs the same check and reports each redirected sitemap URL with its target.

You can also spot-check a single URL from the command line to confirm the status and see the destination in the Location header:

curl -sIL https://example.com/old-page/

# Look for the first response line and the Location header:
# HTTP/1.1 301 Moved Permanently
# Location: https://example.com/new-page/
# HTTP/1.1 200 OK   <- the final destination you should list

Export the full list of redirecting URLs and their destinations so you have a clear before-and-after mapping to work from.

How to Fix It

The fix is to make sure the sitemap lists only final 200 destination URLs, then regenerate it. Do not delete the redirects on your server; those are still needed for any old links and bookmarks pointing at the original addresses. You are only correcting what the sitemap advertises.

If your sitemap is generated by a plugin or your CMS (for example a WordPress SEO plugin), the cleanest path is almost always to regenerate it rather than hand-edit. Clear any sitemap or page cache, confirm the canonical settings match your live URL scheme (correct protocol, www choice, and trailing-slash rule), then rebuild the sitemap so it pulls fresh canonical URLs. After that, recrawl it to confirm zero 3xx entries remain.

If your sitemap is a static or custom-generated file, replace each redirecting entry with the destination URL you captured during diagnosis. A correct entry looks like this:

<url>
  <loc>https://example.com/new-page/</loc>
  <lastmod>2026-06-11</lastmod>
</url>

<!-- not the old, redirecting address: -->
<!-- <loc>https://example.com/old-page/</loc> -->

Once the corrected file is live, resubmit it in Google Search Console and Bing Webmaster Tools and request a refresh so the new version is picked up promptly.

Best Practice

Treat the sitemap as a living document that should always contain only canonical, indexable, 200-status URLs. Build sitemap validation into your migration checklist so that the moment you add redirects, you also refresh the sitemap to point at the new targets. Schedule a recurring crawl of the sitemap to catch any 3xx or 4xx entries that creep in after slug edits or structural changes. A small, clean sitemap that search engines can trust will always serve you better than a large one full of detours.

FAQ

Q: Do search engines follow redirects in a sitemap anyway, so does it really matter?

A: Redirects are not followed the way they are during normal crawling, so a redirecting sitemap entry is treated as a low-quality signal rather than a helpful one. It wastes crawl resources and can lower the trust search engines place in your whole sitemap, so yes, it matters.

Q: Should I remove the 301 redirects on my server to fix this?

A: No. The redirects are correct and still needed for old inbound links and bookmarks. The only thing to change is the sitemap, which should list the final destination URLs instead of the old ones that redirect.

Q: My sitemap is generated by a plugin. How do I correct it?

A: Clear the sitemap and page cache, confirm your canonical URL settings match your live scheme, then regenerate the sitemap so it pulls fresh canonical URLs. Recrawl it afterward to confirm no redirecting entries remain.

Need a full technical audit?

Neova runs deep crawls that catch issues like this across your whole site.

在您自己的网站上找到它

Neova 在每次抓取时都会运行此检查项和其他所有检查项,然后把修复方法写成工单交给您的团队。

  • 适用于 Mac、Windows 和 Linux 的桌面应用
  • 全部 696 项检查,每项都附来源
  • Search Console 和 Analytics 4,以只读方式连接
  • 工单发送到 Jira、Linear 和 Asana

下载 Neova Desktop Free 套餐,或免费试用 Solo 14 天,无需银行卡。

全部站点地图检查 · 指南 · 检查项库

作者:Neova Labs · 返回检查项库