With Thanks Website, WordPress to Astro Like for Like
The With Thanks marketing site moved from a WordPress theme to Astro on Cloudflare Workers, with no change to design, copy, images or URLs

With Thanks had a marketing site built as a WordPress theme by another studio. They wanted it on a modern, low-maintenance stack in their own Cloudflare account, without anything changing for visitors: no redesign, no rewritten copy, no broken links, and no loss of the search addresses already in use.
- •Keep the design, copy, images and URLs exactly as they were
- •Work without a WordPress backup or login: everything had to come from the public site
- •Keep every old address, short link, slashless URL and sitemap working with the right redirects
We captured the live site, split it into a shared layout plus content collections, rebuilt it in Astro 7 on Cloudflare Workers, and verified it against the live WordPress site with scripts for pixel comparison, link checking and form testing.
- •Crawled the sitemap and every internal link, and read the WordPress REST API, which surfaced an unlinked page
- •Mirrored every referenced file into the new site at the same path, including uploads and theme assets
- •Split each page into shared layout parts and its own content, with blog posts and case studies as content collections
A closer look
Inside the build
Real screens from With Thanks's cms migration.


Project Overview
With Thanks makes personalised thank-you videos for UK charities. Its marketing site, www.with-thanks.co.uk, ran on a WordPress theme built by another studio. We moved it to Astro 7 on Cloudflare Workers, and it went live on 11 November 2026.
The brief was a like-for-like move. No change to design, copy, images or URLs, so visitors and search engines see the same site, with a simpler and more independent stack underneath.
The Strategic Challenge
- Nothing may change. A migration that quietly alters the design or the addresses is a redesign by accident.
- No backup to work from. The WordPress backup and login had not arrived, so everything had to be taken from the public site.
- Old addresses must keep working. Short links, slashless URLs, the bare domain and old sitemaps all needed the right redirects.
- Borrowed tooling had to go. The contact form’s reCAPTCHA, a licensed consent tool and the previous studio’s tag manager container could not simply be carried across.
How We Built It
Capture from the public site
Crawl and mirror scripts read the sitemap and every internal link, then the WordPress REST API, which surfaced a page nothing linked to. Every file a page or stylesheet references was mirrored at the same path, so image and asset addresses did not change.
A shared layout and content collections
Each page became a shared layout plus its own content. The scripts check that every page really is the shared parts plus its variables, and stop if not. Blog posts and case studies are content collections, so a new post appears on the blog listing automatically.
A Worker that runs first
A Cloudflare Worker handles every request before the pages. It sends the bare domain to www with a 301, resolves old ?p= short links, slashless URLs and old sitemaps, sets security headers and applies long caching to assets.
The contact form, without reCAPTCHA
The Contact Form 7 markup stays, so the form looks and behaves the same. Submissions go through a Worker endpoint to Resend. reCAPTCHA v3 was replaced by a honeypot field, a rate limit and Cloudflare Turnstile.
Consent, analytics, fonts and icons
A licensed consent tool and the previous studio’s tag manager container were replaced by open-source vanilla-cookieconsent, with analytics loaded only after the visitor accepts. Fonts moved to self-hosted Fira Sans and icons to self-hosted Font Awesome Free, so the site no longer relies on anyone else’s kit or licence.
Hosted in the client’s own account
The Worker, the R2 bucket that serves media and the DNS all sit in With Thanks’ own Cloudflare account.
Results & Impact
We checked the move rather than asserting it:
- Pixel comparison. Every page was compared with the live WordPress site at four widths. In the run on 26 October 2026, 72 of 72 comparisons showed 0.0% of pixels different. That was before the later font and consent changes, so it describes that build, not the site as it is today.
- Links. 162 same-site links, images, scripts and stylesheet references were checked, with none failing.
- Form. The contact form’s outcomes were tested in a real browser.
The visible differences were kept deliberately small and listed: the footer credit now reads “Website by Zorinto”, and two blog links that pointed at Google searches now go to the right page. We did not record speed metrics for this project, so we make no performance claims.
Technology
Astro 7 with the Cloudflare adapter, a Cloudflare Worker for redirects, headers and the form endpoint, R2 for media, Resend for enquiries, Cloudflare Turnstile, vanilla-cookieconsent, and self-hosted Fira Sans and Font Awesome Free.
Stuck on an ageing WordPress theme? We build Astro websites and handle WordPress to Astro migrations that keep your design and addresses intact. Talk to us.
Key Features
Like-for-Like Capture
The site was captured from the public pages and the WordPress REST API, with every referenced asset mirrored at the same path, so nothing depended on a backup.
- Sitemap and link crawl plus REST API
- An unlinked page found and kept
- Assets served at their original paths
Proof, Not Promises
Scripts compare every page with the live site at four widths, check same-site links and exercise the contact form in a real browser.
- Pixel comparison at four widths
- 162 same-site links checked
- Form outcomes tested in a browser
Redirects and Headers at the Edge
A Worker runs before everything else, so old addresses and security headers behave as they did on WordPress.
- Bare domain to www with a 301
- Old ?p= short links, slashless URLs and old sitemaps
- Security headers and long caching on assets
Safer Contact Form
The Contact Form 7 markup is kept, but submissions go through a Worker endpoint to Resend, protected by a honeypot, a rate limit and Turnstile instead of reCAPTCHA v3.
- Same form for visitors
- No reCAPTCHA dependency
- Enquiries sent through With Thanks’ own Resend account
Consent and Analytics, Rebuilt
A licensed consent tool and the previous studio’s tag manager container were replaced by open-source vanilla-cookieconsent, with analytics behind consent.
- Analytics only after consent
- No licence tied to another studio
- Self-hosted fonts and icons
Related Projects
CFP Lottery & Raffles
We built Insyte for CFP Lottery & Raffles: a Django platform that reads scanned donation forms with Document AI, runs QA and reconciles banking for charities.
CFP Lottery & Raffles
We built the CFP Raffle platform: a Django back office for running charity raffles end to end, from tickets and OCR to banking reconciliation and exports.
UK children's charity
We connected a UK children's charity's iRaiser donation platform to Blackbaud Raiser's Edge NXT, so online gifts and Gift Aid declarations are recorded automatically, without duplicates.
Ready to Transform Your Business?
Let's discuss how we can help you achieve similar results