Disable WordPress Login Hints With 5 Steps
Prevent others from gaining access to your wordpress website by choosing to disable wordpress login hints and making the process of cracking your password harder for hackers. Here is how you can accomplish that with just 5 steps:
- Back Up
Before you begin making any changes, it is generally good practice to back up your wordpress files just in case you need to restore the previous versions. Not only should you be backing up your wordpress website files, you should also be backing up your wordpress database too since you need both to work well. Once you have done so, you can proceed to the next step.
- Access
The first step to take when you wish to disable wordpress login hints would be to find and access your WordPress theme’s functions.php file. To find and access your php file in WordPress, locate your administration functions through ‘Administration’ and choose ‘Appearance’. Once selected, locate your ‘Editor’ tab and you will have succeeded.
- Code
Paste the code into the file (without [] brackets): [function no_wordpress_errors(){return ‘Something is wrong!’;} add_filter( ‘login_errors’, ‘no_wordpress_errors’ );]. This line of code allows users to add in a customised message, acting as a filter when it comes to login errors. This is ideal since this is set to override the default wordpress message where your username is revealed.
- Additional measures
Remember to keep your WordPress files updated and as an additional measure, remove directory browsing since this may reveal important information that could show hackers your plug ins, themes and other data. Check to see if directory browsing is enabled in your WordPress and disable it if it was.
- Recommendation
While disabling login hints for WordPress login error messages can pose as an obstacle for brute force hackers, it’s still prudent to take further precautions. As an added step, it’s useful to consider downloading security plugins designed for WordPress, like Sucuri. It’s also a good thing to come up with harder to crack passwords with a mix of numbers and letters. This wouldn’t completely stop hackers from gaining access but it allows a safer and stronger deterrence.