Hide a Page or Remove a Page From the Menu
Hiding a page keeps the page and its contents, but the page is not displayed on the public website. This is often more useful than deleting a page because the page remains for future use and reference. It also allows you to work on a new page without users seeing your unfinished page.
Setting a page's type to "not in menu" is another way to limit public view of a page. Instead of totally hiding the page, the links to the page are removed from the menu. The page will not have links to it unless you manually add a link in the content of a page. This option is useful during development of one or more pages because multiple people can review the page if they know the web address of the page, but general users will not find the page because there are no links to it from the website.
Hide a page from the page tree
- To keep a page from being seen by the users of your website you can hide the page.
- First click Page at the left.
- Find the page you want to hide in the page tree.
In this case we are hiding the Pastor's Blog page. This will remove the page from public view, but the page will remain in the page tree for potential use in the future. - Click on the Page Module and then navigate to the Pastor's Blog page.
Here is the page in the page tree. - View your home page in the Frontend.
Before the page is hidden, here is what the website looks like. The Pastor's Blog is in the menu and the Pastor's Blog page is displayed. - Back in the TYPO3 Backend, click the page icon to the left of the page name.
- In the drop down menu, click on Hide to hide the page from the Frontend.
- Next, clear the Page Content Cache to effect the changes in the Frontend.
- Notice that the page icon changes to visually indicate that this page is hidden from public view even though the page remains in Backend.
- Next, go to the Frontend, refresh your browser, and open the navigation menu.
- You can see that the Pastor's Blog page is missing from the menu. The page is now hidden from public view.
Hide a page from the page edit form
- A second way to hide a page is to set the Hide checkbox while editing a page.
- Click on the page name in the Page Tree or the Edit Page Properties icon on the Content Element Display.
- Check the Hide page checkbox.
Of course, you can also unhide a hidden page by unchecking this checkbox.
- Notice that the page icon indicates that the page is hidden.
Set a page to "Not in menu"
- You can also remove a page from the menus without hiding it. This makes the page visible on your website only if the user knows the web address of the page.
- In the Page Edit form, click on the Hide in menu checkbox and then save your work.
Notice that the icon changes to a lighter color to indicate that the page will not be included in the menu. - Now check the Pastor's Blog page again.
By entering the web address of the page, the page will display since the page is "not in menu" instead of "hidden." - Notice that the Pastor's Blog is not showing up in the menu.