A web developer’s own website should be his best portfolio piece. Mine wasn’t. My old site had been hacked — quietly, the way most WordPress hacks happen — and by the time I caught it, Google’s index held dozens of gambling-spam pages I never created, attached to my name and my domain. Rankings, trust, credibility: all leaking away through pages advertising casinos in another language.
So in late 2026 I did for myself what I do for clients: tore it down and rebuilt it properly. This post is the full story — what was wrong, what I changed, and the exact SEO setup the new site runs on. If your own site needs a rebuild, steal this checklist.
What was wrong with the old site
Three things, and they are the three I find on almost every client site I audit. First, security had been neglected — updates skipped, no firewall, and that is all a bot needs. Second, the structure was a pile of pages added over years with no plan: old services, dead portfolio links, URLs that no longer existed but were still in Google’s index. Third, the basics were missing — no proper analytics, no Search Console discipline, metadata written as an afterthought.
The hack was the emergency, but the truth is the site needed rebuilding anyway. A patch on a weak foundation just delays the next problem.
Decision one: rebuild on a clean foundation
I started from a fresh WordPress install — no migrated database, no inherited files, nothing that could carry the infection with it. Every password changed: hosting, WordPress, database, email. The spam URLs from the old site were left to return 404 errors, which is how Google removes them from its index over time.
The new site runs a custom-built theme — no page builder. That was a deliberate choice: a lean theme means fast pages, clean code, and nothing loaded that the page does not use. I wrote about the trade-offs in my comparison of hiring a developer vs using page builders.
Decision two: structure before design
Before any colours or layouts, I mapped the site around what clients actually search for and buy:
- A homepage that says plainly what I do and who for.
- One page per service — WordPress development, PHP web applications, API integrations, e-commerce, AI automations, frontend development — each targeting its own search intent instead of one page trying to rank for everything.
- A dedicated hire page answering the exact question a ready-to-buy visitor asks: how does hiring you work, what does it cost, how fast can we start?
- A pricing page, because hiding prices does not create enquiries — it creates suspicion.
- A blog that answers the questions clients ask before they hire: what a website costs, what hiring a developer costs, how to keep a site secure.
Later I added a WordPress maintenance service as its own page, because maintenance is the service clients stay for — and it deserved more than a bullet point.
Decision three: security as a launch feature, not an afterthought
The new site launched with a firewall and security plugin active from day one, auto-updates on, two-factor thinking applied to every important account, and Cloudflare Turnstile on the contact form to stop bot spam. My full routine is written up in my WordPress security checklist — twelve steps, the same ones this site runs.
The lesson the hack taught me is now a rule I give every client: security is not a plugin you add later. It is part of the build.
Decision four: the SEO setup, done in the first 48 hours
A rebuild is the one moment SEO is cheap — every page is new, so doing it right costs minutes instead of a retrofit project. In the first two days the new site got:
- Google Search Console verified, with the sitemap submitted and every important page sent for indexing.
- Analytics installed properly (the old site had a property that was never even connected to the pages).
- A unique, hand-written title and description for every page and post — no duplicates, no defaults.
- Redirects from the old site’s main URLs to their new homes, so old links land somewhere useful instead of a dead end.
- FAQ sections built with proper FAQ schema on the key pages, so Google can show the questions and answers directly in results.
- Social profiles connected both ways — the site links to my profiles, the profiles link back, and the same list is declared in the site’s structured data so Google knows they are all the same person.
None of this is advanced. All of it is skipped on most small-business sites I audit.
What I deliberately did NOT do
No bought links. No keyword-stuffed pages. No AI-spun articles posted in bulk. The plan is boring on purpose: one genuinely useful, full-length post a day at most, each on a different topic my clients actually ask about, growing the site the way Google claims to reward — because in my experience, it actually does, just slower than the tricks promise and permanently instead of until the next update.
Where the rebuild stands now
Honestly? Early. The new pages are in Google’s indexing queue, the old spam is dropping out, and the site’s authority is a modest starting number that has to be earned upward with content and real links. A rebuild does not rank in a week, and any developer who promises you that is selling something.
What I can say already: the site is fast, secure, correctly tracked, and structured so every new post makes the whole domain stronger. That foundation is the part most people skip — and it is the part that decides what happens in month three, not week one.
Thinking about rebuilding your own site?
Do the foundation first: clean install or thorough cleanup, security from day one, structure mapped to what your customers search for, and the SEO basics set before you announce it. If you would rather hand the whole thing to someone who has just done it on his own site — including the painful parts — see how hiring me works, or start with a maintenance plan and let me secure and clean up what you already have.
How long does a website rebuild take?
A focused rebuild like this one — structure, design, core pages — takes two to five weeks depending on content readiness. The SEO setup itself is days, if it is planned from the start.
Will a rebuild hurt my Google rankings?
Temporarily, it can shuffle them — URLs change and Google re-crawls. With redirects from old URLs to new ones and the basics done right, most sites come back stronger within one to three months.
Should I rebuild or just fix my current site?
If the foundation is sound (secure, fast, well-structured), fix it. If you have a hack history, a bloated builder, or a structure that no longer matches your business, a clean rebuild is usually cheaper than a year of patches.
Do I need a new domain after a hack?
Almost never. Google judges the current state of the site. Clean the infection, let the spam URLs die as 404s, and the same domain recovers — mine is doing exactly that.
What does a rebuild like this cost?
It depends on size and features. My guide to WordPress website costs gives real ranges, and every project starts with a free quote.