Skip to content
Nazmul Nikhil
Menu

3XX Redirect in Sitemap (Ahrefs): List Final URLs Only

Ahrefs flags sitemap URLs that redirect. Sitemaps should list only final, indexable URLs. Here's why redirects end up there and how to clean them out.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
3XX Redirect in Sitemap (Ahrefs): List Final URLs Only
Photo: The New York Public Library on Unsplash

In short

Ahrefs flags "3XX redirect in sitemap" when your XML sitemap lists URLs that redirect. Google says to list the URLs you want to see in search results, and redirecting URLs send mixed signals and waste crawl requests. Replace each redirecting URL with its final destination, or remove it if the destination is already listed.

A sitemap is your list of pages you want search engines to index. A redirecting URL isn't one of those pages; its destination is.

Common causes

Cause Fix
Sitemap uses HTTP or non-www URLs Fix the site URL setting the sitemap is built from
Pages moved, but a static sitemap wasn't updated Use an automatically generated sitemap
URLs without trailing slash while the site adds one Match the site's URL format
Redirected pages still published in the CMS Unpublish or exclude them

How to fix it

WordPress: Yoast (/sitemap_index.xml) and Rank Math build sitemaps from published content and the Site Address. If redirects appear, check the URLs in Settings > General and remove redirected posts from the sitemap (or delete them).

Shopify: /sitemap.xml is automatic. Redirects usually mean a page or product was renamed; Shopify updates the sitemap, so recheck after a recrawl.

Webflow: Site settings > SEO > auto-generate sitemap. If you use a custom sitemap there, update it.

Wix: the sitemap is automatic; check that the old pages are deleted or hidden.

Custom builds: generate the sitemap from the same data as your routes at build time, listing only canonical, 200-status URLs.

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site AuditRedirect in sitemapSitemap contains redirects301 in sitemap
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com