All Collections
Site Audit
"3xx redirect in sitemap" error in Site Audit
"3xx redirect in sitemap" error in Site Audit

Learn more about the "3xx redirect in sitemap" issue in Ahrefs' Site Audit and how to fix it on your website.

Nick Churick avatar
Written by Nick Churick
Updated over a week ago

What triggers this issue?

This issue reports all URLs in the website’s sitemap files that return one of the 3xx (redirection) HTTP status codes.

Why is it important?

Sitemap file of a website must list all the pages you want search engines to crawl and index. Besides, Google uses sitemaps data as one of the factors when selecting canonical URLs.

Redirecting URLs in sitemaps send a misleading signal to search engines, instructing them to index the URL that does not return the 200 (OK) response code, but redirects to another URL instead.

This can result in indexability issues on your website.

How to fix it?

Your sitemap files must only include the live URLs that return the 200 (OK) response code.

Replace the redirecting URLs in the sitemaps with the destination URL. If the destination URL is already listed, simply remove the URL that redirects to it from the sitemap file.

Did this answer your question?