Exporting a Site
Sandvox offers the capability to export a site to a folder on your computer. It does not in any way publish the site to the Internet; everything is kept on your computer.
You might make use of the export command if you:
- Are unable to publish to your host for some reason. Having exported the site, you can manually upload it using an FTP client if required. We have instructions for if you are using Cyberduck; if not similar instructions apply for other clients.
- Want to get a better idea of how your finished site will behave once published. By exporting, you can try the site yourself using a web browser without having to make it publicly accessible.
- You wish to publish a website to a CD-ROM or DVD for viewing directly on a computer, not using an Internet connection.
If exporting for viewing with the Finder, e.g. to a CD-ROM, the option for turning on index.html file extensions should be enabled so that links to directories will show properly in the browser window (rather than opening up a Finder window). To do this, check the "Include index filename" box in the Site Tab of the Document Inspector.
To export a site:
- Open the Publish menu and choose "Export…"
- Select a folder to export to.
Be sure to export your website this way. You cannot upload your Sandvox document directly; it contains information for Sandvox to edit your Website but it is not viewable over the web.
Base URL Required
Your exported website needs to know what its base URL will be (for instance, so that any RSS feeds will have the proper links) before you can export. If you have already set this up in the Host Setup Assistant, then this will be taken care of already, but if not, then you will be asked for the Site URL when you specify the folder name for exporting.
Keywords: export, exporting, exports, exported, site, sites, publish, host, publishing, published, incompatible, incompatibility, upload, uploading, manual, manually, preview, previews, previewing, URL, required for RSS feeds to be valid