How do I build a WordPress website with ChatGPT or Claude? Print

  • ai, chatgpt, claude, wordpress, ai website, custom theme, wordpress theme, plugin, starter, cheap website, website with email
  • 0

WordPress is free software that runs about four in ten websites. You edit it in your web browser, so once the site is up you can change text, swap photos, add pages or start a blog yourself.

AI chat assistants such as ChatGPT and Claude can build the whole site for you. Ask for a custom WordPress theme: a single .zip file with your design, and every page already written. When you install it, the theme creates the pages, the menu and the main settings by itself. You don't copy and paste anything into WordPress.

This guide shows you how to do it on our Starter hosting package. If you only need one simple page that rarely changes, an even quicker route is How do I make a simple website with ChatGPT or Claude and put it on my hosting?.

Why this instead of an AI website builder?

AI website builders charge a monthly subscription for as long as your site is online, often in US dollars, and most don't include email on your own domain. With WordPress on our hosting, you get your website and your email addresses on one platform, with one bill:

Starter packageR120 a year (about R10 a month), billed yearly
Websites1
Storage1 GB SSD
Email addresses10, such as [email protected]
Also includedcPanel, one-click WordPress, PHP and MySQL, free SSL (the padlock) and unlimited bandwidth

A .co.za domain costs from R85 a year, so a WordPress site with email costs about R205 for the first year. The theme the AI makes is yours. You can change it, back it up, move it, or hand it to a web designer at any time.

Is Starter big enough? 1 GB holds a business website of 5 to 15 pages with a few dozen photos, plus your email. It is not enough for an online shop, a big photo gallery, or mailboxes that keep years of mail. For those, choose Easy (5 GB, 3 websites, 100 email addresses) or bigger. You can upgrade later without rebuilding the site (How do I upgrade my hosting or Email Hosting package?). New clients who pay for a year of Easy or bigger also get a .co.za domain free.

What you need

  • A ChatGPT or Claude account that can create downloadable files. Both can make a .zip file for you to download. On free plans this can be limited, and a paid plan makes it easier.
  • A Starter (or bigger) hosting package and a domain. Order Starter here.
  • The facts about your business: what you do, where, your hours, your prices if you publish them, and your contact details.
  • Your logo and a few photos, resized to about 1600 pixels wide. A 4 MB phone photo becomes about 300 KB.
  • About an hour or two.

How it works

A WordPress block theme is a folder of files:

  • a style file with your colours and fonts;
  • templates for the header, footer and pages;
  • ready-made sections (called patterns);
  • a small piece of PHP code that runs once, when you activate the theme.

That code creates your pages with their content, builds the menu, sets your home page and puts your photos in the Media Library.

After that, everything is normal WordPress content. You can edit any page in the WordPress editor, without the AI.

Step 1: Plan the site with the AI

Start a new chat and describe your business. Ask the AI to plan the site with you before it builds anything:

I want a WordPress website for my business. Smith Plumbing is a family plumbing business in Pretoria East, started in 2010. We do geyser installations and repairs, leaks, blocked drains and bathroom renovations, in Faerie Glen, Garsfontein, Moreleta Park and Silver Lakes. We work Monday to Friday, 7:00 to 17:00. Phone 012 345 6789, WhatsApp 082 123 4567, email [email protected]. Most customers find us on Google and contact us on WhatsApp.

Suggest a simple site with no more than 6 pages: what each page should say, and the search phrases each page should target. Then write the full text of every page for me to check. Ask me any questions you need answered first. Don't invent facts, reviews, prices or awards.

Read the text carefully and correct it in the chat: "Change the hours", "Add Centurion", "Make the About page shorter". It is much easier to fix the words now than after the theme is built.

Step 2: Ask the AI to build the theme

Attach your logo and photos to the chat. Then, in the same chat, paste a request like this one:

Now build this website as a custom WordPress block theme (Full Site Editing), and give it to me as a single .zip file I can upload in Appearance > Themes > Add New Theme > Upload Theme.

Design: modern and clean, dark blue and white, easy to read on a phone. Put the colours and fonts in theme.json. Include a header with the logo and menu, a footer with our contact details, and a large WhatsApp button. Use only core WordPress blocks.

Pages and content: when the theme is activated, it must run a one-time setup on the after_switch_theme hook that:

  • creates each page with the final text we agreed, as editable block content;
  • copies my attached images from the theme's assets folder into the Media Library, and uses them in the pages;
  • sets Home as the static front page;
  • creates the navigation menu in our page order;
  • sets the site title and tagline;
  • sets permalinks to "Post name".

Safety: the setup must check whether each page and image already exists, so that activating the theme again never creates duplicates. It must never delete or overwrite existing content. Follow WordPress coding standards, escape all output, and don't load anything from other websites. No tracking, no external fonts or scripts, and no admin settings page.

Use the theme name "Smith Plumbing" and version 1.0.0. Before you give me the zip, check that every file is complete and that the PHP has no syntax errors.

The AI writes all the files, packs them into a zip and gives you a download link. Save the zip on your computer. Don't unzip it.

If the AI can't make a zip file, ask it for the "complete contents of every file", one at a time. You can create the files in cPanel File Manager instead: inside public_html/wp-content/themes, create a folder with the theme's name and add each file with + File and Edit. It takes longer, but the result is the same.

