Hide Login Error Messages To Confuse Hackers [WP]
- Updated On 21/06/2015
- Author : Pradeep Kumar
- Topic : WordPress
- Short URL : https://hellboundbloggers.com/?p=23260
CONNECT WITH HBB ON SOCIAL MEDIA
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 discuss your queries and interact with experts? You can connect with HellBound Bloggers (HBB) Facebook group for free!
Join HellBound Bloggers (HBB) and get Instant Updates. We'll also notify you with Great Deals, Discounts and other Interesting Tips. We won't SPAM or SHARE your Email Address with anyone.
YOU CAN ALSO SEARCH FOR YOUR DESIRED TOPICS:
Thank you for reading! We welcome and appreciate your comments, but at the same time, make sure you are adding something valuable to this article. If you have any serious queries, suggestions or anything related to this article, feel free to share them, we really appreciate that.
But, if your blog comments are a random "Thank you", "Useful Post", or anything that doesn't actually upscale the article, then we'll be removing them and it won't be appeared below. Thanks for understanding and thanks for connecting with us. If you want to give us any feedback or report any errors, you can kindly contact us and we'll revert back soon.
- Facebook Comments
17 CommentsFacebook Comments