I password protected my Word Press site and I want to force the viewer to go to a registration page ?

Word Press
Sodredge asked:


I need to make my Word Press accessible only by registration and I do not want them to see the site before they register and are accepted, can that be done. I have made it so I can force them to the registration page using “Private Only” though then there is no way for them to “register”. I also have “Register Plus” though can not seem to set the start page, as my site address. Any help would be greatly appreciated.

- Xavier

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace
Share

One Response to “I password protected my Word Press site and I want to force the viewer to go to a registration page ?”

  • question asker says:

    You need to authenticate every page that requires the user to be logged in. e.g. you can put something like the following at the top every page that requires authentication:

    if(!isset($_SESSION['USER_LOGGED_IN'])) {
    header(“location: login_register.php”);
    }

Leave a Reply

*

Security Code:

Blog O Directory