> For the complete documentation index, see [llms.txt](https://docs.loopit.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loopit.co/settings/website/new-website/previewing-and-publishing.md).

# Previewing and Publishing

Save your website changes as a draft, preview them, and publish them when you're ready for customers to see them.

Save your website changes as a draft, preview them, and publish them when you're ready for customers to see them.

### About Drafts and Publishing

When you save a page, your changes go into a draft. Your customers don't see them until you publish. This means you can work on your website over several sessions and check everything before it goes live.

The bar at the top of the website editor shows where your website is up to:

| Status          | What it means                                                               |
| --------------- | --------------------------------------------------------------------------- |
| Not live yet    | You haven't published the new website. Customers see your previous website. |
| Published       | Customers see your latest saved changes.                                    |
| Changes pending | You have saved changes that aren't published yet.                           |

It also shows when you last published.

<div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-e180bc204dc2088fd9d05bcadc391d2a9a49e7e2%2Fwebsite-top-bar.png?alt=media" alt="The website status bar with the status, Preview, Unpublish and Publish buttons" width="563"><figcaption></figcaption></figure></div>

### Saving Your Changes

At the bottom of each page in the editor, you'll find three buttons:

* **Save**: saves your changes to the draft.
* **Save and preview**: saves your changes and opens a preview of the page you're editing.
* **Save and publish**: saves your changes and publishes them straight away.

<div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-f29f8ba01bde3913c844f2272c3f92ef5a9e9e1b%2Fwebsite-save-bar.png?alt=media" alt="The save bar with Save, Save and preview and Save and publish" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
Save your changes before moving to another page in the editor. If you leave a page or reload it without saving, your changes may be lost.
{% endhint %}

### Previewing Your Website

The preview shows all your saved changes, including ones you haven't published yet. Your customers keep seeing your live website while you preview.

To preview your website:

1. Click **Preview** in the top bar, or **Save and preview** at the bottom of the page.
2. Your website opens in a new tab, on the page you were editing. A banner at the top says **Previewing unpublished changes**.
3. Click through your pages to check them.
4. Click **Exit preview** in the banner to see your live website again.

{% hint style="info" %}
If nothing opens, your browser may be blocking pop-ups. Allow pop-ups for Loopit and try again.
{% endhint %}

### Making Your New Website Live

The first time you publish, your new website replaces your previous one for all customers.

To make your new website live:

1. Preview your website and check every page.
2. Click **Publish** in the top bar.
3. In the **Make your new website live?** window, click **Go live**.

   <div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-eee6b811a52615b9c0f9b94e00a7308df7ef2e2e%2Fwebsite-go-live.png?alt=media" alt="The Make your new website live window with the Go live button" width="563"><figcaption></figcaption></figure></div>

<div align="left" data-with-frame="true"><figure><img src="https://2451226423-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT8x4qsJr8A1IrE3A8r3f%2Fuploads%2Fgit-blob-323b8ce259509abb9190b167d834e880559b78da%2Fwebsite-publish.gif?alt=media" alt="Clicking Publish to open the Make your new website live window" width="563"><figcaption></figcaption></figure></div>

Your customers now see your new website, and the status changes to **Published**.

{% hint style="warning" %}
Publishing takes effect straight away. Preview your changes first if you haven't checked every page.
{% endhint %}

### Publishing Changes

After your website is live, publish whenever you have changes ready.

To publish your changes:

1. Click **Publish** in the top bar.
2. In the **Publish your changes?** window, click **Publish**.

The **Publish** button is greyed out when there is nothing new to publish.

### Going Back to Your Previous Website

If you need to, you can take the new website offline and show your previous website again.

To go back to your previous website:

1. Click **Unpublish** in the top bar.
2. In the **Unpublish your new website?** window, click **Unpublish**.

Customers see your previous website again straight away, with its earlier colours, logo and consent wording. Your changes stay saved as a draft, so you can keep editing and publish again whenever you're ready.

### Important Things to Note

* Publishing also updates the colours, logo and consent wording used on your other customer pages, such as invoice payment and contract signing pages.
* The **Unpublish** button only appears when your new website is live.
* A preview link stops working after about two hours. Click **Preview** again to open a new one.
