Technical
Warning

Sitemap lists URLs that redirect

This error appears when your sitemap includes URLs that, when visited, redirect to another address instead of loading the page. Here's what it means and how to keep only the final URLs in the sitemap.

What this error means

The sitemap tells Google which pages on your site you want it to index. Google recommends including only canonical URLs in it, the ones you want to see in search results. A URL that redirects isn't one, because when you open it the server sends you to another address. Google follows the redirect, but the redirecting URL doesn't get indexed. The destination URL may or may not make it into the index, depending on how Google assesses it. If you filter the Page indexing report in Search Console by your sitemap, you'll see those URLs marked as "Page with redirect". For Google it's a contradictory signal. The sitemap says that's the right address and the server responds that the right one is another. The redirect is usually set up correctly, and what fails is that the sitemap still points to the old address. These are the most common causes. - A migration or a domain change, such as moving from http to https or from the www version to the non-www version. - A change in a page's address that wasn't carried over to the sitemap. - The sitemap declares the URL without the trailing slash and the server adds it. - The sitemap is a static file that nobody regenerates, or a plugin keeps old URLs. - A deleted page was redirected to another one and stayed in the list.

Why fixing redirecting URLs in the sitemap matters

It doesn't break your website, but it's worth fixing, and it's usually quick.

Impact on SEO rankings

The sitemap is there to point Google to your good pages, and each old entry points it to one you don't want in the results. The more there are, the less the sitemap helps Google find what's new.

Crawling and indexing obstacles

Each redirect forces Google to request one more address before reaching the content, and if several are chained the path gets longer. On very large websites, with hundreds of thousands of pages, that extra time comes out of the time Google spends crawling the rest.

Negative signals for site quality

If the sitemap keeps old addresses, it probably wasn't reviewed after a migration or a URL change. That same change usually leaves other traces on the website, such as canonical tags that still point to the old address.

How to fix it step by step

If this error showed up in your audit, here are the steps to leave it behind.

Step 1

Find the sitemap URLs that redirect

Ruk Audit shows you which URLs declared in the sitemap return a redirect. For each one, note which final address it leads to, especially if it goes through several redirects before loading the page.

Step 2

Decide what to do with each URL

If the URL redirects because the page changed address, replace the old one with the new one in the sitemap. If it redirects because the page was deleted and now leads to the homepage or a general category, simply remove it from the sitemap, because that destination already has its own entry.

Step 3

Fix the sitemap where it's generated

If the sitemap is created by an SEO plugin or your CMS, don't edit it by hand, because it regenerates automatically and you'd lose the changes. Clear the plugin or website cache and check that the old URL no longer appears. If it still appears, check whether you still have a page published with that old address and unpublish it. If the sitemap is a file you maintain yourself, change or remove each URL in it according to what you decided in the previous step. While you're at it, update the internal links on your website that still point to the old address, because they also force a pass through the redirect.

Step 4

Submit the corrected sitemap to Google Search Console

Once the sitemap lists only the final URLs, submit it from Google Search Console so Google reads it again. After a few days, go back to the Page indexing report filtered by that sitemap and check that the "Page with redirect" entries are gradually disappearing.

Does your site have this problem?

Audit your website for free and discover if this and other SEO errors are affecting your ranking.

Get a free audit. Over 3022 reports delivered.
Hey, wait a moment
To analyze a website, you first need to create an account in the application. Click the button below to go to the registration screen.
Create account