---
title: "Comment by A.Rehman on \"WordPress Security: Back to Static Sites via Astro.js\" | Hashnode"
description: "Serving flat files and completely dropping the php/db attack surface sounds amazing. i would move every basic brochure site to astro tomorrow if i could. the wa"
url: "https://hashnode.com/posts/wordpress-security-back-to-static-sites-via-astro-js/6afb57790a342087d8899d61/comment/6b0452e17de11617eed1824f"
---

[Discussion](https://hashnode.com/posts/wordpress-security-back-to-static-sites-via-astro-js/6afb57790a342087d8899d61)

Comment [WordPress Security: Back to Static Sites via Astro.js](https://hashnode.com/posts/wordpress-security-back-to-static-sites-via-astro-js/6afb57790a342087d8899d61)

[A.Rehman](https://hashnode.com/@iarehman)

[1d ago](https://hashnode.com/posts/wordpress-security-back-to-static-sites-via-astro-js/6afb57790a342087d8899d61/comment/6b0452e17de11617eed1824f)

Serving flat files and completely dropping the php/db attack surface sounds amazing. i would move every basic brochure site to astro tomorrow if i could.

the wall i always hit is the clients. they absolutely refuse to learn a git workflow and demand the wp-admin screen to fix a typo. since i'm usually stuck giving them wordpress, i just throw their sites on a cloudways server so i don't have to babysit the infrastructure or stress over the constant automated plugin scans.

when you actually get a client to agree to astro, how are you handling their content updates? do you hook it up to a headless cms like sanity so they still get a dashboard, or do you just manage the edits yourself?

[webbernaut](https://hashnode.com/@webbernaut)

[1d ago](https://hashnode.com/posts/wordpress-security-back-to-static-sites-via-astro-js/6afb57790a342087d8899d61/comment/6b0452e17de11617eed1824f#reply-6b0472be727468e5ecb81ce4)

Most of the time the client likes the "idea" of editing their own site. But majority of my clients eventually start asking me to make the changes to their website. So in this case WordPress is no longer needed as I can just edit the astro files directly and push to the server.

For clients that really do edit or add frequent content to their website like multiple blog posts per week WP is probably still a good fit. Although I have been kicking around the idea of putting together a markdown syntax blog system where the client just FTP's directly to the server.
