How to migrate from Sitecore or AEM to headless without losing SEO, leads or tracking
You can leave Sitecore or Adobe Experience Manager (AEM) for a headless or agent-run site without losing rankings, leads or tracking, but only if the migration is run as a measurement project, not a design project. Inventory every URL, form and tag first, map each old URL to a new one with permanent server-side redirects, rebuild forms and analytics to field-level parity, and cut over in stages. Then monitor search, leads and CRM data daily for the first weeks and weekly for 90 days, and keep the redirects for at least a year.
Key takeaways
- Start the migration plan before the renewal conversation, so the vendor quote is compared with a real exit plan.
- Every old URL with traffic, links or leads gets a one-to-one permanent redirect to the closest equivalent page.
- Forms, hidden fields, consent and CRM mapping are where migrations quietly lose pipeline; test them field by field.
- Treat the first 90 days as part of the project, with thresholds that trigger a fix, not only a launch date.
Why the renewal is the moment to plan the exit
Most B2B teams on Sitecore or AEM do not decide to migrate. They are pushed by a renewal, a forced upgrade or the end of support on the version they run. Both vendors are moving customers toward their cloud products, and the support calendar for older versions is now explicit.
On the Sitecore side, the platform formerly called XM Cloud evolved into SitecoreAI, announced at Sitecore Symposium in November 2025, and existing XM Cloud customers were upgraded to it automatically. Teams still on Sitecore XP or XM face version dates and, according to a partner summary of Sitecore's own lifecycle article, production incident support and security updates in Extended Support became paid from June 1, 2026. On the Adobe side, AEM 6.5 is being replaced by AEM as a Cloud Service or AEM 6.5 LTS.
| Platform and version | Published date (as reported in the source) | What it means for a renewal |
|---|---|---|
| Sitecore XP / XM 10.0 and 10.1 | Extended support ends December 31, 2026 | Upgrade or leave within weeks, not quarters |
| Sitecore XP / XM 10.2 | Extended support ends December 31, 2027 | Plan the move before extended support ends; confirm your exact dates in the Sitecore support portal |
| Sitecore XP / XM 10.3 | Extended support ends December 31, 2028 | Time to plan, but security fixes now cost extra |
| Sitecore XP / XM 10.4 | Mainstream support through December 31, 2027 | The last window to migrate on your own schedule |
| AEM 6.5 on Adobe Managed Services | Support ended August 31, 2026 | Move to AEM 6.5 LTS, AEM as a Cloud Service or off AEM |
| AEM 6.5 on-premise | Core support planned to end by February 2027; approved extended support to February 2028, with critical fixes only on Service Pack 26 | A hard deadline for anyone not on LTS or Cloud Service |
Sitecore dates are from a partner summary of Sitecore KB0641167; check your own contract and support portal before you plan around them. If you are still weighing a new platform against an agent-run build, our article on enterprise headless without a DXP sets out the cost and operating model, and our comparison of agent-run headless vs Contentful, Storyblok, Sanity and DXP suites covers the vendor options. This guide assumes the decision to leave is made and focuses on what you must not lose.
Step one: inventory what earns traffic, leads and links
A DXP site built over eight or ten years holds far more than the page tree shows: campaign landing pages nobody remembers, PDFs with backlinks, vanity URLs printed on trade show banners, and language versions created by different regional teams. The inventory is the single most valuable document in the project, because everything later is checked against it.
We build it from several sources at once, because no single source is complete. The CMS export misses URLs created by rules and redirects. The crawl misses orphan pages. Search Console misses pages without impressions. Together they come close.
- Every URL from a full crawl, the XML sitemaps, the CMS content export and the existing redirect rules, including the ones configured in the CDN or web server.
- Search Console clicks and impressions per URL for the last 16 months, and the queries each important page ranks for.
- Backlinks per URL from your SEO tool, so pages with external links are never left without a redirect.
- Every form, with its fields, hidden fields, destination (CRM, marketing automation, email) and the campaigns that point to it.
- Every tag in Google Tag Manager or Adobe Launch, the events it fires and the reports or audiences that depend on it.
- Language and country versions, with their hreflang annotations, and the structured data types on each template.
URL mapping and 301 redirects
The safest migration keeps URLs unchanged. When that is impossible, and on Sitecore and AEM sites it often is, because paths carry content tree folders, language prefixes or .html extensions, every old URL needs a single permanent redirect to its closest equivalent. Google's documentation says 301 and 308 redirects tell it a page has moved permanently, that it recommends permanent server-side redirects whenever possible, and that the indexing pipeline uses a permanent redirect as a signal that the target should be canonical. JavaScript redirects are a last resort because rendering can fail.
| Old URL pattern | Typical new URL | Redirect rule |
|---|---|---|
| /en/solutions/industries/manufacturing.html | /industries/manufacturing | One-to-one 301, keep the slug, drop the extension |
| /en-ca/... and /fr-ca/... language folders | /... and /fr/... | Pattern rule per locale, then spot-check each language |
| Retired product or campaign page with backlinks | Closest live product, solution or resource page | One-to-one 301 to the nearest topic, never a blanket redirect to the homepage |
| PDF with external links | Same PDF path, or the page that replaced it | Keep the file, or 301 to the replacement page |
| Existing redirect chains from earlier migrations | Final destination | Flatten chains so each old URL reaches its target in one hop |
Keep the map in a spreadsheet with one row per old URL, the new URL, the status code and who approved it. Test it against staging before launch with a crawler that follows redirects, and fail the release if any high-value URL returns a 404 or a chain. Then keep the redirects in place. Google's John Mueller has said Google recommends keeping a redirect for at least one year, and that three months is too short for a site move.
We build fast, structured B2B sites with tracking, schema and answer-ready pages.
Content model, forms and CRM
Do not copy the Sitecore or AEM page tree into the new system. Those trees mix presentation, personalization rules and content, and a straight copy carries years of workarounds into a clean stack. Instead, define content types from the pages that earn traffic and leads: service or solution pages, industry pages, articles, case studies, resources, events and people. Each type gets explicit fields for title, meta description, canonical, language, structured data and related links, so SEO is part of the model and not a plugin.
Forms deserve their own workstream. In our experience they are where migrations lose pipeline without anyone noticing for weeks, because the page still loads and the thank-you message still shows. The question is whether the record arrives in the CRM with the same source, campaign and consent data as before.
Rebuild each form to field-level parity: the same field names, the same hidden fields for UTM parameters, click IDs and lead source, the same consent wording and storage, and the same routing to owners. Submit test entries from every form on staging and production and trace each one into HubSpot, Salesforce or Marketo before you call the form done.
Analytics, GTM, hreflang and structured data parity
Parity means the new site reports the same events with the same names, so year-over-year comparisons and conversion goals keep working on the first day. Write the parity list from the inventory and check it on staging, not after launch.
- GA4 or Adobe Analytics: the same measurement ID, event names and parameters, conversions and key events, with internal and test traffic filtered.
- Tag manager: the same container or a documented successor, consent mode behaviour unchanged, and every ad platform pixel and offline conversion import still fed.
- Hreflang: Google requires that each language version lists itself and all other versions, with fully qualified URLs, and supports an x-default fallback. Rebuild the annotations from the content model so they cannot drift per region.
- Structured data: the same schema types per template (Organization, Article, Product or Service, FAQ, BreadcrumbList), validated before launch.
- Canonicals, robots directives and XML sitemaps generated from the new URLs, with no staging noindex left behind.
Our technical SEO checklist for B2B websites in the AI search era lists the checks we run on every template, including crawl access for AI search systems, which many older DXP setups block by accident.
A staged cutover plan
A big-bang launch on a Friday is how migrations fail. We cut over in stages so each step can be measured and, if needed, rolled back.
- Freeze content changes on the old platform two weeks before launch, and log any emergency edits so they are repeated on the new site.
- Run the full parity checks on staging: redirect map, forms to CRM, tags and events, hreflang, structured data, Core Web Vitals.
- Record a baseline the day before cutover: indexed pages, clicks and impressions by page group, form submissions by form, and CRM records by source.
- Launch one section or one market first where the architecture allows it, such as the blog or a single language, and watch it for a week.
- Switch the remaining sections, deploy the redirect rules at the CDN or server level, and submit the new XML sitemaps in Search Console.
- Keep the old platform available read-only until the 90-day review, so content and redirect questions can be answered from the source.
Monitoring for 90 days after launch
Some movement in rankings after a migration is normal while search engines process the redirects. The goal is to tell normal movement from a real problem quickly. Set thresholds before launch so the team knows when to act instead of debating each dip.
| Window | What we check | Act when |
|---|---|---|
| Days 1 to 7, daily | 404s and redirect errors in server logs and Search Console, form submissions per form, CRM records by source, tag firing | Any high-value URL returns 404, or any form or source drops to zero |
| Weeks 2 to 4, twice a week | Clicks and impressions by page group against baseline, crawl stats, indexing of new URLs | A page group falls well below baseline and is not recovering week over week |
| Weeks 5 to 13, weekly | Rankings for priority queries, leads and opportunities by channel, hreflang and structured data reports | Pipeline from organic or paid traffic trails the baseline for two consecutive weeks |
| Day 90 review | Full comparison with the baseline, redirect hits, remaining errors, decommission plan for the old platform | Any open item gets an owner before the old platform is switched off |
What to ask at renewal
Even if you plan to leave, the renewal is leverage. A clear exit plan changes the conversation, and the answers below decide how much time you have and what the move will cost.
- Which support phase our exact version is in today, what it covers, and what extended support costs per year.
- Whether a shorter renewal term, or a term aligned with our migration date, is available.
- How we export all content, media, users and form data, in which formats, and whether export tooling costs extra.
- Who owns the redirect rules and CDN configuration, and whether they can be exported as a file.
- What happens to personalization rules, analytics integrations and connected licences such as search or DAM if we leave.
- If the vendor proposes its cloud product (SitecoreAI or AEM as a Cloud Service), whether that move is an upgrade or a new implementation, and who pays for it.
Adobe states that AEM as a Cloud Service receives new features through monthly feature activation and maintenance releases twice a month, which removes upgrade projects but means your team has to keep pace with the release calendar. Weigh that against a headless or agent-run setup you control.
Our website development services cover the full migration: inventory, content model, redirect map, forms and CRM, analytics parity and the 90-day monitoring. Talk to our team before your renewal date and we will help you build the exit plan and the questions for your vendor.
Frequently asked questions
Will we lose rankings when we migrate from Sitecore or AEM?
Some short-term movement is common while search engines process redirects. Lasting losses usually come from missing redirects, changed content, broken internal links or lost structured data, which a full inventory and staged cutover prevent.
How long should we keep 301 redirects after the migration?
At least one year, and longer for URLs with backlinks. Google has said it recommends keeping redirects for at least a year and that three months is too short for a site move.
Can we keep the same URLs on a headless site?
Often yes, because a headless front end lets you define routes freely. Keeping URLs is the safest option; drop only parts that add no value, such as .html extensions, and redirect those one to one.
How long does a Sitecore or AEM migration take?
It depends on the number of pages, languages, forms and integrations. Plan the inventory and redirect map first; they show the real scope better than a page count, and they let you set a date before your support or renewal deadline.
Should we move to SitecoreAI or AEM as a Cloud Service instead?
Compare total cost, upgrade effort and how much of the platform you actually use. If most of the value is content, SEO and forms, a headless or agent-run setup can cover it; if you rely heavily on built-in personalization or DAM, the vendor cloud product may fit better.
Sources
- Fishtank: Sitecore support changes for 2026, version-by-version breakdown (March 31, 2026; cites Sitecore KB0641167)
- Oshyn: Sitecore Symposium 2025 highlights, XM Cloud evolves into SitecoreAI (November 10, 2025)
- Adobe Experience League: AEM 6.5 on-premise support timelines and service pack policy
- Adobe Experience League: Experience Manager releases roadmap (checked 2026-11-09)
- Google Search Central: Redirects and Google Search
- Google Search Central: Tell Google about localized versions of your page
- Search Engine Journal: Google, keep 301 redirects in place for a year (December 2, 2021)
- Search Engine Roundtable: Google says site moves with redirects in place for only 3 months is too short (March 2022)
Related service: Website development. See also pricing and client results.
We run enterprise B2B demand generation for teams in Montreal, Toronto, Ottawa and the United States.