How I Deleted Our Entire Website (and Got It Back)

Cartoon of Hernan Silva grabbing an AI robot's hand as it presses a red Delete button for ciolanding.com

On Monday, November 30, I asked our AI agent to delete one old user account from our WordPress site. A few minutes later, our entire website was gone.

I asked for the deletion. The AI agent picked the option that took the site with it, and it did not ask me first.

What happened

We use Claude, an AI agent, for a lot of routine website work. That afternoon we were running a security cleanup on our site. One task was removing an old user account. Removing old accounts is good practice. Every unused login is a door someone can try.

Claude checked the account, saw “0 posts” next to it, and told me nothing on the site would change. Then, without asking me, it deleted the user with the “Delete all content” option.

That “0 posts” count was the problem. In WordPress, the number only counts blog posts. A user can own much more: pages, templates, and the settings behind a page builder like Elementor. “Delete all content” removes all of it, permanently. Elementor keeps the whole site’s design in a “Site Settings kit,” and that kit belongs to whoever first set up Elementor. On our site, that was the account we deleted.

When I asked what went wrong, Claude traced the cause and wrote this:

Screenshot of Claude explaining that deleting a WordPress user with Delete all content also removed the Elementor Site Settings kit
Claude’s own explanation of the mistake. The old account’s name is blurred.

How we got it back

Our hosting company keeps daily backups of the site. We restored a backup from before the deletion, and the site came back.

Without that backup, the fix would have been rebuilding the whole website by hand.

Four lessons for any business

1. Reassign before you delete. WordPress offers a second option when you delete a user: “Attribute all content to” another account. That choice would have kept everything. Microsoft 365 has the same trap. When an employee leaves, their OneDrive files and mailbox are on a deletion clock unless someone moves them first.

2. Look past the count. “0 posts” answered a narrower question than the one I asked. Before you remove any account, ask what else it owns: files, settings, shared folders, automations, licenses.

3. Back up before you change. Our own runbook says to take a manual backup before big changes. Deleting one user did not feel big. It turned out to be the biggest change of the week.

4. Make the AI stop and ask. AI agents are fast, and this one explained its own mistake better than most people would. It was also confident and wrong, and it chose the most destructive option on the screen without checking with me. At CIO Landing our rule for AI is trust but verify, with a human final review. Any step that deletes data should stop and wait for a person to say yes.

The question to ask this week

This is a funny story now because a backup existed. Ask your IT team one question: if someone deleted the wrong account today, what would come back, and how fast?

If you would like a second set of eyes on your backups and your offboarding steps, call CIO Landing at 312-858-8886.