Page d'accueil de 7days.dev en mode sombre : titre sur l'automatisation des process et schéma animé e-mails, fichiers et échéances traités par un automate

WordPress site with a 500 error: why I rebuilt rather than repaired

In early September, while running my weekly check of my hosting, I noticed that 7days.dev was returning an HTTP 500 error on every page. WordPress’s message was explicit, “Error establishing a database connection”. When I checked the configuration, I found that the site’s database no longer existed. No usable backup, nothing to restore.

Browser showing 7days.dev with the WordPress message Error establishing a database connection
7days.dev on 12 September 2026: the WordPress database has disappeared and the site no longer responds.

It is a situation I come across regularly with the SME owners who contact me: a WordPress site goes down, and there is only one question on their mind, “how much to fix it?”. Here is how I handled the case on my own site, what I chose, what I ruled out, and what the measurements show.

Before: WordPress with its database gone, error 500. After: Markdown in Git, an isolated build, static files served in 0.13 seconds. BEFORE · 2 September AFTER · 12 September WordPress Database deleted, nothing to restore HTTP 500 Markdown in Git Isolated build on every push Static files no server-side code 200 in 0.13 s Publishing: push → live in 7 s
The same site, before and after: from a vanished database to static files served in 0.13 seconds.

The finding: an outage that cannot be repaired

On 2 September, my check left no room for doubt: HTTP 500 on 7days.dev, still a 500 two days later. The site shared a shared-hosting plan with a dozen other sites, some of which took more than 20 seconds to respond that day.

A WordPress site is two things: files, and a database that holds all the content. Here, the files were there but the database was not. “Repairing” therefore meant reinstalling an empty WordPress and re-entering everything. At that cost, the real question becomes: is WordPress still the right tool for this site?

The decision: what I chose, and what I ruled out

7days.dev is our division dedicated to business process automation. It is made up of presentation pages and articles. No basket, no customer area, no complex forms. Before deciding, I compared the options on that specific criterion.

  • Rebuilding a WordPress site: ruled out. The same database to host and back up, the same plugin updates, the same risk tomorrow.
  • A third-party hosted “headless” CMS (such as Sanity): ruled out. The content would live with an outside provider, and I want to stay in control of my data.
  • Next.js: ruled out. Excellent for an application, oversized for a site with no dynamic needs.
  • Astro, as a static site: chosen. It is the go-to tool for content sites in 2026. It produces ready-made HTML pages, with no database and no code executed on each visit.

I accepted the trade-off from the outset: no more WordPress admin interface. The content is edited as text files. For me that is not a problem, since my automation and AI tools write directly to those files. For a client who wants to edit their own pages every week, it is a real factor to weigh up.

What I put in place

  1. Content in Markdown in a Git repository. Each page is a versioned text file. The full history is kept, and the site can be rebuilt identically in a few minutes.
  2. An automatic build on every push. When I push a change, the site is recompiled in an isolated container, then the new version replaces the old one in one go, with no visible intermediate state.
  3. A server that only serves files. No code is executed on a visit, so there is simply nothing to hack on the server side. HTTPS certificates renew themselves.
  4. An automatic publishing chain. An article dropped in by one of my workflows goes live with no intervention. Measured on 16 September: pushed at 11:02:59, live at 11:03:06, in other words 7 seconds.
  5. Animated vector visuals. Instead of stock photos, 16 animated SVG diagrams drawn in code, lightweight and sharp on every screen.

The content, however, is anything but automatic. I reread every page on screen during the rebuild, and every fact stated (date, partner, technical choice) must be backed by a source, an official register or a press article. If I do not have the source, the sentence does not go online.

7days.dev History page being rebuilt: timeline 2012–2018 J-3.fr, 2019 creation of SAS 7Days, 2019–2021 the engine
Rereading the History page during the 7days.dev rebuild, on 22 September 2026.
7days.dev home page in dark mode: heading about process automation and an animated diagram of emails, files and deadlines handled by an automation
7days.dev after the rebuild: an Astro static site served in 0.13 seconds (measured on 29 September 2026).

The measured results

MeasurementBeforeAfter
Site statusHTTP 500 (2 and 4 September)HTTP 200
Home page response—0.13 s (12 and 29 September)
Time to first byte (TTFB)—63 ms
Page fully loaded—158 ms
Transferred size, home page—40 KB
Google impressions (first 8 days)—521, from 11 to 153 a day
Publishing an articlemanual7 s, automatic
curl and Chrome browser measurements (Playwright, 1440×900 screen) from Paris.

Before the public launch, I had a bot go through all 105 pages of the site: zero JavaScript errors, zero overflow on a 390-pixel phone screen, and a 10 KB compressed stylesheet.

On the SEO side, I validated the structured data in Google’s official tool before expecting any traffic at all. Breadcrumbs, organisation and services are all recognised without errors.

Google Rich Results Test on 7days.dev/metiers: 6 valid items, breadcrumbs, local businesses and services, organisation
Google Rich Results Test of 23 September 2026: 6 valid structured data items on 7days.dev/metiers.

First signals in Search Console

The first impressions appeared on 20 September. Eight days later, Search Console counted 521 impressions and 4 clicks, at an average position of 14.5. Above all, the curve is rising fast: 11 impressions on 20 September, 153 on the 26th.

Google Search Console Performance report for 7days.dev over 28 days: 4 clicks, 521 impressions, average position 14.5, impressions curve rising from 20 to 27 September 2026
Search Console, 30 September 2026: 521 impressions and 4 clicks in eight days, from 11 impressions a day on 20 September to 153 on the 26th.

What interests me most are the queries. Apart from the brand “7days” (position 6), they are very specific searches, made by business owners who already have a problem in mind: “automatisation des relances clients” (automating customer reminders), “automatisation des notes de frais” (automating expense reports), “saisie automatique des factures” (automatic invoice entry), “devis automatisé” (automated quotes). The pages that capture the most impressions are those about chasing unpaid invoices (42), entering supplier invoices (34) and recurring invoicing (21). That is exactly the site’s target audience.

Eight days is a start, not a trend. I will review it again at one month and then at three months, with the same indicators.

Do WordPress and the back office still make sense in the age of AI?

That is the real question this project raised for me. For years, the back office was the only way for a non-developer to edit their website. Today, a well-equipped AI assistant can write a page, fix a typo or publish an article from a single sentence, directly in the files or through the site’s API. For a content site whose changes go through me and my tools, the admin interface becomes optional.

That does not make WordPress an outdated solution. The article you are reading is published on oli-via-net.fr, which runs on WordPress, and it was placed there by those same tools, through the API. The two approaches coexist very well. In my view, WordPress and its back office remain the right choice whenever you need:

  • to sell online: catalogue, stock, payments and orders with WooCommerce;
  • specific features: booking, members’ area, advanced forms, industry-specific plugins;
  • autonomy on the client side: several people publishing, with roles and approval;
  • an ecosystem: thousands of plugins and providers able to take over the site.

A static site, for its part, really comes into its own for a showcase or editorial site whose content changes a few times a month, where speed and security come first and publishing can be automated. And in every case, a database without a tested backup is an outage waiting to happen. It is the first thing I check during an audit.

Is your website down or slow, or are you unsure whether to develop it or rebuild it? I will look at your situation and tell you frankly what makes sense, WordPress included.

Free SEO & Digital Marketing Audit

Get a personalised analysis of your website in under 48 hours.

  • A clear diagnosis (technical, content, visibility).
  • The 3 priority actions to improve your results.
  • Recommendations suited to your sector and your budget.

100% free, no commitment. Our aim is to show you how to generate more qualified traffic, more leads and more sales.

Similar Posts