Skip Navigation

[Resolved] Redirect when there is no read permission

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user want to do a redirect to another page if there is no access to that page.

Solution:
Unfortunately there is no redirect option if you have no access, however what you can do is to create a page template in Layouts with the login form.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-login-form

Then whenever you don't have read access you set it to that page template and the users will get directed there.

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by viktorI 6 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#612819

Hello,
in post group's access, i can see that i have 3 option to display when someone access without read permission. I have several question in mind:

1. is it possible to do redirect instead to login page, instead of Show Content Template ?
2. What "Show Page Template" do ?
3. is it possible to apply restriction to child page automatically ? or i need to select all manually one by one ?

Thanks

#612930

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Viktor,

Thank you for contacting our support forum.

Unfortunately there is no redirect option if you have no access, however what you can do is to create a page template in Layouts with the login form.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-login-form

Then whenever you don't have read access you set it to that page template and the users will get directed there.

For the restrictions on child posts you will need to apply them manually.

Thanks,
Shane

#619868

Thanks for insight