There are occasions, on a DotNetNuke website where we do not want to show all of the pages in the menu, but we wish them to be publicly available.
Pages which are publicly viewable but organised below a hidden page are not shown in the menu. We can use this to hide some of the pages on our website, for example the pages associated with the legal side of a website: privacy; terms; cookie policy.
Removing some of the public available pages from the menu also makes the menu easier to view, keeping it simple and targeted.
To do this we will stack the required pages behind a page. assuming its the legal pages which we wish to hide, behind a page called Legal.
Create a new page called Legal_pages which is a top level. Settings which are relevant to this page are:
- Include in Menu (Page Details) – this option is to be un-ticked.
- Disabled (Advanced Settings >> Appearance) – the page will not have any content, purely acting to block the visibility of its child pages. Check this option disabling the page.
- Allow Indexed (Advanced Settings >> Other Settings) – the page is to be hidden with no content, there is no requirement for it to be indexed.
Pages which are now assigned to have this page legal_pages as their parent, or are a child page of one of these, will be hidden from view, in the menu.
Don’t forget to ensure that links are provided on the website to the hidden pages.


