i need something similar but quite different.
i need everything on my site password protected forcing login by all my users. this site for a client is private and just for employees, they register, login but if they type index.php without logging in itll tell them to log in.
any help?
Research the use of .htaccess and htpasswd.
It isn’t as hard as it first seems, but it’s not something quickly explained either. With correct use of this, you can require authentication from every user before they can even view your site.
Google and Apache have almost unlimited info on it’s use.
If you do some searching, you may even be able to locate a WordPress plugin that does it for you. I have never searched for one myself.
Best of luck to you.