ChatGPT Built My Website, But It Does Not Work
A practical first diagnosis for ChatGPT-built websites that look finished but fail when tested.
If ChatGPT built your website but it does not work properly, the problem is usually not that the whole idea is unusable. Generated code can be incomplete, based on assumptions that are not true on your site, or only partly connected to forms, JavaScript, hosting, responsive CSS and other live components. The safest next step is to identify exactly what is failing before pasting in more fixes.
ChatGPT can produce useful starting points quickly: page structure, HTML, CSS, JavaScript, form markup and copy. A website can therefore look nearly finished in a preview while still failing once people use it, it is published, or it meets the rest of your WordPress setup. The gap is often between a plausible piece of generated code and a working website journey.
The site looks finished but parts do not work
The visible design is only one part of a website. A button can look correct but do nothing. A menu can appear on desktop but fail to open on a phone. Content can disappear because a selector, template or script behaves differently after publishing. A contact form can accept typing and even show a success message without ever delivering an enquiry.
Other signs are more subtle. A page might work in a local preview but fail on the published domain, an embedded service may stop loading, or a layout may only break at certain widths. JavaScript errors can prevent an apparently unrelated interaction from working. These are not all the same problem, so they should not all receive the same generic fix.
Start by describing the symptom in plain terms: what should happen, what happens instead, where it occurs and whether it changes between desktop, mobile, preview and live site. That simple distinction helps separate a display fault from a form, runtime, publishing or integration problem.
Generated code may assume things that are not true
Generated website code often has reasonable assumptions built into it. It may expect a file to live at a certain path, a JavaScript library to be loaded already, an HTML element to use a particular class name, or a server to handle a form submission in a particular way. If your real site differs, the code can look convincing while failing in use.
Common examples include hard-coded URLs that still point to a preview address, image paths that do not exist after publishing, CSS rules that are overridden by the theme, or a script that runs before the page element it needs is available. A form may contain only the front-end fields, with no secure handler, email configuration or spam protection behind it. Environment settings, API keys and redirects can also be missing or different on the live host.
None of that makes ChatGPT a bad tool. It means the generated answer needs to be fitted to the actual website, rather than treated as a complete deployment package. The useful question is not “why did AI get this wrong?” but “which assumption does this website not meet?”
Different failures need different diagnosis
A broad problem-led article cannot diagnose every fault, but it can help you avoid mixing them together. If the page structure or styling is wrong, the relevant work is often HTML, CSS, template context and responsive rules; see why ChatGPT-generated HTML and CSS can fail on a live website. A button, filter, menu or dynamic feature that fails may be a runtime problem, dependency issue or JavaScript error, covered in the guide to ChatGPT-generated JavaScript that is not working.
Forms deserve their own check because visible fields are not the same as successful delivery. If an enquiry does not arrive, follow the specific checks for a ChatGPT contact form that is not working. If the desktop page looks acceptable but the mobile journey does not, use the guide for a ChatGPT website that works on desktop but not mobile.
Publishing and hosting faults can involve routes, redirects, cache behaviour, file paths or server configuration. Search visibility is different again: a page can work for visitors and still have weak page structure, rendering or indexing signals. The separate guide to SEO problems on a ChatGPT-built website covers that subject without turning this article into an SEO checklist.

Why more generated fixes can make the fault harder to find
It is tempting to ask ChatGPT for another version of the code whenever something fails. That can be useful for a small, understood change. It becomes risky when the original cause is still unknown. A new snippet may duplicate an earlier script, add a conflicting CSS rule, hide the symptom with a workaround, or create a second route through the same form.
After several rounds, it can become unclear which version is active and which change caused the next side effect. The site has not failed because too much AI was used; it has become harder to reason about because patches have accumulated without a clear diagnosis. Pause, note the last known working state and establish the failure before adding another layer.
Many ChatGPT-built websites are repairable
Once the real fault is known, many issues have a focused repair. That might mean correcting a selector, loading the missing dependency, repairing responsive CSS, connecting a form to the right handling and email delivery process, replacing an incorrect path, or tidying a generated component so it fits the existing theme or page builder safely.
The right repair depends on the evidence. It may be a small correction, a clearer template structure or a targeted code cleanup. It should not be assumed that every problem needs a new website, and it should not be assumed that a fresh prompt is always the quickest solution.
When a partial rebuild is the safer option
Sometimes the amount of duplicated, conflicting or incomplete code means that replacing one part of the implementation is safer than continuing to patch it. This can apply to a single form flow, a page template, a navigation component or an area of the site that was assembled from several incompatible snippets.
A broader rebuild may be sensible only when the current structure cannot support the required site, the code cannot be maintained safely, or the business needs have outgrown the original approach. It is a conclusion to reach after investigation, not a default recommendation.
What a proper diagnosis should establish
A useful diagnosis should say what is actually broken, the likely cause, whether it is repairable and what needs to happen next. It may involve checking the rendered page, browser errors, form delivery, responsive behaviour, theme or plugin context, routes, integrations and the relevant live environment.
That is paid diagnostic work, not a free audit. A quick surface look can only establish whether an enquiry appears suitable. Detailed investigation and explanation are a separate paid stage, followed by separately scoped repair or implementation if that is the sensible route.
If you need that broader assessment, the ChatGPT Sites and ChatGPT website repair service is the commercial route for diagnosing faults in a website built with ChatGPT and deciding whether targeted repair, restructuring or a partial rebuild is appropriate.
Before you change anything else
Keep a note of the exact symptom, the page or device affected, recent changes and any error messages. Avoid replacing several things at once. A clear record makes it much easier to trace the cause, protect the parts that already work and choose a repair that improves the site rather than adding another temporary layer.
ChatGPT can still be part of the solution. The important step is to use it alongside a clear understanding of the live website, rather than asking it to guess at a fault that has not yet been identified.