Step 3: Install WordPress

  1. Log in to cPanel (see How do I log in to cPanel or Plesk?).
  2. Open WordPress Manager by Softaculous and click Install.
  3. Choose https:// and your domain, and leave In Directory empty.
  4. Enter your site name, and an admin username, password and email address. Don't use admin as the username, and choose a strong password (How do I choose a secure password?).
  5. Click Install, then open the link to your dashboard. It is usually https://yourdomain.co.za/wp-admin.

How do I install WordPress? has more detail. If your domain is new, wait until it opens in your browser and shows the padlock (How do I check that my website's SSL certificate is working?). Only then install WordPress.

Step 4: Upload and activate the theme

  1. In WordPress, go to Appearance > Themes and click Add New Theme, then Upload Theme.
  2. Choose the zip file and click Install Now.
  3. Click Activate.
  4. Open your website in a new tab. Your pages, menu, photos and home page should all be there.

Delete the "Hello world!" post and the "Sample Page" that come with WordPress, unless the theme already did this.

Step 5: Check everything

  • Read every page on a computer and on your phone. Check that the phone numbers, the WhatsApp button and the email links work.
  • Under Pages, check that each page appears once.
  • Under Tools > Site Health, look for critical problems.
  • Ask someone else to look at it too.

Small changes, such as a word, a price or a photo: edit the page directly in WordPress (Pages, then click the page). For the header, footer, colours and fonts, use Appearance > Editor.

Bigger changes to the design: describe them in the same chat, and ask for a new zip with a higher version number (1.0.1, and so on). Upload it the same way. WordPress asks whether to Replace current with uploaded: click it. Your pages are kept, because the setup never overwrites them. Changes to page text are easiest in WordPress itself.

If something goes wrong

  • "The package could not be installed" or "The theme is missing the style.css stylesheet": the zip has an extra folder inside it, or a file is missing. Tell the AI the exact message and ask for a corrected zip.
  • A white screen or "There has been a critical error on this website" after activating: the PHP code has an error. WordPress usually emails the admin address a link to recovery mode. Otherwise, in cPanel File Manager, rename the theme's folder in public_html/wp-content/themes. WordPress then goes back to the default theme. Give the AI the error from that email, or from your error log (My website shows an error. How do I find out why?), and ask for a fix.
  • Pages are missing or appear twice: tell the AI exactly what you see. Under Pages, move any duplicates to the bin, then empty the bin.
  • A block says "This block contains unexpected or invalid content": click Attempt recovery, or tell the AI which page and block it is.

Before uploading a new version of the theme, make a backup (How do I back up my website in cPanel?). If anything breaks badly, you can restore from our automatic backups (How do I restore files, email or a database with JetBackup?).

Prefer to keep a ready-made theme?

Ask the AI for a setup plugin instead. Use the same request as Step 2, but ask for "a WordPress plugin that, when activated, creates the pages, images, menu and settings, for use with the Twenty Twenty-Five theme". Then:

  1. Go to Plugins > Add New Plugin > Upload Plugin and upload the zip.
  2. Click Activate.
  3. Check the site.
  4. Deactivate and delete the plugin. The pages stay.

The default themes get updates from WordPress, so they need less looking after. Your colours and fonts are then set in Appearance > Editor > Styles.

Create your email addresses

Email on your own domain is something AI website builders usually can't give you. In cPanel, open Email Accounts and create your addresses, such as info@ and your own name (How do I create an email address in cPanel?). Then add them to your phone (How do I set up my email on an iPhone or Android phone?) or Outlook (How do I set up my email in Outlook?), or use webmail (How do I read my email in a web browser (webmail)?). Use the same address on your website.

Stay safe

  • Never give the AI your WordPress, cPanel or email passwords. It doesn't need them: you do the uploading.
  • Only upload themes and plugins that you asked the AI to make, or that come from wordpress.org.
  • Keep the AI's setup simple. Ask it not to add contact forms, logins, file uploads or other features that accept input from visitors, unless you need them. If you need a contact form, use a well-known form plugin from wordpress.org, with spam protection switched on.
  • Your custom theme doesn't get updates from wordpress.org. That is fine for a simple theme. Still keep WordPress itself and any plugins up to date (How do I keep WordPress, plugins and themes up to date?), and use two-factor authentication (How do I keep my cPanel account secure?).
  • Keep the theme zip and your own backup safe on your computer (How do I back up my website in cPanel?).

The monthly checklist covers the rest: Basic cPanel maintenance: a monthly checklist.

Ideas for later

  • Blog posts: ask the AI for article ideas that answer your customers' questions, then add them under Posts. Put them in your own words: posts with real local examples do better than text copied straight from an AI.
  • Google: set up a free Google Business Profile with your website address. Ask the AI to add a meta description for each page to the setup, or use an SEO plugin.
  • A shop: WooCommerce adds an online shop, but it needs more space and more care. Upgrade to Easy or bigger first (How do I upgrade my hosting or Email Hosting package?).

Stuck at any step? Open a ticket (How do I contact support or open a ticket?) and tell us where you are. We are happy to help.


Was this answer helpful?

« Back