·
MAIK · Module

Your site on WordPress.

You built a beautiful site with Claude — but your (or your client's) real website runs on WordPress. In this module you move it over, page by page, without rebuilding anything.

</> Custom HTML
each page becomes one block in WordPress

The trick in one sentence

WordPress builds pages out of blocks — and one block type accepts ready-made code. That's where we paste each page, styling included.

THE HOUSE
Page

A fixed part of your site (Home, Contact). You create one for each page of your new site.

THE TRICK
Custom HTML

The block that accepts raw code. Your whole page — text and styling — goes in as one piece.

THE ADDRESS
Slug

The bit after your domain (yoursite.com/contact). It must match exactly, or menu links break.

Let Claude prepare the files

You don't just paste your site's code into WordPress — themes squeeze everything into a narrow column and stack their own menu on top. Have Claude prepare a paste-ready file per page that survives all that.

Open Claude Code in your site's project folder — then Claude already has the code as files. No project folder (anymore)? That's fine too: the prompt tells Claude to fetch every page from your live site. Fill in the two [brackets]:

COPY & FILL IN
"My new site is live at [link to your site] and needs to move to the WordPress of [yoursite.com]. Use the source code in this project folder; if it isn't here, fetch every page from the live link — and follow all internal links (menus and footers too), so you don't miss a single page. Convert every page into one paste-ready HTML file for a 'Custom HTML' block: all CSS inline in a <style> block, image URLs absolute to the live site, analytics scripts removed. Make the page span the full width (even in themes with a narrow column) and hide the theme's own header, footer and page title. Give me a preview file per page that I can open locally, a table with the exact title + slug, and a step-by-step plan. I'll switch the homepage last via Settings → Reading."
DOING THIS MORE OFTEN?

Afterwards, tell Claude: "turn this into a skill". Next time it's one command instead of this whole prompt.

The steps, with screenshots

This is the whole trick as it really looks — shown here with a real entrepreneur's new site. All regular pages first, the homepage very last.

New page

Log in to WordPress and go to Pages → Add Page.

WordPress: Pagina's — Pagina toevoegen

Type the title

The title automatically becomes the slug too — you'll check it in step 5.

WordPress editor met paginatitel

The block: type /html

Click in the text, type /html and choose Custom HTML.

Aangepaste HTML blok invoegen

Paste the code

Open Claude's paste-file, select all, and paste it into the code window. A preview appears on the right. Click Update.

Code geplakt in het HTML-blok met live preview

Check the slug, then publish

In the page settings on the right: the slug must exactly match Claude's table. Correct? Publish. Repeat steps 1–5 for every page.

Slug controleren in de zijbalk

Switch the front page

Once all pages are in: Settings → Reading → "A static page" → pick your new homepage. Write down what's there now first — then you can always switch back in one click.

Instellingen → Lezen: statische pagina kiezen

Done

Your new site now is your website — on your own domain, in your own WordPress. All internal links work right away, because the slugs match.

De nieuwe site live als voorpagina

Watch it happen (1 minute)

The whole move in 66 seconds, subtitled step by step.

FAQ

YOU'RE DONE WHEN

Every page of your new site is published with the right slug, the front page points to your new homepage, and you click through your own menu without a single broken link.

MAIK · Claude Code for entrepreneursModule — Your site on WordPress