0

I'm developing a simple application on WP that requires the user to accept a policy page on first login. If they accept, they're redirected somewhere (homepage), if not, they're redirected somewhere else (different page).

However, this "policy page" should only appear after login UNTIL the user accepts it, and after that it should never appear again.

Any ideas how to achieve this? Are there some plugins that would help? I tried playing around with "Redirection" plugin but it doesn't have an option to only show a page once. I assume it will have something to do with cookies.

Thanks!

  • 2
    When you say 'login' do you mean login as a normal WordPress user? (Meaning they'll have an account in WordPress with a username and password?). Or is this for anonymous visitors who need to accept a policy before viewing content? – Jared Cobb Jul 12 '13 at 13:44
  • Login implies credentials no? – Vigs Jul 12 '13 at 15:24
  • Justine you could set a custom user meta to save a value if they had accepted your policy or not, but u cant retrieve that value until the user is logged in. – Vigs Jul 12 '13 at 15:28
  • @JaredCobb – yes, I mean logging in as a WordPress user (using WP login form and redirect to the policy page instead of backend). – Justine Jul 12 '13 at 18:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.