• Resolved toulip

    (@toulip)


    Hello there,

    I hope you are doing well.

    I have noticed that my customers, after being signed in, the plugin continues to return to the login page on same pages / parts of the website.

    Why is this happening? The idea behind is that since they are logged in, they should then have access to all parts of the website, right?

    Please advise.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Kevin Vess

    (@kevinvess)

    Hi, thanks for using Force Login!

    That is correct, Force Login redirects to the login screen only if the is_user_logged_in() function returns false.

    As to why your site redirects logged-in user visits only on some pages of your site, it could be caused by another plugin or theme code. Try disabling other plugins or switching your theme to figure out what might be causing it.

    Another theory could be your site is not recognizing the visitor as logged in on those pages for some reason?

    Unfortunately, I can’t really troubleshoot this without access to your website.

    I recommend you hire a web developer to help you troubleshoot this for your site.

    Good luck!

    Plugin Author Kevin Vess

    (@kevinvess)

    Another test you could try, is to use the v_forcelogin_bypass filter to determine access to those pages. Check out the FAQ for an example.

    If Force Login is redirecting visits, that filter should run before the redirect happens, allowing you to stop the redirect.

    If you can’t stop the redirect with the v_forcelogin_bypass filter, that would be a good indicator that the redirect is not caused by Force Login–?but something else.

    Good luck!

    Thread Starter toulip

    (@toulip)

    Hello @kevinvess,

    I hope you are well. Thanks so much for your quick responses.

    It looks like the issue has gone now. I only noticed that once, the day I created the support topic here. Since then, the plugin works fine. I will further investigate that issue and let you know if anything else comes up.

    Thanks again for your time and help.

    Have a great day.

    Plugin Author Kevin Vess

    (@kevinvess)

    Great! I’m glad it resolved itself.

    It sounds like this might have been a caching issue; some sites use a server-side cache and it can take time for them to clear on their own.

    Be sure to?rate and review?my plugin to let others know how you like it.

    Thanks for using Force Login!

    Thread Starter toulip

    (@toulip)

    Hello @kevinvess,

    Sure, you deserve that! 5-star review is on its way!

    Best Regards,

    George.

    Plugin Author Kevin Vess

    (@kevinvess)

    Thank you so much George! I really appreciate it. ????

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Seems not to work’ is closed to new replies.