How should you set up redirects for large-scale URL changes?

ProcrustesPR

When changing large numbers of URLs, first create a mapping of old URLs to new ones. Then choose between applying redirect rules in bulk and importing individual mappings, depending on whether the changes follow a common pattern. Use 301 redirects for permanent moves and 302 redirects for temporary changes. The goal is not to send all old pages to the same destination, but to direct each URL to the appropriate new page and check for redirect chains, loops, or inaccessible destination pages.

ProcrustesPRProcrustesPRHow Long Does It Take to Evaluate SEO Results?

Map old URLs to new ones, separating content moves, consolidation, and deletion

A 2022 website redesign article on Neil Patel’s website recommends first listing the URLs that will be kept and those that will no longer be used, then identifying pages whose content will remain but whose URLs will change. Match each old URL to its new one before handing the list to developers for implementation. This list also forms the basis for bulk configuration.

  • Moving content: Map the old URL to the content’s new location, rather than pairing URLs merely because their paths look similar.
  • Merging similar content: Existing pages can redirect to the consolidated page.
  • Deleting content: Set up a redirect if suitable related content is available; do not assume every deleted page has a replacement.

For example, if an article is simply moving to a different category, list its old and new URLs together. Bulk imports can reduce manual work, but you still need to decide which new page each old page should redirect to.

Use rules for consistent patterns and individual mappings for other changes

If URL changes follow a common pattern, consider using rules. An answer on Webmasters Stack Exchange notes that using these patterns can reduce the number of redirect entries in .htaccess. Where there is no consistent pattern, code can read mappings from a file or database, but each old URL still needs to be paired with its new one. Using code does not automatically identify the new pages.

  • Apache websites: A 2023 article by awoo explains how to configure 301 rules in .htaccess and cautions that generated rules may not meet your needs, so they should be tested before use.
  • Using management tools: Yoast’s January 2026 overview explains that its redirect management tool supports bulk CSV imports and exports, as well as regular expressions. CSV imports and exports help manage individual mappings, while regular expressions handle changes that follow a common pattern.

Choose tools that suit your website’s environment. The number of URLs alone does not establish whether a plugin or server-level configuration will be faster.

Check destination pages before launch and update internal URLs

Semrush’s redirect recommendations include ensuring that destination URLs are valid and accessible, and that original URLs lead directly to their final destinations. For example, if old page A redirects to B and then to D, change it so A redirects directly to D. If A and B redirect back to each other, they form a loop that prevents both visitors and crawlers from reaching the content.

On the staging site, also update old URLs in internal links, including navigation and body content, so those links do not rely on unnecessary redirects. Update old URLs in XML sitemaps, robots.txt, and canonical tags as well. Multilingual websites should also check applicable hreflang annotations.

Completing the redirects does not mean rankings will stabilize immediately. Google explains that rankings may fluctuate while pages are being recrawled and indexed after URL changes. Google may need several weeks to detect changes on a medium-sized website, and longer on a large one. This describes processing time, not a deadline for ranking recovery.

ProcrustesPRProcrustesPRWhere should I start if I want to do SEO myself?

Large-scale URL changes: perspectives from across the web

How long should redirects be kept?

The recommendation cited by Semrush is to keep redirects for at least a year after changing URLs, giving systems multiple opportunities to see and record the changes. This is guidance on how long to retain redirects. It does not mean that all external links will have been updated after a year, nor does it guarantee that search rankings will recover within that period. Whether to remove redirects still depends on factors such as whether the old URLs remain in use.

What should you do when a deleted page has no suitable replacement content?

There is no need to redirect an old URL to an unrelated page just to eliminate a 404. Welly's article notes that returning a 404 may be appropriate for outdated, unimportant pages. If important external links are broken, you can also contact the linking sites to ask them to update or remove those links, or consider recreating the content. If relevant replacement content is available, then assess whether a redirect is appropriate.

Do bulk redirects have to be configured on the server, or can you use a plugin?

You can use a plugin, but the choice depends on your website's environment and performance. An article on Neil Patel's website recommends handling large-scale URL changes at the server level in the context of an HTTPS migration. Forum contributors, meanwhile, suggest using a WordPress plugin for large numbers of URLs or asking the hosting provider to help find a solution that does not affect loading speed. Neither approach should be treated as a universal rule for all websites.

ProcrustesPRShould I rewrite or update an old article that does not rank?

References

  1. 針對 Google 搜尋流量下滑情形進行偵錯 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Source used in the article above.
  2. 16 Best WordPress SEO Plugins (Free & Paid)www.semrush.com · 2023-06-12T10:44:00Z — Discusses: What should you do when a deleted page has no suitable replacement content?
  3. Is there an easier way to implement 301 redirects when converting a site to WordPresswebmasters.stackexchange.com — Source used in the article above.
  4. Yoast vs Rank Math: Choosing the right WordPress SEO plugin for your businessyoast.com · 2026-01-16T11:55:37+00:00 — Source used in the article above.
  5. 失效的反向連結會降低排名?4 方法修復失效連結!welly.tw · 2024-07-09T09:04:40.938Z — Discusses: What should you do when a deleted page has no suitable replacement content?
  6. What is a 301 redirect?www.semrush.com · 2025-01-10T09:52:00Z — Source used in the article above.
  7. Website Redesign SEO Checklist: Tips to Avoid Big Drops in Your Rankingsneilpatel.com · 2022-02-18T17:01:54+00:00 — Source used in the article above.
  8. Help with 301 redirectwww.warriorforum.com — Discusses: Do bulk redirects have to be configured on the server, or can you use a plugin?
  9. Redirects: What They Are & How to Use Themwww.semrush.com · 2020-07-20T11:00:00Z — Discusses: How long should redirects be kept?
  10. ChatGPT x SEO 13 個應用案例大公開,用 AI 輕鬆提升網站 SEO 執行效率!www.awoo.ai · 2023-03-14T06:49:06+00:00 — Source used in the article above.
  11. Do SSL Certificates Affect Search Rankings? (A Data Driven Answer…)neilpatel.com · 2016-07-06T20:47:14+00:00 — Discusses: Do bulk redirects have to be configured on the server, or can you use a plugin?
  12. 9 Common Internal Linking Mistakes (& How to Fix Them)www.semrush.com · 2024-01-25T14:29:00Z — Source used in the article above.
  13. The Complete Website Migration Checklist [SEO-Friendly]www.semrush.com · 2019-03-25T13:30:00Z — Source used in the article above.

Related articles

How Long Does It Take to Evaluate SEO Results?Where should I start if I want to do SEO myself?Should I rewrite or update an old article that does not rank?What should I check when organic traffic suddenly drops?Why can I not find my published article on Google?Will Reposting Social Content on My Website Cause a Duplicate-Content Penalty?Eight SEO essentials for beginners: Getting your pages indexedWhat Is SEO? Understanding Optimization Priorities Through How Search Engines Work
ProcrustesPR
ProcrustesPR