I password protected my Word Press site and I want to force the viewer to go to a registration page ?
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.
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


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”);
}