Florentin Purcea

Academy · Websites · Lesson

Website architecture that grows with you (and does not hold you hostage)

Static-first and edge, CMS versus code, when WordPress is fine and when it becomes a liability, the "one migration, zero lost URLs" discipline, performance budgets and who owns what.

Level
Intermediate
Time
5 min
Updated
Valid for
Web, 2026

The situation

The site was built in 2021 by an agency that no longer answers. It has 38 plugins, a purchased theme and a form that sends emails sometimes. You want to add a new page and you are afraid to press "Update". You know the situation.

Website architecture is not a technical discussion for developers. It is a business decision: what every change costs you, how fast it loads, who can maintain it and what happens to your traffic when you change it.

Static-first and edge: why it matters

The fastest sites in 2026 do not "build" the page on every visit. Pages are generated ahead of time, as ready-to-serve files, and distributed across a network of servers close to the visitor (the edge). When someone in Cluj opens the page, they get it from a nearby server, in tens of milliseconds, with no database, no PHP, no plugins running.

Frameworks like Astro or Next.js, hosted on edge platforms (Cloudflare, Vercel and others), do exactly this. The dynamic parts — forms, search, chat — are added precisely where needed. The result: speed that is almost impossible to break, much simpler security (no admin panel exposed to the internet) and low hosting costs.

CMS or code?

The real question is: who changes the content and how often?

  • If someone on your team publishes articles weekly and wants to edit on their own, you need a CMS — but it can be a "headless" one that feeds a static site, not one that renders every page on demand.
  • If the site has 15 pages that change three times a year, a full CMS is cost without benefit. Content can live in files, and changes are made with a developer or with an AI assistant that proposes them and publishes after approval.

When WordPress is fine and when it is a liability

WordPress is not the problem in itself. It runs a huge part of the web and, done well, it can be fast and stable.

It is fine when: you have a team that publishes often, you use a light theme and few plugins, hosting is serious, someone applies updates monthly and there are tested backups.

It becomes a liability when: a "premium" theme with a page builder and 40 plugins, nobody knows what half of them do, updates are postponed out of fear, every plugin is a potential door for attackers, and mobile speed is below every threshold. At that point, every month of maintenance costs more than it would cost to stop being in that situation.

One migration, zero lost URLs

This is where the most money is lost. A new site, beautiful, fast — and organic traffic drops 40% in two months because the addresses changed and nobody redirected them.

The discipline:

  1. URL inventory — export every address that receives traffic or has backlinks: from Search Console (indexed pages, performance), from GA4 (landing pages), from the sitemap. All of them. Including PDFs.
  2. Redirect map — for every old URL, the corresponding new URL. Page by page, not "everything to the homepage". A redirect to the homepage is, for Google, almost the same as a missing page.
  3. 301, not 302 — a permanent redirect, which passes the old page's authority to the new one.
  4. Check before launch — test the map on staging. Every old URL must reach the correct destination in a single hop.
  5. After launch — new sitemap submitted to Search Console, monitor the indexing report and 404 errors weekly for two months. If you also change the domain, use Search Console's change of address tool.

Performance budgets and accessibility as the baseline

A well-built site has a written performance budget: the page weighs under X KB, LCP under 2.5 s on mobile, zero third-party scripts loaded before interaction. Every new element has to fit the budget, or it does not go in. That is how a site avoids degrading over two years.

Accessibility is not a bonus. Sufficient contrast, keyboard navigation, labels on forms, alt text on images, a correct heading structure. It is the baseline for people, for Google and — since June 2025 — a legal obligation in the EU for many online services, including e-commerce, under the European Accessibility Act.

Who owns what

Check today, not at the divorce from the agency:

  • The domain — in your company's name, in your account, with your access. Never in the agency's account.
  • Hosting — the account is yours; the agency has access, not ownership.
  • The code — in a repository you can access (GitHub or similar). You can hand the code to another developer tomorrow.
  • Connected accounts — GA4, Search Console, Tag Manager: you are the owner, others are users.

The reality of maintenance

No site is ever "done". A static site needs little maintenance (dependencies updated a few times a year, content). A WordPress site needs monthly maintenance, no exceptions. The difference is not whether you pay for maintenance, but how much and with what risk.

What to remember

  • Static-first on the edge: pages generated ahead of time, served from nearby, hard to break.
  • A CMS only if someone really publishes often; otherwise it is cost without benefit.
  • Clean WordPress is fine; WordPress with 40 plugins is a monthly liability.
  • On migration: URL inventory, page-by-page redirect map, 301s, checks in Search Console.
  • The domain, hosting, code and accounts are yours — check now.

Check yourself

On migration, what do you do with an old page that had traffic but no direct equivalent?

Frequently asked

Will I lose Google rankings if I change the site?

Not if every old URL is 301-redirected to its equivalent and the content structure is preserved. You lose when you redirect everything to the homepage or forget pages with traffic.

Does a static site mean I cannot have forms or chat?

You can. The dynamic parts run as small functions on the edge or through dedicated services. The rest of the page stays static and fast.

Want Valhalla to check this for your business?

Valhalla Pulse scans the public signals of your website for free, in seconds.

Analyse my business

Sources

Analyse my businessWhatsApp