Keep a Confluence page off a published site

To keep a Confluence page off a site published with Capable Sites, add the label capable-sites-exclude to the page in Confluence, then run Update and Promote. The page disappears from the site, its search and its sitemap. Page restrictions do not do this. Every page below it is left out as well.


#Before you start

  • You need permission to add labels to the page in Confluence.

  • To publish the site, you need to be a Confluence admin or a collaborator on it.

  • To hide a whole space, remove it from the site in Settings > Spaces & URLs instead.

  • To hide only part of a page, use the Hide on published site macro instead.


#Steps

  1. Open the page in Confluence.

  2. Add the label capable-sites-exclude.

  3. In Capable Sites, open your site and select Update on its Overview.

  4. Check the staging preview no longer has the page, then select Promote.

The Confluence Add labels dialog with capable-sites-exclude added
Add capable-sites-exclude to the page, then Update and Promote your site.

#If it does not work

  • The page is still live. The label only takes effect on the next Update, and the live site only changes when you promote.

  • It is still there an hour later on a live site. Label changes on a live site are picked up by an hourly check, so allow up to an hour.

  • You used your own label. Only capable-sites-exclude and scroll-help-center-exclude-page work.



Labels only. Restrictions are not exclusion.