I'm facing a issue from couple of days, after logout user can view the login user history details using browser back button, so how could I resolve this issue. Could you suggest me to solve this issue

Thanks in advance


Just Put this code in your user history details page

  // your user history details code
  wp_redirect("Your login Page url");
  • Typically the browser back button works without reloading the page from the server though, so I don't think that will help. – Rup Jun 23 at 14:07

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.