> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Import Changes to Your Site

## Article: Import Changes to Your Site

## Article Link: https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/import-changes-to-your-site.md

## Article Content:

# Import Changes to Your Site

<blockquote class="caution">

__Alpha:__
[Exporting your site to code](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md) is currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

</blockquote>

Import an [exported site](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md) back into Studio Two to save the changes you made outside Wix. The import doesn't publish the site. You review the result in the editor and publish when you're ready.

<blockquote class="important">

**Important:**
The import replaces the site with the exported site's version. It deletes pages that aren't in the exported site, and it overwrites any changes made in Studio Two since you exported. For details, see [Import back into Studio Two](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md#import-back-into-studio-two).

</blockquote>

## Before you begin

Make sure you have:

- An exported site with its packages installed, whose changes pass the [lint](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/edit-an-exported-site.md#check-your-changes). The exported site includes the Wix CLI and the site export commands. Make sure the CLI is [logged in](https://dev.wix.com/docs/wix-cli/command-reference/global-commands/login.md) to your Wix account.
- No changes made to the site in Studio Two since you exported it, or you're ready to lose them.

## Import your changes

To import your changes:

1. In the root of the exported site, run:

   ```bash
   npx wix origami import-site
   ```

2. If the import lists images that aren't in Wix Media yet, enter `y` to upload them to the site's Media Manager. Images that aren't in Wix Media don't display on the imported site. These are usually images added from a URL or from a file on your computer.
3. Check the output. It shows how many pages the import added and deleted.
4. Open the site in the Studio Two editor and review the changes.
5. Publish the site from the editor when you're ready.
6. Before you make more changes, [export the site again](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/export-your-site-to-code.md#export-your-site) in the root of the exported site, so you work from the site's current version.

## See also

- [About Exporting Your Site to Code](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md)
- [Export Your Site to Code](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/export-your-site-to-code.md)
- [Edit an Exported Site](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/edit-an-exported-site.md)
- [Host an Exported Site Outside Wix](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/host-an-exported-site-outside-wix.md)
- [`wix origami import-site`](https://dev.wix.com/docs/wix-cli/command-reference/origami-commands/origami-import-site.md)
- [`wix origami upload-media`](https://dev.wix.com/docs/wix-cli/command-reference/origami-commands/origami-upload-media.md)