WEBSITE MIGRATION

I plan and run website migrations: moving a site to a new platform, design or domain while every old address keeps leading somewhere useful. A migration is when a site is most likely to lose search traffic, so I start with an inventory of every URL, map each one to its new home and test the redirects before launch. On aaaksc.com, I moved a WordPress and WooCommerce site to a bilingual Next.js site, kept 726 blog posts and redirected the old URLs permanently, Arabic ones included.

Website migration

  1. URL inventory

    Every address the old site answers at: pages, posts, products, archives, images, files and feeds.

  2. Redirect maps

    Each old URL sent to its closest new page in one permanent hop, never dumped on the homepage.

  3. Arabic and encoded URLs

    Non-Latin addresses matched in the encoded form servers receive, so shared links keep working.

  4. WordPress migration

    Off WordPress and WooCommerce, or onto a headless WordPress that keeps your posts where they are.

  5. Sitemaps and feeds

    A fresh XML sitemap on launch day, and product feeds pointing at the new addresses.

  6. Checks after launch

    Crawl errors, indexing and old URLs watched after the switch, and misses fixed quickly.

Website migration

  1. Inventory

    I list every URL the old site answers at and mark the ones that earn visits or links.

  2. Map

    Each old URL gets one destination, and the new URL structure is designed with the map in hand.

  3. Test

    Before the switch, every row of the map is run against the new site, Arabic URLs included.

  4. Switch and watch

    I run the production move, keep DNS and email working, then fix any missed URL fast.

Technology

  • Next.js
  • TypeScript
  • Headless WordPress
  • XML sitemaps
  • Structured data
  • Hreflang
  • Google Merchant feeds
  • Google Analytics
  • Playwright
  • GitHub Actions CI

What a website migration is, and where the SEO risk sits

A website migration is any project that changes where a site lives or how its pages are addressed: a new platform, a redesign with new URLs, a new domain, a move to HTTPS, or two sites merged into one. When only the code changes, the risk is small. When the URLs change, it is not.

Search engines rank addresses, not businesses. Each URL carries its own history of links, bookmarks and positions in results, and when it stops answering, that history is stranded. SEO migration is the work of carrying it across, planned before the new site is built rather than patched after launch.

Start with a URL inventory, then the redirect map

No single source holds every URL, so I combine the old sitemaps, a CMS export, landing pages from analytics and Search Console, a crawl of the live site, and the pages other sites link to.

Each old URL then gets one destination, under three rules. One permanent redirect straight to the final page, never a chain. The closest matching page, never the homepage. A 410 status for anything removed on purpose. WordPress and WooCommerce sites add their own patterns to cover: category, tag and author archives, feeds, product categories and short links built on post IDs.

Keeping Arabic and encoded URLs working

URLs carry only a small set of Latin characters, so an Arabic slug travels as percent-encoded bytes, and one short word becomes a long run of percent signs, letters and digits. Browsers show the Arabic. Redirect rules see the encoding.

That gap causes quiet failures. The same address can arrive encoded or decoded, with uppercase or lowercase hex digits, and a rule written for one form misses the rest. The fix is to normalize addresses before matching, then test each Arabic redirect the way links really arrive: typed into a browser, pasted from a messaging app, or linked from another site.

On aaaksc.com, the old Arabic URLs redirect permanently, the same as the English ones.

A site migration checklist for launch day

I run this list before the domain switches, and again straight after:

  • Every row of the redirect map returns one permanent redirect to a page that answers 200.
  • No staging leftovers: no site-wide noindex, no robots.txt block, no test domain in canonical tags.
  • Canonicals, hreflang and structured data on every template.
  • Menus, internal links and the sitemap point at final URLs, not at redirects.
  • The new XML sitemap live and submitted, and product feeds such as a Google Merchant feed updated to the new URLs.
  • Forms, checkout, analytics and email working on the live domain, with DNS changes leaving the mail records intact.

