CMS - Accidently published draft content
Modified on: Wed, 6 Apr, 2022 at 12:06 PM
If you have accidently published a page that you are currently updating and do not want your changes to be visible to the public yet, don't worry, you can rollback your changes.
- I am assuming your are already logged into the your website's CMS, if not log in (instructions on how to log in)
- Find the page that you have accidently published and want to revert
- On the "Edit Page" view there is a "History" box (bottom right) which provides a log of the state of the page each time it has been saved (see below)
- "Clear" removes all entries in the table (i.e. resets the history of the page) - be careful with this, as this action can't be undone.
- The button with the magnifying glass and the date and time will show you a snapshot of the page as it was at that point in time. This is useful if you want to revert to an earlier version, but are not sure which one to revert to
- The green arrow button reverts the state of the page to the state selected - i.e. it will revert the state of the page to the state it was in at the date and time in the same row as the button you press. So in the example below the 2nd green arrow would revert the page to how it looked at 1:34pm on the 10th of December, 2018.
- The red minus sign will remove that entry from the table. This has a similar functionality to the "Clear" button, except you are only removing a single entry from the table, rather than all entries from the table - note, this action can't be undone (i.e. you can't re-add an item after it has been deleted).
Now we know about the "History" box, how can we use it to revert the page?
Let's say that we accidently saved and published a page on our website on the 4th of March 2020 at 9:20am. We were working on some new content that wasn't read to be released to the website just yet. We want the page (with the new content) saved (i.e. draft), but we don't want it to be visible to the public (i.e. published). We want the public to see the page as it was on the 10th of December 2018 at 1:34pm.
- Click on the green arrow button that is on the same line as the date and time associated with the state of the page that we want the public to see (in this case the 2nd visible green arrow) - note we can first click the "magnifier with date/time" button to check this is the correct version of the page.
- Click "save and publish" - until you publish a new version of the page, nothing will change for the user viewing your website.
- Find the history record with the new content to save as a draft and click the green arrow associated with that record (in this case the first green arrow, which is associated with the changes saved at 9:20am on the 4th of March 2020).
- Click "save" this will save your new content as a draft. Note, do not publish, but clicking "save and publish", otherwise the public will be able to see these changes.
- If and when you are ready for the public to see the changes you have made to this page, click "save and publish".
Did you find it helpful?
Sorry we couldn't be helpful. Help us improve this article with your feedback.