Technical debt on old WordPress sites
The site looks fine. Visitors are happy. But nobody knows why that plugin is installed, the theme has edits from three different developers, and a routine update means a day of testing.
That’s technical debt: past decisions and shortcuts that make future changes harder, even though the site works today.
It isn’t a polite word for “bad code”. Sites collect it through years of business changes, handovers, plugins, theme updates and urgent fixes. When I pick up an older client site, I don’t reach for a rebuild. I work out which risks matter, document the dependencies and trim whatever blocks useful work.
Find the debt before paying it down
Start with an inventory: WordPress version, PHP runtime, active theme, plugins, hosting, DNS, SSL, backups, forms, analytics and key integrations. Note who owns each account and which parts support a business-critical action. An unfamiliar plugin name isn’t a reason to remove it. Find out what it does first.
Watch for signs that maintenance is getting fragile: unsupported extensions, custom code with no owner, repeated errors, duplicate plugins, hard-coded credentials, a staging site that no longer matches production, backups nobody has tested. They’re prompts to investigate, not proof the site is unsafe.
Ask the people who use the site what gets in their way. Editors know when changing a banner needs a developer. Support knows when form submissions vanish. Search Console can show a key page is blocked, but it can’t tell you why a plugin was installed years ago. I combine the technical evidence with what the team has lived through.
Prioritise risk and business impact
Create a list with the issue, affected component, evidence, possible impact, owner and next step. Separate urgent security or availability risks from quality-of-life improvements. A slow admin screen may be frustrating, but a broken checkout or expiring certificate deserves attention first.
Think about dependencies. A plugin that looks unused may power a shortcode in old posts or custom fields a template needs. A theme change can alter structured data and internal links. A PHP upgrade can expose deprecated code. Map the relationships before changing anything, especially if several people rely on the site.
Skip the precise “debt score” unless the team understands the method. A simple priority based on impact, likelihood, effort and reversibility is usually enough. Write down your reasoning so the next person can challenge it.
Reduce the cost of future changes
Where possible, move custom code out of a parent theme into a child theme or a maintained plugin, with the site owner’s approval. Use documented settings instead of editing generated files. Remove obsolete code only after checking where it is referenced. A clean-up that breaks a workflow is not progress.
Keep a change log. Record what changed, why, where it was tested and how to reverse it. For an older site, this can be more valuable than a sweeping refactor because it makes future investigation quicker. Document the route to hosting, DNS, SSL and backups; those are often needed when a site is unavailable.
Update software in a controlled way. Take a backup, test on staging if you can, read the release notes for critical dependencies and verify key user journeys afterwards. With no staging site, work out how to reduce the risk and who can restore it. The process should match how important the site is.
Decide when a rebuild makes sense
A rebuild may be justified when the theme or architecture prevents required changes, the site cannot be secured or supported, or the cost of maintaining the existing setup exceeds a planned replacement. It should be based on evidence and a migration plan, not embarrassment about an old design.
Before rebuilding, list what must remain: URLs, content, forms, analytics, user accounts, product data, redirects and integrations. Plan a content review and URL mapping. A fresh theme will not automatically remove technical debt if the same unclear plugin stack and undocumented process are carried over.
Sometimes the better move is incremental: replace a fragile form, document the custom code, remove one redundant plugin or create a staging environment. Small, well-tested changes can restore confidence without forcing a business into a risky migration.
Learn from the maintenance work
Managing sites across WordPress, Shopify and other platforms has made the operational layer hard to ignore. SEO recommendations depend on a site that can be updated, monitored and recovered. A technical audit can identify issues, but the work is finished only when an owner can implement and maintain the fix.
Keep the site register current and ask whether a new team member could understand the setup from it. If not, capture the missing detail while the person who knows it is still available. Memory is useful, but documentation travels better.
Work in phases rather than rebuilding by default
Group work into immediate risk, maintenance improvements and longer-term redesign. First stabilise access, backups and critical dependencies. Then remove duplication or improve documentation. Only after that decide whether the theme or architecture needs replacement. Phasing gives the business a chance to learn what is genuinely blocking progress, and it avoids spending a migration budget before understanding the site’s current constraints.
Related reading
- Why I keep a site register for every client
- How I prioritise fixes when a site has fifty problems
- Change logs for websites: why I write down every fix
Pick one maintenance task that depends on a single person’s memory. What would you document first so someone else could handle it safely?