Hide Login Error Messages To Confuse Hackers [WP]

Written by 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.

Hide Login Error Message

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?









HBB RSS
Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic. You will also get instant access to 100+ HBB Guides & Tutorials.
If you wish to subscribe here via Email, then kindly click here.



Editor-in-Chief and Owner of 20 Years Old Kiddo, Open Source Enthusiast, Tech Blogger, Striving Entrepreneur, and a Typical Engineering Student. Addicted to Blogging, Walking and Messing. Catch him on Facebook, Twitter and .


HBB has 666+ Awesome Contributors. [Join HBB].

HellBound Bloggers (HBB) is a part of Slashsquare Network.






17 Responses to “Hide Login Error Messages To Confuse Hackers [WP]”

Leave a Reply


Comments Policy | Brand Your Comments | Do Follow Blog | Top Commentators Award


REFERENCE : 7 Tips To Be A Hero On Blog Commenting [HELPFUL]


Overall HellBound Bloggers (HBB) has 23,573 Genuine Comments and Yours Will Add More Value To It.




Previous Article:

Next Article:

  1. Aman Arora says:

    Yet another short and simple article, with good information. Keep posting Pradeep :)

  2. icechen1 says:

    Heh, good idea. Make sure the password is hard to crack too!

  3. eTipsLibrary says:

    Although a little trick but really interesting and worth trying :-)

  4. Ha ha Pradeep, it's very funny. My WP is so long and complicated that I need some countable seconds to type it.

  5. Yes, You're right here, every litter matters in your blog security.

  6. Pradeep another good one. What do u think about this? Is this so important. ?

  7. good technique to keep hackers confuse…….thanks for the share……………!!!!!

  8. Kavya Hari says:

    It's really good idea to hide error messages. Thank you so much Pradeep for given valuable info on here :)

  9. billy says:

    good idea. Make sure the password is hard to crack too!

  10. V ISHAL says:

    haha…Nice trick Pradeep

  11. Anish K.S says:

    nice trick buddy.

  12. Isha Singh says:

    The process is like cracking a software, better to hide the information from the main window.

  13. Any idea of hiding such info in blogger? hope theres a way out..:)

  14. Very good trick, thanks for posting. BTW Many security plugin already has this option.

  15. Janyson says:

    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.



Subscribe without commenting




COPYRIGHT © 2012 SLASHSQUARE NETWORK. REPRODUCTION WITHOUT EXPLICIT PERMISSION IS PROHIBITED. ALL RIGHTS RESERVED.

Slashsquare
Mobile Version · About Us · Contact Us · Subscription · Advertise · Review · Write For Us · Archives · Privacy Policy · Disclaimer
Loading...
ViperBarUp
ViperBarDown