Dev Tools · 1h ago
Use WordPress as a form backend for static Astro sites
Astro sites lack server-side form handling, so a developer built a solution using WordPress and CraftForms as a backend. Forms are defined in WordPress and embedded via a script, allowing conditional fields and file uploads without rebuilding the site. The setup includes domain-bound embed keys and server-side validation for security.
Meridian48 take
A clever workaround for Astro's form limitation, but adds WordPress complexity—worth it only for multi-form sites with dynamic logic.
Read the full reporting
Adding a real form backend to an Astro site (not just email) →
DEV Community
astrowordpress