After launch, I watch the crawl and indexing reports and fix any missed URL as soon as it shows up.

What usually breaks in a website migration

  • Everything redirected to the homepage, which search engines treat much like a missing page.
  • Redirect chains left by an earlier move, which slow every visit and can stop crawlers short.
  • A noindex tag or robots.txt block carried over from staging.
  • Content that shrank in the redesign: shorter text, lost headings, dropped answers.
  • Image and PDF addresses left off the map, so image search visits and file links break.
  • Hreflang pairs broken by new URLs, so searchers get the wrong language.

A small dip while search engines recrawl is normal. A drop that keeps growing usually traces back to one of these.

A WordPress migration in practice: aaaksc.com

Al Ardh Alkhadra, an Ajman factory that makes organic soil conditioners, ran its site on WordPress and WooCommerce. I designed and built the replacement, a bilingual English and Arabic Next.js site, and ran the production move myself:

  • 726 blog posts kept in a headless WordPress behind the new front end.
  • Old URLs redirected permanently, Arabic ones included.
  • A 770-URL sitemap for the new site and a Google Merchant feed for its products.
  • DNS and email kept working on launch day.
  • 27 automated tests and CI on the new site.
Website migration

How do I migrate a website without losing rankings?

No one can promise rankings, but you can protect what the old site earned. List every old URL, redirect each one permanently to its closest new page, keep the content that ranked, carry over titles, canonicals, hreflang and structured data, and publish a new sitemap on launch day. Then watch crawl errors and fix misses quickly. Lasting losses usually come from skipped steps, not from the move itself.

Should I use 301 or 302 redirects for a website migration?

Use permanent redirects, 301 or 308, for anything that has moved for good. They tell search engines to pass the old page’s standing to the new address and update their index. A 302 says the move is temporary, so the old URL can linger in results. Keep 302s for moves that really are temporary, such as a seasonal page, and never chain one redirect into another.

How long does a website migration take, and what affects the cost?

It depends on how many URLs earn visits or links, how many languages there are, whether any URLs use non-Latin characters, what else depends on the domain, and whether the design changes at the same time. The aaaksc.com project, a new bilingual site with 726 posts kept and the old URLs redirected, took more than two months. Testing the redirects is the step not to rush.

Can I move off WordPress and keep my blog posts?

Yes. You can import the posts into the new system, or keep WordPress as a headless CMS that stores the content while a new front end displays it. On aaaksc.com I kept 726 blog posts in a headless WordPress behind a Next.js site. Either way, any post whose address changes needs a permanent redirect from its old URL.

Why did traffic drop after my website migration?

The usual causes are missing or wrong redirects, old URLs sent to the homepage, a noindex tag or robots.txt block left from staging, canonicals pointing at the wrong address, or content that shrank in the redesign. Check the indexing and crawl reports in Search Console first, then run the old URLs against the new site. A short dip while pages are recrawled is normal; a growing one is a fault to find.

Services
  • SEO & organic growth

    Technical SEO audits, multilingual SEO and organic growth from an SEO consultant who also writes the code, so fixes ship instead of sitting in a report.

  • Web & SaaS development

    Full stack web apps, SaaS products and online stores in Next.js, TypeScript and PostgreSQL, with tests, security and SEO built in from day one.

  • Headless WordPress

    WordPress kept for writing, with a Next.js front end for everything visitors see. On aaaksc.com, 726 blog posts live in a headless WordPress.

    In depth
  • Ecommerce development

    Custom online stores in English and Arabic, with checkout priced on the server, stock synced from your POS and product pages built to rank.

    In depth
Insights

Nov 7, 2026 · 9 min read

The technical SEO checklist I use on every site

The checklist I run on every site I build, from sitemaps and canonical URLs to hreflang, structured data, Core Web Vitals and safe redirects, with examples from real bilingual stores.

An AI agent, an app, a platform or a growth problem. Tell me what you want to achieve and I’ll tell you how I’d build it.

Start a project