Publish a website, preview it or take it offline
Changes to an editor website are saved as drafts. Preview them, publish every page at once, discard them, or take the website offline.
Changes are saved as a draft a moment after you stop typing, and Cmd+S (Ctrl+S on Windows) saves at once. Visitors do not see drafts.
Preview the drafts
Preview opens the open page's draft in a tab of its own, as visitors will see it once you publish, with links to the website's other pages in their drafts too.
The website's scripts run in the preview where they run on the published website (see "Scripts and forms at the Magpie address" below). Only people who can open the website in Websites can see the preview; to open it again later, choose Preview again.
Publish
Publish puts the drafts of every page online at once. The button reads Publish changes when there are drafts visitors do not see yet, and Published when there are none.
A page's name, its address and whether the navigation lists it do not wait for Publish; see Add, rename, order and delete pages.
Go back to what visitors see
Choose Discard unpublished changes in More. Every page's draft will be replaced by its published version. A page that has never been published keeps its draft.
To go back to an earlier published version, see Restore an earlier published version.
Take the website offline
- Choose More, the last button in the page bar.
- Choose Edit details.
- Turn off Published.
The sitemap and robots.txt
At its own address (its domain, or Magpie's website address for it), a
published website answers /sitemap.xml, listing its published pages for
search engines, and /robots.txt, which names the sitemap.
Scripts and forms at the Magpie address
At Magpie's address for a website (magpie.diy/site/ and its name), its pages
show as written, but their scripts, forms and automatic redirects do not run,
so no page at that address can pass for one of Magpie's own. They run at a
domain of the team's.
Team admins can show the website at a domain the team owns; see Show your website at your own domain.
For a published page that differs from what you published, Contacter l’assistance.
Demander à l’assistance Magpie
Envoyez à l’équipe Magpie une question sur tout ce que cet article n’explique pas.