Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Matt Watson

    (@mwtsn)

    Hi Amber,

    It might be a case that if a ‘Customer’ doesn’t have access to a page, if they are presented with a login screen and they fill out their details correctly they will still be bounced back to the login screen (because they don’t have permission to view that page).

    I hope that makes sense.

    Thread Starter Syrehn

    (@syrehn)

    Hi Matt,

    Sorry I’m a bit confused. If they are set as the customer role, why would they be getting bounced back if they are already logged in and trying to access the page? Does the role not define the permissions? They should just be able to view the page instead they are getting a re-direct error.

    This issue doesn’t appear to pop up when users are part of the admin role.

    Plugin Author Matt Watson

    (@mwtsn)

    Hey Amber,

    I might need more details to accurately debug, but I am assuming the ‘Customer’ checkbox is checked on the page that they are trying to access.

    This will mean that anybody with the role of ‘Customer’ will not be able to access the page, even if they are logged in.

    If not, if you could let me have more details on what boxes are checked on the page (a screenshot if possible) and I will be able to help further.

    Thread Starter Syrehn

    (@syrehn)

    Hi Matt,

    After reading your last post I think I was restricting pages wrong.

    Under “Public Access” for a page I had it set to Restrict Access by User Role “Customer”. I was under the impression that this meant that only “Customers” would be able to access the page and not that they wouldn’t be able to access the page.

    The reason that I thought this was how it worked was when I was logged out it restricted access for logged out users (which is actually what I want to do) and just assumed that when a “Customer” role logged in they would see the page.

    So, now that I’ve got my head wrapped around that part, with my current restriction in place, instead of trying to route the role to the login page (since they’re already logged in) and it generating the above reported error, wouldn’t it be better to have a message saying this content is restricted to xyz role?

    If I want to restrict pages to require logging in, regardless of role, is there a way to do that? The only work-a-round right now that I could think of would be to set up a dummy role and restrict that but I’d rather not create a blank role. ??

    Plugin Author Matt Watson

    (@mwtsn)

    Hi Amber,

    I have a release ready to roll out in the next couple of days that will let you do just that. It just needs some testing.

    I’ll let you know when it’s pushed out ??

    Hey Amber and Matt,

    Let me know if you would rather me create my own thread!

    I’m having issues with redirecting to the original page. I’ve checked the box in settings for ‘after login redirect to original page’ but after login, users are directed to the home page rather than the original page. What am I doing wrong?

    I’m also using a custom redirect – not sure if that changes things.

    Here is a link to my project. I’ve restricted public access to the page ‘Sell Phone’. A click on ‘Sell Phone’ should send you to FB login (separate plugin). After logging in I’m directed back to the home page rather than the ‘Sell Phone’ page.

    Thanks for any help you can provide,

    -Caleb

    Plugin Author Matt Watson

    (@mwtsn)

    Hey calebgay,

    If you use the custom redirect, I belive this overrides the auto redirect.

    I hope this helps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redirect Error’ is closed to new replies.