I found a registered users only plug-in which I am using. I don’t know if it is secure as using .htaccess though.
Thanks moshu, I’ve spent the last couple of hours trying to do this. (Probably would help if I read a tutorial first before bashing around)
I found this in wp-login.php
}
$user = get_userdatabylogin($log);
if (0 == $user->user_level) {
$redirect_to = get_settings(‘siteurl’) . ‘/wp-admin/profile.php’;
}
which I changed to;
}
$user = get_userdatabylogin($log);
if (0 == $user->user_level) {
$redirect_to = get_settings(‘siteurl’) . ‘/index.php’;
}
which works. I am completely new to php and all things web related – am I breaking something by doing this?