Exclude a page from the navigation menu
You may want to hide some of your pages from the navigation menu. For example, when you created a static home page, or when you have form pages that visitors only need to see when they click a link. You can hide a page using the custom navigation filters or create a new navigation filter.
Hide a page using a navigation filter
SXA comes with navigation filters. You can use these existing filters to hide a page from the navigation menu.
To hide a page from the navigation menu:
For example, if the navigation rendering is used on a page that uses main navigation, it would normally show the Form page.
If you want to hide the form page, In the Content Editor, on the page level, you can select the navigation filter that you don't want the page to show up for. Navigate to the page and in the Navigation section, in the Check to hide in navigation filters field, select the filter you want to hide the page for.
In the Experience Editor, in the Navigation toolbar, click Edit component properties in the Navigation Filter field, select Main Navigation.
If you now reload the page, you will see that the Form page is removed from the navigation menu.
Create a custom navigation filter
You can also create a custom navigation filter.
To create a custom navigation filter:
Navigate to /sitecore/content/<site collection>/<site>/Data, right-click Navigation Filters, and click Insert, click Navigation Filter.
Enter a name and click Ok.
At the page level, you can select the navigation filter that you don't want to page to show up for. In the Check to hide in navigation filters field, you can now select the filter you created and/or any other filter.