Do you want to change the default wp-admin URL of WordPress?
WordPress has a default login URL, yoursite.com/wp-admin, which is not ideal for security purposes. Anyone can access the login page through this URL. The default login URL is a common target for brute-force attacks and can increase the risk of a hacked WordPress site. Therefore, changing the default login URL is recommended to improve WordPress security and help protect the site from malware and unauthorized access. As part of our WordPress Malware Removal Service, we also implement additional security measures like this to protect websites from future attacks.
In this article, we’ll show you how to change WordPress login URL step by step.
How to change WordPress login URL
For changing the WordPress login URL, first, we have to install the wp-hide plugin. This is a free plugin. You can install it from the add plugins page from the dashboard.

After installing the plugin, Activate it.
Now go to the setting page from the Setting>General Setting tab
Here you will find the settings of the WPS hide plugin. There are 2 options: First Login Url and second Redirection.

Related: How to change wordpress permalink
You can add the custom URL of your choice at the first option. Save it. Now, this is the new login URL of your site: yoursite.com/your-custom-url.
Don’t forget to copy this new custom URL in case of forgetting it.
In the Second option, You can add the page URL when someone tries to access the wp-login.php page and the wp-admin directory while not logged in.
Now your site backend access only from the new custom URL.