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 — WordPress to Astro 301 map
/2023/04/spring-specials /articles/spring-specials/ 301
/category/news/* /articles/ 301
/about-us.html /about/ 301
/contact-us /contact/ 301
CLOUDFLARE TURNSTILE PROTECTED · FOUR MEDIA GROUP
Want Four Media Group to migrate your WordPress site for you?
Every step above is free to run yourself. If you would rather have Four Media Group export your WordPress pages, rebuild cleanly in Astro, map every 301 redirect, and execute a zero-downtime DNS cutover in your own accounts, send your site below.