I have an access denied page, which should not be shown in menus. However, it's possible for the user to be redirected to the access denied page.
I also have a breadcrumbs section on the page, and if you go to the access denied page, it shows as blank, which is extremely ugly.
I would therefore like to register the page, but not have the page visible on the menu. I tried setting the visible property to false, but when I do that the breadcrumbs still do not show correctly (though the item is removed from the menu)
How can I register the page but not show it in menus?