Technical Reference

SiteBreeze Documentation

Everything you need to migrate a WordPress site to clean Astro source code and Cloudflare Workers—with 1:1 SEO parity, zero WordPress plugins, and zero downtime.

Read-only crawl (no WP login) Astro static output Cloudflare Workers ready
Step-by-Step

Quick Start (5-Step Migration)

SiteBreeze crawls your public WordPress site over standard HTTPS—you never install a WordPress plugin, share wp-admin credentials, or expose your MySQL database. Your existing site stays completely untouched throughout the process.

  1. Enter your WordPress URL: Paste your live domain (for example, https://example.com) in the SiteBreeze app. Our crawler discovers your sitemap, permalink structure, assets, and page templates automatically.
  2. Review your free 5-page preview & SEO Parity check: Before paying anything, inspect 5 real migrated pages side-by-side along with an automated SEO Parity report comparing titles, meta descriptions, canonicals, headings, and JSON-LD against your live WordPress site.
  3. Unlock the full site: Once you are happy with the preview, unlock the full migration with a single one-time payment. SiteBreeze converts all discovered posts, pages, archives, media, and redirects using AI-assisted layout reconstruction into a clean Astro project.
  4. Download .tar.gz or 1-click deploy to Cloudflare Workers: Export the complete Astro repository (you own 100% of the source code with zero vendor lock-in) or push directly to your own Cloudflare account in one click.
  5. Verify & cut over DNS: Test your live *.workers.dev preview URL thoroughly—check navigation, search, contact forms, and sitemaps—then attach your custom domain in Cloudflare for a zero-downtime switch.
Local development out of the box: Every export is a standard Astro project with clean components, Markdown/content collections, and local assets. You can run, edit, and version-control it in Git like any hand-built site:
tar -xzf mysite-astro.tar.gz
cd mysite-astro
npm install
npm run dev      # Local preview at http://localhost:4321
npm run build    # Static production build + Pagefind search index
Deployment & DNS

Cloudflare Workers & Zero-Downtime DNS Cutover

SiteBreeze deploys directly to your own Cloudflare account using Cloudflare Workers Static Assets. Your static HTML, CSS, images, and Pagefind index are served from Cloudflare's global edge network, while lightweight Worker routing handles ?p=ID redirects and contact form forwarding.

Minimal Cloudflare API Token Permissions

We follow the principle of least privilege. When generating a custom API token in the Cloudflare Dashboard (My Profile → API Tokens → Create Custom Token), grant only these two permissions:

ScopePermissionAccessWhy It's Needed
AccountWorkers ScriptsEditUploads your built Astro static bundle and edge redirect/form Worker to your account.
AccountAccount SettingsReadVerifies your Cloudflare Account ID and target Worker namespace before deploy.
No DNS write access required: SiteBreeze never asks for Zone: DNS Edit permissions. We cannot modify your domain's DNS records, email MX records, or SSL settings—you perform the final domain cutover yourself when you are ready, and you can revoke the deploy token immediately afterward.

Preview URLs (*.workers.dev) Before Switching DNS

Every deployment goes live immediately on an isolated https://your-site.your-subdomain.workers.dev URL with automatic HTTPS. Your production WordPress site stays online and untouched while you verify:

  • Visual layout on desktop and mobile breakpoints
  • Internal links, category archives, and pagination
  • Pagefind instant search results and contact form delivery
  • HTTP 301 redirects and custom 404 behavior

Step-by-Step Zero-Downtime DNS Switch

  1. Keep WordPress live until verified: Do not cancel or power down your old WordPress host yet. Leave it serving traffic during verification.
  2. Lower DNS TTL (optional if not already proxied): If your domain uses external DNS or non-proxied records, lower the TTL on your A / CNAME records to 60–300 seconds a few hours before cutover. If your zone is already on Cloudflare DNS, propagation is nearly instant.
  3. Attach your Custom Domain in Cloudflare Workers: In the Cloudflare Dashboard, open Workers & Pages → your deployed Worker → Settings → Domains & Routes → Add → Custom Domain. Add your root domain (e.g. yourdomain.com) and www.yourdomain.com.
  4. Verify live HTTPS & redirects: Cloudflare automatically provisions TLS certificates and updates the edge route without dropping in-flight requests. Confirm your live domain loads with a valid certificate and check /sitemap.xml.
  5. Keep a 48–72 hour rollback buffer: Keep your old WordPress host (or a full backup) intact for a few days while you monitor analytics and Google Search Console. Once everything looks clean, safely cancel your old hosting plan.
Search Rankings

1:1 SEO Preservation Checklist

Traffic drops during migrations almost always come from broken URLs, dropped canonical tags, or missing structured data. SiteBreeze verifies and preserves every critical SEO signal automatically:

SEO SignalHow SiteBreeze Preserves It
Exact URLs & Trailing SlashesMatches your existing WordPress permalink structure (e.g. /blog/post-slug/ or /2025/04/post-slug) so inbound links never break.
Yoast & Rank Math Titles / DescriptionsExtracts the rendered <title> and <meta name="description"> tags verbatim for every post, page, category, and archive.
Canonical URLsPreserves <link rel="canonical"> on every route to prevent duplicate-content penalties across www/apex or paginated pages.
Open Graph & Twitter CardsCarries over og:title, og:description, og:image, twitter:card, and social share images hosted locally in your Astro build.
JSON-LD Structured DataRetains Article, BreadcrumbList, Organization, WebSite, and FAQPage schema blocks generated by your SEO plugin.
XML Sitemaps & robots.txtGenerates a clean sitemap-index.xml / sitemap.xml and robots.txt ready for immediate re-submission in Google Search Console.
301 RedirectsPreserves redirect rules and normalizes trailing slashes at the Cloudflare edge with zero client-side flicker.
?p=ID ShortlinksAutomatically maps WordPress numeric ?p=123 shortlinks to their canonical slug via edge 301 redirects so legacy links stay alive.
RSS & Atom FeedsOutputs /feed/ and /rss.xml feeds so existing RSS subscribers and syndication tools continue working uninterrupted.
Custom 404 PageBuilds a styled 404.html using your site header, footer, and navigation links instead of a generic server error.
Fit Check

Honest Compatibility Matrix

Static Astro on Cloudflare Workers is dramatically faster, safer, and cheaper than PHP/MySQL hosting for content-driven websites—but it is not the right fit for every WordPress workload. Here is an honest breakdown of what works best and what should stay dynamic:

Site Type / FeatureStatusDetails
Blogs, Newsrooms & Editorial SitesFully SupportedPosts, categories, tags, author archives, pagination, and RSS feeds convert cleanly to Astro content collections.
Company, SaaS & Marketing SitesFully SupportedLanding pages, pricing tables, case studies, and resource hubs render as fast static HTML with zero database overhead.
Portfolios & Documentation HubsFully SupportedImage galleries, code blocks, and nested documentation hierarchies are preserved with optimized local assets.
Yoast SEO & Rank Math MetadataFully SupportedTitles, meta descriptions, canonicals, Open Graph tags, and JSON-LD schema are extracted directly from rendered pages.
Elementor, Gutenberg & Static Page BuildersFully SupportedVisual layouts, typography, and responsive grids are rebuilt into clean, maintainable Astro components.
WPML / Polylang Static Language PathsFully SupportedSubdirectory locales (e.g. /en/, /de/, /es/) and hreflang links are crawled and preserved as static routes.
RSS / Atom Feeds & XML SitemapsFully SupportedAutomatically regenerated at build time with matching feed paths and canonical URLs.
On-Site SearchStatic AdaptationWordPress PHP/MySQL search is replaced with Pagefind static search—instant client-side indexing with $0 server cost.
Contact Form 7, WPForms & Lead FormsStatic AdaptationForm markup is preserved and wired to a lightweight Cloudflare Worker endpoint that validates and forwards submissions.
WooCommerce Checkout & Shopping CartsNot RecommendedDynamic carts, live inventory, and payment webhooks require server-side state. Keep stores on WooCommerce or Shopify.
BuddyPress & Membership PortalsNot RecommendedUser logins, private profiles, and gated member forums depend on authenticated PHP sessions and a live database.
LMS Platforms (LearnDash, LifterLMS)Not RecommendedStudent progress tracking, quizzes, and course enrollments require an active backend database.
Real-Time Booking & Reservation EnginesNot RecommendedLive calendar availability and transactional bookings should stay on a dynamic backend or dedicated embed widget.
Unsure about a specific plugin? Run the free 5-page preview on your URL first. You will see immediately how your layout, navigation, and metadata translate before spending a dollar.