If you have a WordPress site then you will want to change the url of the admin login panel of wordpress. Even if you do not want to do it, then it is a security reason and to avoid getting attacked on your website, you have to change the url of your wp admin. So that your website could not be attacked. By changing the URL, the security of your website increases. In such a way, you all know that to default login address of wordpress, just to search example.com/wp-admin, and than its redirect to login page in the admin panel and this gives a chance of an attack on your website. So to secure your website, you have to change the URL of the wp-login panel.
How to change wordpress login panel URL
There are many methods to change the wordpress login URL. Which you can follow and change the URL of your login url of your website. But I have told you 2 method in this article. Which you can follow and change the URL of login page of your website. The first method is you go to Cpanel and edit login.php file. And second method is, you can change login url using wp-login url changer plugin. So let’s know that both methods one by one.
How to change wp-login URL From Cpanel
So friends, first you have to login to your hosting Cpanel, after that you have to go to File Manager. And then you have to go to public-html and then you have to open wp-login.php by clicking on edit button. Then you have to find it there wp-login.php and then you can put another slug in place like (panel, cp) according to your memory power to remember new url of login page of your wordpress website. And then you have to save,
then you also have to change the name of wp-login.php file name as same as slug url which is you change in file. And then your wp-login URL will be changed.
How To Change wp-login URL from plugin
Friends, to change through the wp-login URL plugin, you have to go to the section containing the plugin and you have to search WPS Hide Login. You will find this plugin on the first number, you have to install this plugin and activate that plugin.
Then you have to move the cursor on the setting, on there you will find the WPS hide plugin, click on it and open the setting of the WPS hide plugin.
Then you have to scroll down, you will find 2 boxes below, one will have your default login URL of your website. just change that url and put new slug to change your default login url of your wordpress website into your custom login url. After changing Url just save, and then your website default login url will replaced with your custom login url.
If you also want to change 404 error page url than just remove 404 from the box of 404 and put there new slug to redirect it to your custom page. If you want to redirect 404 error on your website home page than just remove 404 and save it than 404 error redirect to your website home page.
So friends, I hope you can save your website from being attacked by using either of these two methods. So friends, I hope you would have liked this article and if you have liked it, please do like this article. And to read a similar interesting article, subscribe to our website so that whenever I publish a post on my website, you get notified about it.