Paul LovellBook a call
Back to Blog
6 min readPaul Lovell

The Subdomain-to-Subfolder Migration Blueprint

The structure change is the easy part. The redirects, canonicals, and GSC property setup are where migrations actually go wrong.

Technical SEOSite Architecture

Moving content from a subdomain to a subfolder is one of the higher-ROI technical SEO projects available — but mishandled redirects, canonicals, or tracking during the migration can cause a real, if temporary, ranking drop. This is the checklist that keeps that risk to a minimum.

Phase 1: pre-migration

  1. 1Run a full crawl of the existing subdomain (Screaming Frog or equivalent) and export every indexable URL, status code, canonical tag, and structured data instance.
  2. 2Pull backlink data from GSC and whatever backlink tool you use, and map every meaningfully-linked page to its exact 1:1 subfolder destination — not a blanket redirect to the new root.
  3. 3Draft the 1:1 redirect map as a CSV before touching production.
  4. 4Validate the staging environment: new subfolder pages return 200, carry correct self-referential canonicals, and aren't accidentally noindexed.

Phase 2: launch

  1. 1Deploy the reverse proxy or routing rules so the new subfolder URLs are live.
  2. 2Apply permanent 301 redirects from every subdomain URL to its mapped subfolder equivalent — not a single domain-level redirect.
  3. 3Update hardcoded internal links (nav, footer, body content) to point directly at the new URLs rather than relying on the redirect to carry them.
  4. 4In GSC: a Domain property tracks both structures automatically; a URL-prefix property needs the new subfolder verified separately. Submit an updated sitemap containing only the new URLs.
[Deploy subfolder structure] → [Apply server-level 301s] → [Update internal links] → [Submit sitemaps]

Phase 3: post-launch monitoring

Filter server logs for Googlebot hits on the old subdomain URLs and watch the transition from 301 redirect hits to direct 200 fetches on the new subfolder paths. Use the URL Inspection tool to confirm legacy URLs are recognised as redirected rather than still indexed. Organic traffic typically consolidates into the subfolder within a few weeks, usually followed by a measurable uplift once split authority is unified — that's the point of doing this in the first place.

Paul Lovell

Written by

Paul Lovell

International SEO Consultant & Founder of Always Evolving SEO. 15+ years running technical audits, log-file analysis, and root-cause fixes for multimillion-dollar businesses — speaker at SMX London, Search & Content Summit, and SEMrush events.