How to unpublish a page?
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?
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..
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
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.
* 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).