- A redirect only helps if the crawler follows it in one hop and lands on a page that returns 200, so keep the status code honest and collapse every chain to a single step.
- Redirects consolidate signals, but they are a transition tool; sitemaps, internal links and canonical tags should point at the final URL so the redirect can eventually be retired.
- Server-side redirects are the dependable choice, because many non-rendering crawlers and AI fetchers never execute the JavaScript or meta-refresh tricks a browser would use.
A redirect tells a crawler that the content it asked for now lives somewhere else. For search engines and AI fetchers, that message only does useful work if the bot follows it, follows it in a single step, and lands on a page that returns a 200 status. When any of those three conditions fails, signals split between the old and new addresses, pages drop out of indexes or get re-crawled for no reason, and bots keep asking for URLs that no longer represent your site. The common failures are predictable: the wrong status code for the situation, chains that stacked up over years of partial migrations, loops that nobody noticed, and redirects that exist only in JavaScript where a simple fetcher never sees them.
A redirect is a claim about permanence
Every redirect carries a status code, and the code is a statement about what you intend. A 301 says the move is permanent and the old address should be replaced by the new one. A 302 or 307 says the original address is still the canonical home and the redirect is temporary. A 308 is the permanent counterpart of 307, preserving the request method. The reason this matters is that consolidation is a judgment the crawler makes based on your signals. If you send a 302 for a page you moved for good, you are telling the crawler two contradictory things: the new address is where the content lives, but the old address is still the real one. Search engines have stated that they generally handle long-running 302s in a way that passes signals along, and that they treat 301 and 302 more alike than they once did. That does not make the wrong code harmless, because the engine still has to infer your intent, and two URLs competing for the same content split links and share the crawl budget.
The practical rule is simple. Use a 301 for anything permanent, including renamed slugs, moved sections, consolidated product pages and domain changes. Use a 302 or 307 only when you can name the date the temporary state will end. If you cannot name that date, you almost certainly want a 301. Teams often inherit a 302 from a CMS default and never revisit it, so auditing your status codes is a quick way to find consolidation problems that have been sitting unnoticed for years.
Redirect chains: collapse them to one hop
A redirect chain is what happens when URL A redirects to B, B redirects to C, and C is the page that finally returns content. Chains are rarely designed; they accumulate. A page gets a slug change one year, another the next, and the site moves to HTTPS and then to a new domain in between. Each change adds a rule that points at the previous state rather than the current one, and the result is a path that works in a browser but takes three or four hops to resolve.
Chains cost you in several ways. Each hop is a separate request, so latency stacks up for human visitors and for bots alike. Crawlers have finite patience and finite budgets, and a bot that has to chase a long chain may give up before it reaches the content. Each hop is also a place where something can break: a rule gets edited, a header is misconfigured, or one intermediate URL starts returning a 404. The fix is to collapse every chain to a single hop. Find every redirect whose target is itself a redirect, and rewrite the first rule so it points directly at the final destination. After you change the rules, test a sample from each cohort of old URLs with a command-line request that follows redirects and reports every hop, and confirm that the chain length is exactly one.
Redirect loops and wasted crawl budget
A redirect loop is the worst case. URL A redirects to B and B redirects back to A, or a longer cycle does the same thing. Browsers stop after a few attempts and show an error, and crawlers do the same, but they may spend a surprising amount of effort before they stop, and they will record the URLs as unreachable. A loop is usually caused by two rules that were written independently and now contradict each other, such as a rule that forces HTTPS interacting with a rule that forces a trailing slash. Loops waste crawl budget, which matters most on large sites where the bot cannot fetch everything every day, and they break indexing directly, because the engine cannot retrieve any content for the affected URLs and may drop them. Because loops often affect only one pattern of URL, such as a particular language prefix or a query parameter, they can persist for months without anyone noticing. Check for loops explicitly rather than hoping to notice them: run a crawl of your own site with a tool that reports redirect chains and loops, and pay particular attention to any rule that touches protocol, hostname, trailing slashes and case.
JavaScript and meta-refresh redirects: prefer the server
There are three ways to send a visitor from one page to another: an HTTP redirect in the server response, a meta refresh tag in the HTML, and a JavaScript instruction that changes the location after the page loads. Only the first is a reliable signal for every kind of client. A traditional search crawler that renders pages can usually execute JavaScript, though it may do so on a delay and sometimes not at all. A meta refresh with a delay of a few seconds is a weaker signal still, and some systems treat it as a page with content rather than a redirect. AI fetchers are a more varied group: some read the HTML of a page and nothing more, and such a fetcher may never see a JavaScript redirect and may never reach the destination. The honest answer is that public documentation on how each AI fetcher treats client-side redirects is limited and changes, so you cannot assume a particular behavior. The durable approach is to put redirects on the server, so the response to the old URL is a real 301 or 302 with a Location header. A useful test is to fetch the old URL with a plain command-line client that does not run JavaScript; if you do not see a Location header pointing at the destination, a non-rendering bot probably does not see it either.
HTTPS and www canonicalization via redirects
Many sites are reachable under several addresses that all serve the same content: HTTP and HTTPS, with and without the www prefix, and sometimes with and without a trailing slash. Each combination is a separate URL from the crawler's point of view. If all of them serve content with no redirects, you have a duplicate-content problem, and the engine has to guess which version you prefer. The fix is to pick one canonical form and redirect the others to it with a 301. Choose the HTTPS version and either the www or the non-www hostname, and stick with it; the choice matters less than the consistency. Make sure the redirect preserves the path and query string, so that a deep link on the wrong variant lands on the matching page on the right one rather than the homepage. Once HTTPS is established across the site, consider enabling HTTP Strict Transport Security, but understand that HSTS is a commitment that is awkward to reverse, so roll it out with a short max-age first.
Migrating without losing visibility
A site migration is the highest-risk moment for redirects. The goal is to preserve as much of the existing visibility as possible while the new site is discovered and re-crawled. Expect some temporary dip even with a perfect migration, because the engines need time to process the changes; what you control is whether the dip is a small transition or a lasting loss. Start with a complete inventory of the old site: export the URLs from your sitemap, your analytics, your server logs and your backlink reports, and merge them into one list. Many migrations fail because they only redirect the URLs the team remembered, and the forgotten ones include old campaign pages that still attract links. Once you have the list, map each old URL to its closest new equivalent on a one-to-one basis. A product that moved to a new slug redirects to the new slug; a category that was split into two redirects to the more relevant of the two; a page that was genuinely removed should return a 410 or a clear 404 rather than being pushed somewhere unrelated.
The most common migration mistake is redirecting large numbers of old URLs to the homepage or a generic category page. It feels like keeping the visitor in the site, but it tells the crawler that the old content has no equivalent, and search engines have described this pattern as one that can be treated as a soft 404, meaning the old page is effectively dropped rather than transferred. Map to the closest real equivalent, and accept that some URLs have no equivalent and should be allowed to disappear honestly. Before you switch the live site, test the redirect map against a staging copy, and after launch spot-check a sample from each section, including the oldest URLs you can find, and monitor your server errors and 404 rates closely for the first few weeks.
Updating internal links and sitemaps to final URLs
A redirect is a bridge, not a destination. Once it is live, every internal link on your site that still points at the old address is forcing each visitor and each bot to take an extra hop. Update your internal links so they point at the final URL directly, including navigation menus, footers, breadcrumbs, in-content links, pagination, and any links generated by templates. The same applies to your XML sitemaps: a sitemap that lists old URLs asks the crawler to fetch addresses that redirect, which is inefficient and sends a mixed message about which address you consider canonical. Regenerate sitemaps so they list only final, 200-status URLs. Be realistic about the limits of this work: you cannot update links on other sites, and external links will keep pointing at old addresses for years, which is the reason the redirects stay in place. The internal cleanup makes your own signals clean and reduces the crawling of the old addresses by your own pages; it does not replace the redirects.
Submitting the destination URL with IndexNow
IndexNow is a protocol that lets a site notify participating search engines when a URL has been created, updated or deleted, instead of waiting for them to discover the change on their own schedule. For redirects, the important rule is to submit the destination URL, not the old one. Once the redirect is live and the destination returns a 200, the URL you want the engines to know about is the final page; submitting the old address asks them to re-crawl a URL that will only redirect. If you retire a URL with no equivalent and return a 410, you can submit it as deleted, which is a clearer signal than letting the engine rediscover the absence. Keep expectations calibrated: IndexNow is a notification, not a guarantee of indexing, and it does not transfer ranking history from the old URL to the new one. Google has not adopted IndexNow as a crawling signal, so do not treat a submission as a substitute for sitemaps, internal links and normal crawling if Google is a significant source of your traffic.
Where bot logs fit in
Redirects are easy to configure and hard to verify, because the behavior you care about happens on the bot's side. A redirect that looks right in your browser may be handled differently by a crawler that sends different headers or never reaches the destination. The only way to know what actually happened is to look at what the bots requested, what status they received, and whether they followed up. Your server access logs record every request, including the user agent, the path, the status code and the time. If you filter those logs for the bots you care about, you can answer concrete questions: did a given crawler request the old URL and receive a 301, did it then request the destination and receive a 200, and is it still requesting the old URLs weeks after the migration?
InstantIndexingPro is built around this kind of visibility. It submits URLs through IndexNow and logs which bots fetch each URL, so you can compare the submissions you made against the requests that actually came in. In a redirect project, the useful view is the pairing: for each destination URL you submitted, did the bots that follow redirects reach it, and for each old URL, has the bot traffic dropped off over time? The logs tell you what happened, not why, so when you see a bot still hitting old URLs, the next step is to trace where those requests come from, whether an external link, a sitemap you forgot, or an internal link that did not get updated. Be careful about user agent strings, because bots change their names and sometimes identify themselves inconsistently, so where a bot's identity matters for a decision, verify it through the documented methods the operator publishes rather than trusting the header alone.
What to do this week
Start with an audit rather than a fix. Crawl your site, export your redirect rules, and list every redirect that is not a single 301 or 302 ending in a 200. Sort the results into three groups: chains that can be collapsed, loops that must be broken, and redirects that are JavaScript or meta-refresh only and should move to the server. Fix the loops first, because they cause the most immediate damage, then collapse the chains, then move the client-side redirects to the server. Next, correct your status codes: find any 302 or 307 that is really permanent and change it to a 301, and find any redirect to the homepage that has a more specific equivalent and map it to that equivalent. Settle the canonical hostname and protocol, and make sure every other variant redirects to it in one hop. Then update your own references: change internal links, navigation and templates so they point at final URLs, and regenerate your sitemaps so they list only 200-status addresses. After that, submit the destinations through IndexNow once the redirects are verified, and submit deletions for any pages you have intentionally retired. Finally, watch the logs for a few weeks, checking that the bots you care about are receiving 301s on the old URLs and then reaching 200s on the destinations, and investigate any old URL that keeps receiving bot traffic at a high rate.