Free, independent guides since 2010

Build with AI

Redesigning an old website with AI: how we rebuilt dom4j.org

A real case study: how we used AI to move dom4j.org from WordPress to a fast static site – inventory, content clean-up, design, redirects, link checks and the human decisions AI could not make.

<guide section="Build with AI" type="article" read="3 min"/>

In 2026 we redesigned this website, and we used AI for a large part of the work. Not because it is trendy, but because a redesign of an old site is full of jobs that are boring for humans and well suited to machines. Here is what we did, what worked and what we would do again. It is the practical companion to our general guide moving a website without losing rankings.

Where we started

  • A WordPress site with more than 150 posts and pages, some dating back to 2010.
  • Pages nested several folders deep, duplicate copies of posts under a second URL, and links to an even older .php version of the site.
  • Almost no meta descriptions, code examples mangled by an old plugin, affiliate banners and dead links to services that closed years ago.
  • Plugins, a theme and a PHP version that needed constant updates.

Step 1: inventory

We crawled the site and let a script – written with an AI coding assistant – extract every page into structured data: title, URL, date, category, images, links and the main content. AI then produced a spreadsheet-style overview of all pages with a suggested section for each. We corrected about one in ten suggestions by hand.

Step 2: decide what stays

This is the part AI cannot do for you. We kept all existing content, because old pages still bring visitors and links. But we added a “2026 check” box to articles about services that changed or disappeared – think of TypePad, Flash or old ad networks – so readers are not misled. AI suggested candidates; we verified every fact against current sources before writing the notes.

Step 3: clean the content

  • Old HTML was cleaned automatically: inline styles, plugin wrappers and lightbox links removed, headings normalised to sentence case.
  • Code examples were rebuilt into readable blocks; a few that the old editor had merged into one line were repaired by hand.
  • AI drafted a meta description for every page. We rewrote many of them – drafts tended to be vague and full of “discover” and “comprehensive”.

Step 4: design

We used AI to explore directions quickly, but the concept – a website shaped like a DOM tree, as a nod to our name – was a human idea. AI is good at variations on a theme; it rarely comes up with the theme.

Every old URL got a permanent redirect to its new address, including the duplicates and the old .php URLs. External links were checked automatically and then judged by a human: dead and hijacked domains were unlinked, moved pages updated. An AI is not good at recognising that a domain now hosts something completely different – that still needs eyes.

Step 6: new content

We wrote new guides on topics that did not exist when the site started, like certificate lifetimes, Core Web Vitals and this whole AI section. AI helped with outlines and drafts; every fact, date and recommendation was checked against primary sources before publishing.

What we learned

AI saved us the most time onHumans were indispensable for
Extracting and cleaning 150+ pagesDeciding what to keep and what is outdated
Generating redirect mapsJudging whether a linked site is still trustworthy
First drafts of metadataThe design concept and voice
Writing build and check scriptsFact-checking and final review

Frequently asked questions

Can I use AI to redesign my own WordPress site?

Yes. The approach on this page works for any site: export or crawl it, let AI help with inventory and cleanup, decide yourself what to keep, rebuild, add redirects and test. For a WordPress site that stays on WordPress, see our page on AI in WordPress.

Did the redesign affect your rankings?

A migration always causes some movement. One-to-one redirects for every old URL, unchanged content and clean internal links are the best way to keep it small.