Yesterday I was hacked by some strangers. I’ve been advised to protect my ” wp-admin ” directory by usernames and passwords and I just did it. But there’s a problem. Not only my ” wp-admin” has been protected but also every single page and post of my website has been protected!
It means when a person visits my website and click on a post to read, a form appears and wants them to fill the username and password. That’s not what I wanted. I just wanted the Cpanel to be protected not the public posts.