When you install WordPress the default login page it provides is “yourdomain.com/ wp-admin” and it also comes with the default WordPress logo as the login page logo.
For many, it does not matter as they are not much bothered about the branding and focus more on the content.
But if you want to build your brand and you want to offer third parties to log in to your WordPress dashboard, then it is a must to change the login URL and the login logo.
This is required to add extra security and branding to your blog. So in this article, I will explain various methods that will teach you How to change WordPress login logo and URL.

There are numerous ways to accomplish both tasks either by directly modifying files or using a plugin. My suggestion would be to use a plugin as it’s the safest method unless you know what are you doing.
How to change WordPress login page logo
You can change the WordPress login logo by adding some codes in the function.php file or using some plugins. Before that make sure you have a logo file (.png format) having a resolution of 500X500 pixels and upload the file in WordPress by following the below steps.
WordPress Dashboard -> Media -> Add new ->Select the file -> Upload
Once uploaded you can access the media file from Media -> Library.
Open the image file and copy the image URL.
Change WordPress login logo without plugins
To access the function.php file there are two options. You can access it either from the WordPress dashboard or directly accessing it from the webroot directory.
Access function.php from the WordPress dashboard
To access and edit the function.php file from the WordPress dashboard you need to follow the below steps.
Appearance -> Theme Editor or Editor( If using default theme -> Select the function.php file -> Make the necesseary changes.
Add the below piece of code to the function.php file.
function my_login_logo_one() {
?>
<style type="text/css">
body.login div#login h1 a {
background-image: url(http://localhost/wordpress/one.jpeg);
padding-bottom: 30px;
}
</style>
<?php
} add_action( 'login_enqueue_scripts', 'my_login_logo_one' );


Make sure you replace the background image URL with the image URL you just copied when you uploaded your logo.
Refresh your dashboard and clear your cache. Then access the login URL and you will see your logo instead of the default WordPress logo.
Access function.php from Root Directory
You will have to access the file manager to access this file. Please follow the below process to access and edit the function.php file
Root Directory-> Wp-Content-> Themes -> Open the desired theme folder ->Open Function.php file -> Add the code shown above -> Save the file
Change the WordPress login logo using plugins
Although there is a number of plugins that can do the job but below plugins are tried and tested.
Uber login logo
This a very lightweight plugin which enables users to upload a logo for the login page. Don’t worry about the image size as the plugin will take care of it to resize it the best possible for the login page.
You can access the Uber Login Logo setting by following the below process.
Settings -> Uber Login Logo

Login Logo
Login Logo is also a very straightforward plugin. Once you activate the plugin you will have to upload a logo named login-logo.png. The image should be in .png format and should be a minimum of 312 pixels. Better to have a transparent background of the logo.

Customize Admin
Customize admin allows not only to change the login logo but also will customize the admin dashboard.
It is beneficial if you provide guest posting in your blog. To change the login logo you just have to follow the interface and upload your logo.

How to change WordPress Login URL
WordPress provides two default URLs for admin and login. The admin gets the wp-admin URL and if you allow visitor login then for them the default URL is wp-login
- www.yourdomain.com/wp-admin
- www.yourdomain.com/wp-login
Default URLs are good to remember but it is prone to get hacked and many times our WordPress website gets compromised because we keep the default login URL.
There are different ways to change the default login URL. Either by changing codes or using plugins. Changing codes is not preferable as it might break the site.
Along with the change to code for wp-admin, you will have to change codes for many other files. I noticed that whenever we do some changes to Wp-login, the logout screen always creates some problems.
On top of that if you update the theme all changes will go away and you will do it all over again. So unless you are using the default theme, it is my suggestion to use a good plugin to change the login URL;
Here I mentioned details about one plugin which is excellent to do this job and has more than 200000 downloads in the WordPress repository.
Once installed you will have to navigate to Settings -> General -> WPS hide login. On the plugin page, you will have to enter your custom login URL.
If the plugin is installed and activated the custom login URL will work. But if it is uninstalled the login URL will go back to the default one which is wp-admin for the admin and wp-login for the users.

It is preferable to have a simple login URL so that it is easy to remember. An example is shown below.
Because if you forget the login URL and the plugin is installed then it’s very difficult to retrieve the admin information to get back your site on track.
Wrapping Up: Change WordPress Login Logo And URL
Hopefully, this article could able to explain in detail how you can change the WordPress login logo and URL.
In fact, there are numerous other methods that you can follow but the ones that we mentioned in this article are followed by most bloggers.
All those methods mentioned are tried and tested and you will have hardly any scope of failure. If you know about any other methods, please do let me know in the comment section.
You may also like to read:
1. Best WordPress theme for bloggers