Back to Blog
How We Did It 2026-03-08 · 5 min read

We Moved Our Website to Cloudflare Pages Using AI — It Took One Afternoon

How we replaced a WordPress setup costing over $1,200/year with a faster alternative hosted for free — and used AI to build the entire site from scratch in a single session.

Our dental practice website was on WordPress. The hosting alone was $29 a month. But the real cost was plugins — two paid form plugins, PDF generators, a slider plugin, SEO tools, security, and backups. All up, over $1,200 a year. And the site was still slow.

So we rebuilt the whole thing using AI and moved it to Cloudflare Pages. It took one afternoon. The site is faster, fully custom, and the hosting is completely free.

Here's how we did it — and how you can do the same.

What was wrong with our old setup

WordPress is powerful, but that power comes at a cost — both financial and operational. And the same core problems apply to Squarespace, Wix, and most hosted website platforms:

  • Slow load times. WordPress themes ship with bloated JavaScript, third-party scripts, and plugin overhead. Our old site took 3–4 seconds to load on mobile. Google notices.
  • Plugin sprawl. Need signatures on a form? That's a $259/year plugin license. Need PDF output? Another plugin. SEO? Another. Security? Another. Each one adds cost, complexity, and potential vulnerabilities.
  • Constant maintenance. WordPress core updates, plugin updates, PHP version updates, security patches — something always needs attention. Miss an update and you're a target for exploits.
  • Costs that compound. Hosting, domain, SSL, form plugins, SEO plugins, backup plugins, security plugins — each one is "only" $5–25/month, but together they add up to hundreds a year.

What we moved to

Cloudflare Pages is a free hosting platform that serves static websites from Cloudflare's global CDN — the same network that powers about 20% of the internet. Your site gets cached on servers in 300+ cities worldwide. The free tier covers most business websites with zero monthly cost.

We paired it with Astro, a modern web framework that builds fast, lightweight HTML pages. No heavy JavaScript frameworks. No bloat. Just clean, fast pages that search engines love.

How AI built the site

Here's where it gets interesting. We didn't hand-code the site from scratch in the traditional sense. We used AI to build it.

We described what we wanted — the pages, the layout, the content, the style — and AI generated the entire codebase. Every page, every component, every line of CSS. We reviewed it, tweaked what needed tweaking, and deployed.

The whole process:

  1. Describe the site structure — homepage, solutions pages, about, contact, blog. AI scaffolds all the pages and navigation.
  2. Define the brand — dark theme, gold accents, clean typography. AI generates the design system and global styles.
  3. Write the content — we provided the key points for each page. AI expanded them into full copy that matches the tone we wanted.
  4. Generate assets — AI created the Open Graph image for social sharing and helped design the favicon.
  5. SEO setup — meta tags, Schema.org markup, sitemap, robots.txt — all generated automatically.
  6. Deploy — push to GitHub, Cloudflare Pages builds and deploys automatically. Live in under 60 seconds.

Total time from "let's rebuild the website" to live site: about 4 hours. Most of that was reviewing content and making decisions, not writing code.

The numbers

Before (WordPress) After (Cloudflare Pages)
Annual cost $1,265/year (hosting + plugins) $136/year (domain + email)
Page load time 3–4 seconds <1 second
Google PageSpeed score 60–75 95–100
SSL certificate Included Included (free)
Custom domain Included Included (free)
Full code ownership No Yes — it's all in your GitHub
Can AI update it? Limited — locked in themes and plugins Yes — AI reads and writes code directly

Why this matters for SEO

Google has been clear: page speed is a ranking factor. A site that loads in under 1 second ranks better than one that takes 3–4 seconds. And Core Web Vitals — the metrics Google uses to measure user experience — are dramatically better on a lightweight static site than on a bloated template builder.

Our Cloudflare Pages site hits near-perfect scores on every Core Web Vital. That's not because we're brilliant web developers — it's because there's simply less stuff to load. No unnecessary JavaScript. No third-party tracking. No template engine overhead.

The AI advantage: your site keeps getting better

Here's the part that excites us most. Because the site is built with clean, readable code stored in a GitHub repository, AI can work on it directly.

Want a new blog post? AI writes it and deploys it. Want to add a new solutions page? AI generates it matching the existing design. Need to update the contact details or add a new team member? AI makes the change and pushes it live.

With a Squarespace or Wix site, you're stuck in their editor. With a code-based site on Cloudflare Pages, AI becomes your web developer. Changes that used to require logging into a dashboard, fighting a drag-and-drop editor, and hoping nothing breaks — now they're a conversation.

Is this right for your business?

If your website is a brochure site — a handful of pages that describe what you do, plus a contact form — then yes, absolutely. You're paying monthly fees for something that should cost nothing to host.

This approach works especially well for:

  • Dental and medical practices — your site rarely changes, so why pay monthly?
  • Professional services — lawyers, accountants, consultants with simple informational sites
  • Trades — electricians, plumbers, builders who just need a clean site with services and contact info
  • Any business paying $20–50/month for hosting a site that barely changes

If you need a complex web app with user accounts, e-commerce, or real-time features — you'll need more than a static site. But for most small businesses, a fast static site on Cloudflare Pages is all you need.

Want the full technical walkthrough? Read our step-by-step migration guide with exact costs, form migration details, and deployment instructions.

Curious what your site is costing you? Get a free website audit — we'll show you your PageSpeed scores, hosting costs, and what a migration could save you. No obligation.

Want to See How Your Website Stacks Up?

We'll audit your current website for free — performance, SEO, AHPRA compliance, and hosting costs. You'll get a detailed PDF report showing exactly where you stand and what you could save. No strings attached.

Get Your Free Website Audit →