• hi.
    i need to restrict some pages i created to users only.
    i also don’t want users to be prompted to sign in more than once in a session(code loop).

    how do i go about this pls?

    • This topic was modified 5 years, 11 months ago by onyekaxt.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @onyekaxt

    Please check this plugin https://ww.wp.xz.cn/plugins/content-control/ for restriction.

    i also don’t want users to be prompted to sign in more than once in a session(code loop).

    Can you please elaborate on this more?

    Regards

    Thread Starter onyekaxt

    (@onyekaxt)

    Hi @prashantvatsh

    Thanks for the plugin.

    to elaborate, let me paint a scenario.
    i have 3 pages – HOME, PRODUCTS & CONTACT

    now, i want the PRODUCT page to be restricted to registered members only.
    i wouldn’t want a situation whereby a user logs in to view the PRODUCT page, then goes back to the HOME page, and if he wants to go back the PRODUCT page again, another login will be required. i want a situation whereby, if a user is logged in, it stays that way until he logs out.

    i hope it’s clearer now?

    I think once a user is logged in then if I am correct you have not done any setup to log them out if they go to any other page so by default it should work for you. Once they are logged in they will remain login while going to any other page.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘auth_redirect clarification’ is closed to new replies.