hide a page

Good morning, I would like to know if it is possible to hide a certain page of the site, as well as the elements that can be hidden with the hide () methods and show them with show (). I would like to know if this is possible with a certain page.

How you want to hide a → PAGE?

What you are describing sounds like to hide a menu-option for a page from a menu. You simply can’t hide a page.

Which opertunities are given to solve your issue?

  1. Generating permissions → either the page can be accessed or not.
  2. Show hide the page-url/menu-option from a menu → you can’t anymore navigate to that page
  3. Hide all elements on the page itself and show an ERROR-Message instead.
  4. Simply redirect to an predefined/prepared ERROR-PAGE.
  5. And perhaps some other ideas…