Seasons Law: Rebuilding a WordPress Site on Astro and Cloudflare
A 43-page private client law website with 301 redirects from the old WordPress URLs, a protected enquiry form and consent-first analytics

Seasons Law is a private client legal practice in England, advising on wills, lasting powers of attorney, probate and conveyancing. Its WordPress site was slow, thin in places and missing basics such as structured data and a cookie notice, while its visitors are often older, anxious or recently bereaved.
- •Fix a slow site: our review measured a mobile LCP of 12.7 s and a Lighthouse performance score of 63
- •Move 48 old WordPress URLs without losing search history, keeping 36 addresses and redirecting the rest
- •Write for readers who are older, anxious or bereaved, with plain language and large, readable type
We are rebuilding the site as a static-first Astro 7 project with React 19 islands, Tailwind 4 and Motion, deployed on Cloudflare Workers, with the same addresses kept wherever the page survives.
- •Crawled the old site, archived all 48 URLs and planned a 43-page sitemap that keeps 36 existing addresses
- •Added 301 redirects for the 12 retired URLs and the WordPress system paths
- •Built the enquiry API with Turnstile verification that fails closed, sending mail through ZeptoMail in the UK data centre
A closer look
Inside the build
Real screens from Seasons Law's website rebuild and migration.



Project Overview
Seasons Law is a private client legal practice in England, advising on wills, lasting powers of attorney, probate and conveyancing. We are rebuilding its WordPress website in Astro 7 on Cloudflare Workers. The site is not live yet, and the screenshots here come from our staging environment.
The Challenge
Our October 2026 review of the old site found a mobile LCP of 12.7 s and a Lighthouse performance score of 63, thin and duplicated pages, no structured data, no cookie notice and no analytics. Visitors are often older, anxious or recently bereaved, so the new site has to be calm, plain and easy to operate.
How We Are Building It
Keep what search already knows
We crawled all 48 old URLs. The new 43-page sitemap keeps 36 of those addresses, so most old links need no redirect. The other 12 get a 301, as do the WordPress system paths such as the feed and login addresses.
A form that cannot be abused
The enquiry API verifies Cloudflare Turnstile on the server and fails closed: with no secret configured, nothing is sent. Enquiries are emailed through ZeptoMail’s UK data centre.
Analytics that asks first
GA4 loads only after a visitor accepts. The reject button on the cookie banner has the same weight as the accept button.
Structured data and staging
Organization and WebSite markup describe the practice, and BreadcrumbList markup describes each page’s trail. Staging runs on its own address and sends a noindex header on every path, so reviewers can see real pages without search engines indexing them.
Where It Stands
The old-site baseline above is measured. We have not re-measured the new build, so we quote no new-site performance numbers here. We will update this page after launch.
Technology
Astro 7, React 19 islands, Tailwind CSS 4, Motion, Cloudflare Workers, Turnstile, ZeptoMail and GA4 behind cookie consent.
Moving off WordPress? See our WordPress to Astro migration and web development services, or contact us.
Key Features
Migration That Protects Search
The sitemap keeps existing addresses wherever the page survives, and a redirect map covers the 12 that do not, plus old WordPress system paths.
- 36 of 48 old URLs keep their address
- 301 redirects for the rest
- No "Hello world!" post left live
Enquiry Form That Fails Closed
The form posts to an API that verifies Turnstile on the server. If the secret is missing, nothing is verified and nothing is sent.
- Spam is filtered before any email is sent
- Enquiries are emailed through the UK ZeptoMail data centre
Cookie Consent with Equal Choices
GA4 sits behind a consent banner where reject and accept carry equal weight.
- No analytics cookies before consent
- Saying no is as easy as saying yes
Structured Data
Organization and WebSite markup on the site and BreadcrumbList markup on inner pages.
- Clearer signals for search engines
- Breadcrumb trails match the page
Safe Staging
A staging build on a separate address with an X-Robots-Tag noindex header on every path.
- The client can review before launch
Related Projects
Crizone Business Centre
WordPress to Astro migration for Crizone Business Centre, delivering 250% faster loading and a better user experience for Chennai premier coworking space.
Dropvi
We designed, built and launched Dropvi, our own end-to-end encrypted large file transfer service on Cloudflare Workers, R2 and D1, live in five days with Stripe billing, then added request links, team plans and a command-line tool.
Home Me Mortgages
Complete migration from WordPress to Astro framework, delivering exceptional performance improvements and enhanced user experience for UK mortgage broker.
Ready to Transform Your Business?
Let's discuss how we can help you achieve similar results