By default, wp-login.php file having all the codes to generate login page. There are 5 steps to hide/change WordPress login URL without plugin.
- Create a new file.
- Copy the code from your wp-login.php, then paste it into your new file.
- Replace each instance of wp-login.php with the new file name. Find and replace is your friend.
- Delete the wp-login.php file.
- Login through your new URL.
Please let me know, If you have any queries or feedback.