How to unpublish a page?

I have searched the forum about unplublishing a page but couldn't find a clean way to do it.

What I usually do is, go to the page Properties and exclude the page from sitemaps, menus, etc. Basically I tick all the "exclude" options in the page properties. I also disallow Guest from viewing the page. If Guest tries to access the page by typing in the direct URL, it takes them to the dashboard login. This is not what I want to happen. I'd prefer to display "page does not exist" error or redirect back to the homepage. Is there a setting for this on C5?

View Replies:
Remo replied on at Permalink Reply
That's an interesting question. I would have expected that I can unapprove every page version in the "Versions" dialog but that doesn't seem to be possible.

I'm not sure, but it looks like it's not possible!

You could add a new attribute "active" but you'd have to include that in every pagelist, autonav etc. Not the nicest solution..
Shel replied on at Permalink Reply
I recently had to do this. I went back to see all the versions and approved the page version that had been in place *just before* I edited it (i.e., not the most-recent page). I then closed up the site, reopened it and was able to disapprove (or unpublish) the most recently-edited page, the one I didn't want showing. But I had to leave the site first before the option was activated.
cmscss replied on at Permalink Reply
Thanks for that but we're looking for a way for the page to be unpublished - not just revert to a previous version but not appear anywhere.

As a fallback we're using permissions to only show the page to Administrators but need to check that this removes the page from sitemap.xml etc
cmscss replied on at Permalink Reply
Did you ever figure this out?

After searching around I'm beginning to suspect you can't click a button to un-publish a page?

I'm adding hide from nav, hide from sitemap attributes but ideally, I just want to un-publish the page so I can tell the client how to do this more easily.
BlueFractals replied on at Permalink Reply
No I haven't figured this out either. I can't believe C5 does not have this feature built-in. This should be a basic feature of a CMS. I don't think there are plugins to do this either.
scorchsoft replied on at Permalink Reply
The way I've done it is to change the permissions of the page so it can only be accessible by admin users (removing the guest permission). This way guest users (I.e. those not logged in) will not see the page in any of the navigation areas, sitemap included.
simoneast replied on at Permalink Reply
I realise this thread is 4 years old, but it still comes up first in Google, so thought I would post the various options I've found for "Unpublishing" a page in Concrete5.7:

* Using the Sitemap, drag the page into the drafts folder (you'll need to tick the box that says "Include System Pages in Sitemap" first).

* Simply hide the page from the menu (by setting the attribute "Exclude from Nav"). Note that this may prevent people from stumbling across the page, but does not prevent them accessing it if they know the URL.

* Remove page permissions for the types of users you want to hide it from (this will also hide it from the menu if users don't have the permission to view it)

It might also be possible to revert to an earlier revision of the page if you prefer that option (rather than hiding it completely).