When changing your CMS and URLs, first map the old URLs to the new ones, then use server-side 301 permanent redirects to send each old page to its corresponding new page. Whether you are moving hundreds of HTML pages to WordPress or migrating around 3,000 news articles to a new system, the key is to send each old URL to the corresponding content. You do not have to write every redirect individually in .htaccess. A sitemap can help Google discover new URLs, but it cannot replace redirects. Correct configuration also does not guarantee that rankings will remain completely stable.
Find all the old URLs first, then decide where each page should go
When both paths and filenames change, you cannot rely solely on a generic rule that replaces the domain. For complex migrations, Google’s migration documentation recommends listing the old URLs and mapping each one to its new destination.
- Compile URLs from old sitemaps, the CMS, server logs, and analytics data. Check important and high-traffic pages first.
- Redirect retained articles to their new URLs. If several pieces of content have genuinely been combined, redirect their old URLs to the new consolidated page.
- Pages that have not been retained and have no corresponding content should return a proper 404 or 410 response. Do not redirect them all to an unrelated homepage.
- Include images, videos, and downloadable files in the migration inventory.
Mapping each page does not mean writing every redirect by hand
For example, if the old page /news/123.html becomes /articles/topic-a/, record that mapping. If other articles do not follow a consistent conversion pattern, you still need to identify their individual destinations. However, the mapping data can be stored in a database and handled by the system; it does not all have to go into .htaccess.
Before implementation, check which redirect methods your target CMS, server, and hosting provider support. Google’s documentation lists options such as server rules and CMS redirect features, while awoo’s 2020 WordPress tutorial demonstrates the Redirection plugin. The tutorial may help you choose a tool, but its instructions may not apply to the current version.
Check destinations before launch, not just whether redirects work
Use the mapping table to check that old URLs return the expected 301 response and redirect to the correct new pages rather than nonexistent URLs. Redirect directly to the final destination to avoid redirect chains. Internal links and canonical URLs on the new site should also use the new URLs, and any noindex directives or crawl blocks that are no longer needed should be removed.
For a large website, if technically feasible, you can test a stable section first, then migrate the remaining content in batches or all at once. However, a small-scale test cannot guarantee search performance across the entire site. The new server must also be able to handle the increased crawling load during migration.
If old links still appear after two months, investigate rather than just resubmitting the sitemap
First, confirm that the sitemap includes the new URLs. Then use Search Console’s URL Inspection tool and a website crawler to check for incorrect redirects, 404 errors, and blocking settings. Old links still appearing after two months do not, on their own, tell you what has gone wrong.
Google explains that migrations are processed URL by URL. A medium-sized website may take several weeks or longer, and a large website may take longer still, depending on the number of URLs and server speed. Permanent redirects do not cause a loss of PageRank, but that does not mean overall rankings will remain unchanged. Search visibility may still fluctuate during recrawling and indexing.
Website migrations and 301 redirects: perspectives from across the web
Do you need to recheck Search Console verification when migrating?
Yes. Verify both the old and new sites and all versions actually in use, then confirm after migration that verification remains valid. If you originally verified through a verification file, meta tag, or analytics tool, make sure the new CMS includes the required elements and check whether the old site's settings need updating. If the domain is also changing, you can separately assess whether to use Search Console's Change of Address tool. Changing paths alone is not the same as changing domains.
Is it advisable to change the CMS, domain, and layout at the same time?
If scheduling and technical conditions allow, Google recommends making major changes such as switching the domain, CMS, and layout separately rather than all at once, and choosing a lower-traffic period where possible. This can reduce the number of users affected by problems and leave more server resources available for crawling. The actual sequence should still be planned around the site's circumstances; making changes separately does not eliminate migration risks.
Can you automatically clean up large numbers of internal links that still point to old URLs?
Bulk updates using code may be an option, but the approach must suit the target CMS and its available features. In one reported case, a large editorial website used its CMS API to follow links to their final destinations and update internal links, reducing the need to edit them manually one by one. The author also recommended running the process regularly. This approach worked for that specific website but may not apply directly to every CMS. Test before making bulk changes.
References
- 網站遷移與移轉作業 | Google 搜尋中心 | Documentation | Google for Developersdevelopers.google.com — Discusses: Do you need to recheck Search Console verification when migrating?; Is it advisable to change the CMS, domain, and layout at the same time?
- 針對 Google 搜尋流量下滑情形進行偵錯 | Google 搜尋中心 | Documentation | Google for Developersdevelopers.google.com — Source used in the article above.
- 301/302轉址如何影響網站SEO?三大要點讓你做好網站SEOwww.awoo.ai · 2020-01-07T09:09:52+00:00 — Source used in the article above.
- 2026 Google Search Console 教學 | GSC 成效分析+AI 報表全解析www.da-vinci.com.tw · 2026-07-13T17:20:45+08:00 — Discusses: Do you need to recheck Search Console verification when migrating?
- Your CMS Is Still Failing SEO Basics – 11 Fixes To Demandwww.searchenginejournal.com · 2026-11-04T15:00:12+00:00 — Discusses: Can you automatically clean up large numbers of internal links that still point to old URLs?
