---
title: "A fix broke another page? Get it back, then stop it happening again"
description: "Your AI coding tool changed one page and another one broke. How to undo the change today, keep the next change small, and what Vunora does differently."
author: "Vimanyu Aggarwal"
date: "2026-11-26"
canonical: "https://vunora.ai/blog/a-fix-broke-another-page-and-what-to-do"
---

# A fix broke another page? Get it back, then stop it happening again

![Two hands typing on a laptop with a dark screen](https://vunora.ai/blog/a-fix-broke-another-page-and-what-to-do.jpg)

You asked your AI coding tool to change one heading on the pricing page. It changed the heading. It also moved the buttons on the home page and pushed the footer off the contact page. You prompt "that broke, fix it", and the fix moves something else. If your tool charges by message or by credit, every round of this costs you, and the afternoon is gone. This post shows how to get the page back today, and how to stop it happening next time.

## Why one change breaks another page

Your pages share code. The header, the footer, the card that shows a price, and the layout around every page are usually one file each, used by many pages. When you ask a coding tool to change something on one page, it edits files. If it edits a shared file, or tidies more than you asked, the change lands on every page that uses that file. The tool sees the code, and it cannot always see which pages a file shows up on.

## How to get back without Vunora

First get the site back to the last version that worked. Then find out what changed.

1. **Roll back the deploy.** If your site is on Vercel, its [Instant Rollback](https://vercel.com/docs/instant-rollback) points your domain back to an earlier production deployment. On the Hobby plan you can go back to the previous deployment only. Pro and Enterprise plans can pick any earlier production deployment. After a rollback, Vercel stops putting new pushes live until you promote a deployment again. Other hosts have their own rollback, so check yours.
2. **Undo the commit.** [`git revert`](https://git-scm.com/docs/git-revert) records a new commit that reverses an earlier one, so your history keeps both. Your developer can run it, or your AI tool can, if you name the commit.
3. **Read the change.** Open the commit on GitHub and look at every file it touched. A file you did not expect to change is usually the cause.

To make the next change safer:

- Ask for one change per prompt, and name the page and the words.
- Work on a branch and merge through a pull request, so you see every changed file before it goes live.
- Open the preview your host builds for the branch, and click through the pages that share the changed file.

This works. It also means every small text change goes through a coding tool, a diff and a deploy.

## How Vunora handles it

Vunora keeps text changes and code changes apart, and nothing goes live without a person pressing Publish.

1. **A text edit changes only that text.** When you edit a line in Vunora's [page editor](https://vunora.ai/product/page-editor), Vunora writes the new words into the exact spot in your source file where the old words were. Layout code and styles stay as they are. If the line sits in a shared part of the site, such as the footer, the new words show on every page that uses it, which is what you want from a footer.
2. **Your site's own build runs first.** On a site that commits directly, Vunora runs your site's build before it commits. If the build fails, nothing is committed.
3. **Edits wait as drafts.** Every edit saves to a draft. Visitors see it only after a person presses Publish.
4. **Vunora AI waits for a person too.** What Vunora AI writes on a page saves as a draft, and it goes live only when a person presses Publish. A bigger change that Vunora AI asks to make waits on the Approvals screen, under "Vunora AI changes", with what the page says now and what it will say after. You choose "Approve" or "Decline".

**Approvals, Vunora AI changes, /pricing**

- Now: Simple pricing for every team
- After: Pricing that grows with your team

_A Vunora AI change waits with what the page says now and what it will say after. You choose Approve or Decline._

5. **Someone edits after approval?** An edit to an approved page cancels the [approval](https://vunora.ai/glossary/approval), so the page needs approval again before anyone can publish it.
6. **A draft looks wrong?** Open the menu beside Publish and choose Revert to published. The draft goes, and the page stays as visitors see it now.

**Revert to published**

1. **Open the menu beside Publish** Schedule, Revert to published and Unpublish are in it.
2. **Choose Revert to published** The draft goes.
3. The page stays as visitors see it now

7) **A published change was wrong?** Each Publish reaches your repository as a commit or a pull request, so your history shows exactly which file and which words changed. Your host's rollback and `git revert` work on it like on any other commit.

**src/app/pricing/page.tsx, 1 file changed**

- Removed: \<h1>Simple pricing for every team\</h1>
- Added: \<h1>Pricing that grows with your team\</h1>

_The commit a Publish made: one line in one file, and no layout or style touched._

8. **A page was deleted by mistake?** A deleted page stays in Trash for 30 days. A workspace admin opens Trash and chooses Restore.

**Trash**

- **Pricing**: 30 days left, Page, deleted today (Restore puts it back where it was)
- Spring launch: 23 days left, Post, deleted last week

_A deleted page stays in Trash for 30 days, and a workspace admin chooses Restore._

What changes for you: a heading change is one line in one file, made by the person who wanted it, checked by a build and seen in a draft before anyone else sees it.

## Where Vunora stops today

- Vunora undoes what changed in Vunora. Before you publish, use Revert to published. After a change is live, open Versions, pick the version from before and choose "Restore this version". The page stays published, so the restored version goes live. A change your AI coding tool made in the repository still needs your host or Git. The guide to [undoing a Vunora AI change](https://vunora.ai/blog/undo-a-change-vunora-ai-made) walks through each way back.
- Your own AI coding tool can still edit the repository directly, outside Vunora. Vunora brings those commits in, and it does not review them.
- The build check runs before a direct commit. On a site that uses pull requests, your host's build on the pull request is the check.
- A change to code, such as a layout or a new section, is a code change. Vunora AI can make one, and it always asks for approval first, but it is not the same as editing a line of text.
- Trash and Restore are for workspace admins.

_Drafted with AI help and checked against the product._
