Jump to content

Disable/Remove Pages


BryanC12

Recommended Posts

20 hours ago, BryanC12 said:

How can I or are there any way to disable some specific pages?

you usually can't from settings - there are some pages that you can make accessible to logged in users only from settings... but generally speaking, if you want to prevent a user going to a specific page, then it's a combination of hooks - one to remove links to that page from the navbar/sidebars, and another to redirect users away from those pages if they try to visit them.

Link to comment
Share on other sites

Quote
On 4/28/2020 at 11:50 PM, brian! said:

you usually can't from settings - there are some pages that you can make accessible to logged in users only from settings... but generally speaking, if you want to prevent a user going to a specific page, then it's a combination of hooks - one to remove links to that page from the navbar/sidebars, and another to redirect users away from those pages if they try to visit them.

Thnx i have found out a easy way. Just make the content hidden then add a button to return them back.

 

Link to comment
Share on other sites

  • 3 years later...
On 4/28/2020 at 12:50 PM, brian! said:

you usually can't from settings - there are some pages that you can make accessible to logged in users only from settings... but generally speaking, if you want to prevent a user going to a specific page, then it's a combination of hooks - one to remove links to that page from the navbar/sidebars, and another to redirect users away from those pages if they try to visit them.

Wich its the way to redirect users away from those pages?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated