Hi. Initially, I configured the plugin to block access to only one page (let’s call it page 1) and it worked fine. Now I decided to block the access to another page (page 2) aswell, but after filling the login, the user gets redirected to the first page (page 1). The redirect_to parameter is activated and the link is shown correctly (pointing to page 2). Is it some bug or did I do something wrong?
]]>i have set the redirect upon login to the home page but when i log in as a subscriber i still get the profile edit page. how do i get the redirect feature to redirect subscribers to the home page when they login?
]]>I’m trying to redirect to a URL that includes query parameters, but it seems like anything after the & in the redirect URL gets stripped out. I think its because the redirect URL needs to be urlencoded().
e.g., in simple-page-access-restriction.php:172, if we add urlencode() to the home_url() .$_SERVER[‘REQUEST_URI’], it preserves the parameters.
$redirect_url = add_query_arg( $settings[‘redirect_parameter’], urlencode(home_url() . $_SERVER[‘REQUEST_URI’]), $redirect_url );
]]>Hi there! Please remove this rating banner, I can′t remove it by clicking or rating. This is totally annoying…
]]>Its not allowing me access to restricted pages if user visits restricted pages when not logged in for first time.
So when I first login as ADMIN (or other user role) I can view the restricted page. But then if I log out, visit restricted page (which does forward to proper page since I am logged out and content is restricted) .. I log in again as ADMIN, visit the restricted page .. BAM .. it forwards me to my Access Restricted page and I cannot view content. Only until I clear my history can I view restricted page again after log in.
]]>Hi – I have used a plug in to restrict access to my site only to logged in users.
If they were not logged in they were redirected to the log in page… I ran into an issue when I realised that the lost password link would redirect them back to the log in page…. so they can’t log in and can’t reset the password.
Would I be able to restrict the site to logged in users but allow access to the reset password page with your plug in?
]]>I am using the Duo Two-Factor Authentication plugin which means the page redirection does not work after a user successfully logs in. If I disable the Duo security plugin then the redirection works.
Do you have any advice on how the redirection can work with an MFA application such as Duo?
]]>Hi, I’m just wondering if it’s possible to apply the “restricted” status to multiple pages at a time through WordPress’s “Bulk Actions -> Edit”?
]]>Can you add support for returning a 404 for non logged in users?
Can you also fix the REST API, it is returning an empty list in a list as opposed to just one empty list.
/wp-json/wp/v2/pages?slug=restricted
Should return “[]”, but is returning “[[]]”
]]>In most use cases of this plugin, the user will be redirected to the login page when trying to access a page without access. However after logging in, it doesn’t take them back to their original page. It would be nice to be able to redirect back to the original page after logging in.
Usually this is achieved by appending a redirect url parameter to the login page e.g. https://xyz.com/login?redirect_to=https://xyz.com/wow. Can you provide a way for the user to choose to append the url of the original page?
]]>I’m seeing this on the same page after login. why would this happen?
Login Page
If you already have an account on our site, please login. Otherwise please register.
You are Logged in as turgutstudent (Logout)
Is there anyway to have the “for logged-in users only” checkbox default to checked? I want to import at least 100-300 pages(videos). I have a plugin that can do this. Once I do then I would have to check box each page manually. I did not see anything in the settings. Is this possible?
Thank you
]]>