MIGRATION PLAYBOOK · FRAMER → ASTRO + CLOUDFLARE

Migrate off Framer toStatic Astro + React Islands

Stop paying recurring per-site Framer subscriptions and CMS tier ceilings. Rebuild pixel-accurate layouts in static Astro CSS and preserve any stateful widgets as selective @astrojs/react Islands.

MIGRATION WORKSPACE

Move carefully. Keep control.

7 steps
Step 1 of 7

1. Crawl every Framer route and export CMS CSVs

Open your live sitemap.xml and save a full URL list (including /blog/*, /work/*, and landing pages).

Open full instructions
Example preview01
1. Crawl every Framer route and export CMS CSVs
01Read instructions
02Review staging changes
03Verify before cutover

Illustration · not connected to your accounts

Step 2 of 7

2. Separate layout polish from interactive UI widgets

Navigation bars, hero sections, hover cards, pricing tables, and FAQs belong in zero-JS Astro (.astro) components.

Open full instructions
Example preview02
2. Separate layout polish from interactive UI widgets
01Read instructions
02Review staging changes
03Verify before cutover

Illustration · not connected to your accounts

Step 3 of 7

3. Scaffold Astro 7 and extract reusable tokens

Start with a StaticLaunch Astro starter or run npm create astro@latest (plus npx astro add react if keeping interactive islands).

Open full instructions
Example preview03
3. Scaffold Astro 7 and extract reusable tokens
01Read instructions
02Review staging changes
03Verify before cutover

Illustration · not connected to your accounts

Step 4 of 7

4. Move static pages to .astro and widgets to React Islands

Convert Home, About, Services, and Contact pages into clean src/pages/*.astro files.

Open full instructions
Example preview04
4. Move static pages to .astro and widgets to React Islands
01Read instructions
02Review staging changes
03Verify before cutover

Illustration · not connected to your accounts

Step 5 of 7

5. Preserve URLs with 301 _redirects & add Turnstile forms

Keep exact slug structures where helpful, and map any renamed URLs in public/_redirects with explicit 301 rules.

Open full instructions
Example preview05
5. Preserve URLs with 301 _redirects & add Turnstile forms
01Read instructions
02Review staging changes
03Verify before cutover

Illustration · not connected to your accounts

Step 6 of 7

6. Deploy to Cloudflare Pages and keep email DNS untouched

Deploy on *.pages.dev first and test desktop, mobile, forms, and all 301 redirects.

Open full instructions
Example preview06
6. Deploy to Cloudflare Pages and keep email DNS untouched
01Read instructions
02Review staging changes
03Verify before cutover

Illustration · not connected to your accounts

Step 7 of 7

Check redirects and rollback

Preserve important URLs, test redirects and review platform-specific risks before switching production.

Review redirect map
Example preview07
Check redirects and rollback
01Map old URLs
02Test redirect status
03Keep rollback ready

Illustration · not connected to your accounts

Hidden costs you leave behind

  • Per-site recurring monthly fees ($20-$45/mo for each custom domain you connect)
  • Heavy proprietary Framer React runtime shipped even on plain text and marketing routes
  • No clean, editable HTML or Astro source export you can version inside GitHub
  • CMS item, bandwidth, and localization caps triggering mandatory plan upgrades
  • Interactive embeds and form handlers locked inside Framer account billing

What you gain immediately

  • Reproduce clean Framer spacing, typography, and reveal polish with lightweight CSS transitions
  • Keep stateful calculators, tabs, or interactive drawers as isolated client:visible React Islands
  • Deploy unlimited static pages at $0/month on Cloudflare Pages from your own GitHub repo
  • Full control over Schema.org JSON-LD, semantic headings, WCAG 2.2 AA contrast, and 301 redirects

ZERO-DOWNTIME MIGRATION & DNS CUTOVER

Safe 5-Stage Launch & 14-Day Rollback Sequence

  1. STAGE 1
    Old Site Stays Live

    Export sitemap URLs & download images

  2. STAGE 2
    Test *.pages.dev

    Verify mobile, 404, forms & _redirects

  3. STAGE 3
    Lock Email DNS

    Confirm MX, SPF, DKIM, DMARC match

  4. STAGE 4
    Switch Domain

    Attach apex + www. Verify HTTPS & mail

  5. STAGE 5
    14-Day Safety Net

    Keep old host active 14d, then cancel rent

ROLLBACK GUARANTEE:Never delete Framer on launch day — wait 14 days so rollback is one DNS toggle away.

OPTIONAL REACT ISLANDS

Need to preserve an interactive widget or React calculator from Framer?

Keep hero, nav, and marketing copy as 0 KB JS Astro HTML while mounting stateful components inside client:visible React Islands.

1. Crawl every Framer route and export CMS CSVs

  • Open your live sitemap.xml and save a full URL list (including /blog/*, /work/*, and landing pages).
  • Export every Framer CMS collection to CSV and download original images, logos, and SVGs into your local project folder.
  • Capture desktop (1440px) and mobile (390px) screenshots so breakpoints and spacing match intentionally.
Audit live Framer URLs
curl -fsSL https://YOUR-DOMAIN.com/sitemap.xml | grep -oE 'https://[^<]+' | sort -u > framer-urls.txt

2. Separate layout polish from interactive UI widgets

  • Navigation bars, hero sections, hover cards, pricing tables, and FAQs belong in zero-JS Astro (.astro) components.
  • If a section has real client state (interactive pricing calculator, live filter bar, configurator), mark it for a small React Island (.tsx).
  • Replace continuous parallax or scroll-jacking animations with fast, accessible CSS @media (prefers-reduced-motion: reduce) transitions.

3. Scaffold Astro 7 and extract reusable tokens

  • Start with a StaticLaunch Astro starter or run npm create astro@latest (plus npx astro add react if keeping interactive islands).
  • Define colors, radii, type ramp, and spacing variables inside :root so every page stays consistent.
  • Build BaseLayout.astro with canonical tags, Open Graph metadata, and Schema.org JSON-LD.
Create Astro + React workspace
npm create astro@latest my-site -- --template minimal --yes && cd my-site && npx astro add react

4. Move static pages to .astro and widgets to React Islands

  • Convert Home, About, Services, and Contact pages into clean src/pages/*.astro files.
  • Convert Framer CMS CSV rows into Markdown collections or typed src/data/*.ts arrays with zero CMS item caps.
  • Mount any interactive .tsx widgets with client:visible so React downloads only when the user scrolls to them.

5. Preserve URLs with 301 _redirects & add Turnstile forms

  • Keep exact slug structures where helpful, and map any renamed URLs in public/_redirects with explicit 301 rules.
  • Wire your contact form to a Cloudflare Pages Function protected by Cloudflare Turnstile.
  • Host all images locally in public/images/ — never hotlink framerusercontent.com assets that may expire after cancellation.

6. Deploy to Cloudflare Pages and keep email DNS untouched

  • Deploy on *.pages.dev first and test desktop, mobile, forms, and all 301 redirects.
  • Point your custom domain in Cloudflare Pages while verifying MX, SPF, DKIM, and DMARC records remain intact.
  • Keep Framer active for 7 days after cutover as an instant rollback safety net before downgrading.

Example 301 redirect map (public/_redirects)

Cloudflare Pages natively executes 301 redirects from public/_redirects at the edge before your HTML is even served.

public/_redirects
/home / 301
/work /projects/ 301
/blog-post/* /guides/:splat 301
/pricing.html /pricing/ 301

Critical Framer gotchas to avoid

  • Framer image URLs (framerusercontent.com) can stop serving or resize awkwardly after cancellation — always download media into your own GitHub repo.
  • Do not replicate Framer's heavy global React runtime in Astro; keep hero, nav, and copy pure .astro HTML and use React Islands strictly where state is needed.
  • Framer CMS CSV exports may contain encoded rich HTML inside cells — clean headings and verify internal links after converting to Markdown or Astro pages.

CLOUDFLARE TURNSTILE PROTECTED · FOUR MEDIA GROUP

Want Four Media Group to migrate your Framer site for you?

Every step above is free to run yourself. If you would rather have Four Media Group export your Framer pages, rebuild cleanly in Astro, map every 301 redirect, and execute a zero-downtime DNS cutover in your own accounts, send your site below.

Visit FOURAK Directly ↗