Rebuilding an existing website with AI: the process in 6 steps
Rebuild a website that already exists with AI without losing data, addresses or rankings: my 6-step process, with human review of every line.
Published on · updated on November 26, 2026 · 9 min
Rebuilding an existing website with artificial intelligence means rewriting its code while keeping the data, the addresses and the processes that already work: AI writes the first version, and a developer reviews it line by line and signs it off. My process has 6 steps: analysis, redesign, rewrite, testing, going live (go-live) with redirects, meaning automatic forwards from the old addresses to the new ones, and handover. A rebuild like this takes 2 to 8 weeks, against the 3-6 months I estimate for a traditional rebuild.
If you search for "build a website with AI", you mostly find builders that start from scratch. Here I'm talking about the other case, the most common one in companies: the website, online store or business software already exists, it's old, but it holds customers, orders and years of rankings on Google.
Building a website with AI or rebuilding the one you have: what changes
An AI builder, an online service that creates websites automatically, generates new pages from a description. Some start from an existing website: Hostinger's website cloner (page accessed in November 2026), for example, recreates content, structure and design from an address by analysing the visible content, and warns that the result is a similar starting point, not a perfect copy.
For a simple brochure website starting from scratch, it's a sensible choice. The problem arises when there's something else behind the pages: a customer database, a shopping cart, a private area, a connection to the business software or to the courier. That part can't be seen from outside, so it can't be copied.
| AI builder or cloner | Code rebuild with human review | |
|---|---|---|
| Starts from | A description or the visible pages | The project's real code, database and workflows |
| Data, orders, users | To be re-entered or migrated separately | They stay, migrated and tested on a copy |
| Page addresses | To be rebuilt by hand | Mapped one by one, with 301 redirects |
| Who controls the code | The platform | The developer, line by line |
| Suited to | A new, simple website with no logic behind it | Websites, online stores and business software already in use |
The process in 6 steps
- Analysis of the existing project, with a written estimate.
- Redesign of only what's needed.
- Rewrite with AI and review of every line.
- Tests, written first and passed before go-live.
- Go-live with no downtime, with the old addresses redirected.
- Handover: a maintenance fee, or the code handed to whoever you choose.
1. I analyse the project you already have
I read the code, the database and the real workflows, not just the pages. A project that has been running for years contains the real processes, the exceptions and the odd cases that no initial document describes. Within two days I send you a written estimate: what to keep, what to redo, what to drop, with time and cost. You decide with the numbers in hand, before spending anything.
2. I redesign only what's needed
I don't rebuild a website because it's old. I rebuild it because it has to bring in customers, orders or bookings. The interface and the structure of the software are new, but your data and your processes stay. We approve screens and workflows together, usually between the second and third week: no months of meetings.
3. I rewrite with AI and review every line
This is where AI makes the difference on timing: it writes the first version quickly. I know what to ask it, what to throw away and what I'd never let it touch. I review, correct and sign off every line before it goes live. No data from your database goes through the AI: it works on the code, not on your customers.
The review is not a detail. In a Stanford University study presented at the ACM CCS conference in 2023, with 47 participants, those using an AI assistant wrote code vulnerable to SQL injection, an attack that uses a website's forms to read or alter the database, in 36% of cases, against 7% of those working without one; and they tended to believe their code was more secure. The model used was the one available at the time, but the more recent figure points the same way: according to Veracode's GenAI Code Security Report (July 2025), across 80 coding tasks and more than 100 models, AI introduced vulnerabilities, meaning security flaws, in 45% of cases, and models are getting better at writing code that works, not at security.
In plain terms: AI speeds things up, but control stays human. It's this combination that cuts the time, not the tool on its own.
4. I test before going live
I write the automated tests first: checks that verify on their own that every feature gives the right result. They must all pass before go-live. Every week you get a version to try with your sample data and your real cases. That way problems surface straight away, when they're cheap to fix, not on launch day.
5. I go live with no downtime and without losing rankings
I work in a separate environment, a working copy the public doesn't see: the old website stays live until the switch, which happens in an agreed window. Before go-live I prepare the map of old addresses to new ones. If data needs migrating, I rehearse the migration three times on a copy before doing it for real.
For redirects I follow Google's guide to moving a site with URL changes (Google Search Central, accessed in 2026):
- map every old URL to its new equivalent;
- use permanent server-side redirects (301 or 308 codes);
- update internal links, the sitemap (the list of pages you give Google) and the canonical tags (which tell Google the main version of each page) with the new addresses;
- keep the redirects for as long as possible, generally at least a year.
Google also says that for a small or medium-sized site it takes a few weeks for most pages to show as moved: it's normal to see some fluctuation in the first few days.
6. I leave you code you can maintain
After go-live you can keep me on a monthly fee or hand the code to whoever you like. It's documented, tested and written in PHP with Laravel, tools any developer knows. The repository (the code archive), server and data stay in your name.
How long it takes: the timeline of a typical rebuild
Timing depends on what's inside the project, not on how many pages it has. This is the breakdown of a typical six-week rebuild; a simple website is done in two, business software with many integrations takes up to eight.
| Step | What you get | When |
|---|---|---|
| 1. Analysis | Written estimate of time and cost, what to keep and what to redo | Week 1 |
| 2. Redesign | Screens and workflows approved together | Weeks 2-3 |
| 3-4. Rewrite and tests | A version to try every week | Weeks 3-6 |
| 5. Go-live | Website live, old addresses redirected, data migrated | Week 6 |
| 6. After go-live | Maintenance fee or code handover | Straight away |
An example: CuraPiù, from paper to software
The case I most like to talk about wasn't a website to rebuild, but a process that already existed and lived on paper. CuraPiù is the management software for nursing and care homes that I designed and built: in many Italian facilities, the medication chart is printed every morning, vital signs are noted on a sheet and then copied into Excel, and each resident's care plan (known in Italy as the PAI) is filled in with Word.
I applied the same method: I started from the real work of a care home, from a day on shift, and built the software around it. Every resident has a QR code: staff scan it and log an activity in 3-5 seconds instead of the 45-75 a handwritten entry takes. A spoken note becomes data to confirm, saving about 3 minutes per note. A facility is up and running in 7 days, migration and training included. You'll find all the details in the CuraPiù case study.
The lesson I bring to every rebuild: the real process is already written down somewhere, in the code or on paper. My job is to read it, keep it and rebuild everything else.
Frequently asked questions
Can you rebuild a website with AI without losing your rankings?
Yes, if the switch is planned. Before go-live, every old address is mapped to the new one and permanent server-side 301 redirects are set up, as Google advises, and kept for at least a year. Internal links, the sitemap and canonical tags are updated too. Some fluctuation in the first few weeks is normal.
Is code written by AI secure?
Not on its own. Studies such as Stanford's 2023 research and Veracode's 2025 report show that AI-generated code often contains vulnerabilities. That's why I review, correct and sign off every line before go-live, and all the tests have to pass. AI speeds up the writing; control stays human.
How much does it cost to rebuild a website with artificial intelligence?
It depends on what's inside, not on the number of pages. Usually the cost is between a third and half of a traditional rebuild, but that's an indicative range. The exact figure comes after the free 30-minute analysis, with a written estimate of time and cost within two days.
Does the website stay live while you rebuild it?
Yes. I work in a separate environment and your current website stays live until the switch, which happens in a window agreed with you. The old addresses are redirected and, if data needs migrating, I rehearse the migration three times on a copy before doing it for real.
Where to start
The first step is always the analysis: understanding what's in the project before deciding how much to rebuild. That's what I do when I rebuild websites and business software with AI: I read the code and data, send you a written estimate and, if we go ahead, rewrite it with human review of every line. If the website was built by someone who no longer replies, first secure access and code with the checklist on what to do if your web developer has disappeared. Book the free 30-minute analysis: within two days you'll know what to keep, what to redo and how much it costs.