Hide Login Error Messages To Confuse Hackers [WP]
Written by Pradeep Kumar in WordPress - Print This Post
We do care about our blog security, and every little step matters. Here is another simple tip to secure your WordPress blog. When someone tries to log into your blog and it fails, they will get a error message stating whether the username or password is wrong. That information is very potential for hackers. This simple tweak helps to hide those error messages.

Screenshot Credit : How2Pc
Open your functions.php file and add the following code,
add_filter(‘login_errors’,create_function(‘$a’, “return null;”));
Don’t forget to save the file!
Professional and skilled hackers can easily get through this, but still, every little matters right?
Want to share or tweet this post? Please use our short URL : http://hbb.me/yr











Yet another short and simple article, with good information. Keep posting Pradeep
Heh, good idea. Make sure the password is hard to crack too!
Although a little trick but really interesting and worth trying
Ha ha Pradeep, it's very funny. My WP is so long and complicated that I need some countable seconds to type it.
Yes, You're right here, every litter matters in your blog security.
Pradeep another good one. What do u think about this? Is this so important. ?
Well, it helps mate, may confuse some script kiddies.
good technique to keep hackers confuse…….thanks for the share……………!!!!!
It's really good idea to hide error messages. Thank you so much Pradeep for given valuable info on here
good idea. Make sure the password is hard to crack too!
haha…Nice trick Pradeep
nice trick buddy.
The process is like cracking a software, better to hide the information from the main window.
Any idea of hiding such info in blogger? hope theres a way out..:)
Nope mate, Blogger is completely different from WordPress and also quite strong, so you don't need to worry.
Very good trick, thanks for posting. BTW Many security plugin already has this option.
It is a wonderful tip to hide the error message at the login screen but I think it is not enough because hackers usually exploit the common vulnerability. Anyways every step is useful to protect the website.