Hide WordPress Login Error Details in WordPress

By | June 24, 2017

Hide WordPress Login Error Details in WordPress,Disable Login Hints in WordPress Login Error Messages

 

WordPress has advanced as the best Content Management Systems Now.The most recent stats are showing that since March 2016, WordPress is actually powering 26.4% of the Web

5 important on page seo tips

By default, WordPress show error messages box when someone enters incorrect username or password on the login page.

Hide WordPress Login Error Details in WordPress

Why should Hide WordPress Login Error Details in WordPress

if a user enters the incorrect username then show Invalid username. Lost your password?  message is shown , and  when user enter incorrect password the show The password you entered for “Admin” (show your username behalf of admin) username is incorrect. Lost your Password?.

 

Free Plugins To Customize Your Login Screen In WordPress

So hacker easily know your username of site and it raise chance for hack your site. so always use unique and compact username for your site. and user login limit and ip blocked plugin.

Hide WordPress Login Error Details

Simply add the following code to your theme’s functions.php file

function no_wordpress_errors(){
  return 'Something is wrong!';
}
add_filter( 'login_errors', 'no_wordpress_errors' );

Limit the number of login attempts possible both through normal login as well as using auth cookies. Limit Login Attempt

Leave a Reply

Your email address will not be published. Required fields are marked *