Security and SSL
Protect wp-admin and wp-login.php with the WPS Hide Login plugin
Every WordPress website has its administrator login at the same address: tudominio.com/wp-login.php (or tudominio.com/wp-admin, which leads to the same place). That is why bots keep trying passwords there non-stop.
The free WPS Hide Login plugin is the simplest way to change that address to another one that only you know. It does not modify any WordPress file, so updates do not undo it. It is used by more than two million websites and is still being updated.
Install the plugin
In the WordPress dashboard go to Plugins > Add New Plugin, search for WPS Hide Login, click Install Now and then Activate.

Choose the new login address
Go to Settings > General and scroll down to the bottom of the page. In the WPS Hide Login section, type the new address in Login url. In the example we use oculto, but it is better to use something hard to guess, such as acceso-k7m2q.

Click Save Changes and write down the full address (for example https://tudominio.com/acceso-k7m2q) in your password manager or your browser bookmarks.
From then on, wp-login.php and wp-admin will return an error page to anyone who has not logged in, and you will only be able to log in through your new address. Below the field there is another one, Redirection url, for choosing which page is shown instead of the login (by default, the 404 error page).
Before logging out, open a private window and check that the new address shows the login form.
If you use a caching plugin, exclude the new address from the cache so that a copy of the form is not stored.
If you forget the address
You have two ways to recover it:
- Look it up in the database. Open the WordPress database in phpMyAdmin, go to the
wp_optionstable (thewp_prefix may be different) and look for the row whoseoption_nameiswhl_page. Its value is your login address. - Deactivate the plugin. From the cPanel File Manager or by FTP, go to
wp-content/pluginsand rename thewps-hide-loginfolder towps-hide-login-off. WordPress deactivates the plugin and you can log in throughwp-login.phpas usual. Then give the folder back its original name, activate the plugin again in Plugins and choose another address.
Complete the protection
Changing the address gets rid of most bots, but it is no use if someone already knows your password. Use a long, unique password, enable two-step verification for administrators and keep WordPress and its plugins up to date. You will find more measures in the security tips for WordPress.
You may also find useful
- Secure WordPress and keep its access under control Brings together measures to harden WordPress through updates, unique passwords, 2FA and extra protec...
- Unmaintained WordPress plugins: how to spot them and why they are a risk How to check the last update date and compatibility of WordPress plugins and themes, before installi...
- WordPress security plugins: do you need them at Hostsuar? Why we do not recommend security suites such as Wordfence, AIOS or Kadence Security on our hosting,...
- Configure session cookie security in GLPI Check HTTPS and GLPI's effective PHP configuration to resolve Secure cookie warnings, without confus...
Something wrong or out of date? Tell us and we will review it.