🔥 Holiday Sale! 25% Off Platinum Membership $399.99 $299.99 (ends December 31).

Change WordPress login logo

WordPress login page comes with a default WordPress logo that points to "wordpress.org" and the alt text says "Powered by WordPress". While I am grateful to WordPress, I would like my visitors/registered users to be able to identify my blog easily. The fact that you are reading this shows that you are interested in this as well. So in this post I explain how to easily change WordPress login logo, pointing url, and alt text easily with and without a plugin. If you are looking the "without plugin" method, you can skip to the next page.

The default WordPress login logo is, at least to me, unappealing, contains an alt text that is irrelevant to my blog, and points to a URL other than my blog.

You may also like: Add StudioPress Genesis theme custom logo image

Wordpress Login Logo
Wordpress Default Login Logo

Changing WordPress Login Logo Using Plugins

Many argue that having many plugins is not efficient and may slowdown the blog. However, if you prefer the convenience of a plugin to do this job, below are some good plugins to change WordPress login log:

A simple, lightweight WordPress plugin to change your login logo. One step process: just upload the logo and you are done.

Uber Login Logo
Uber Login Logo Plugin

This plugin requires just a little bit more work than the first one. Just drop the logo file named "login-logo.png" into your WordPress content directory, and this plugin takes over. CSS is automatic.

Customize Admin:

With this plugin you can display your own logo on the WordPress login page. You can also specify the link attached to the logo. By default you are redirected to the homepage of your site.

Customize Admin Plugin
Customize Admin Plugin

Admin Customization:

This plugin, by far, offers the most customization options. You can change, favicon, logo, logo text, logo text font, and so many other things. If you are looking more than just a simple logo change, this is the one to go for.

Admin Customization Plugin
Admin Customization Plugin

Now that I have pointed out some of the plugins available to change WordPress logo, let me explain how to do this without the plugin.

Recommended Guides on WordPress:

Change WordPress Login Logo Without a Plugin

Although, in this case it may not apply, I always like to backup any default file before I mess with it. So let us first backup some files before we start.

WordPress login logo is actually the following image file:

WordPressRootFolder\wp-admin\images\logo-login.png

Rename this file to logo-login-default.png.

Now upload your logo (in .png format) to the same location. And that is it for changing the WordPress login logo.

Change URL and Logo Text

Changing WordPress login logo text (or alt text) and the URL the logo points to can be a bit tricky. You have to manually edit the following file:

WordPressRootFolder\wp-login.php

Open the file in your favorite text editor and look for the following code:

< ?php echo esc_url( apply_filters('login_headerurl', 'http://wordpress.org/') ); ?>" title="< ?php echo esc_attr( apply_filters('login_headertitle', __( 'Powered by WordPress' ) ) ); ?>

Replace http://wordpress.org/ to the URL you want the logo to point to. In my case, https://www.smarthomebeginner.com/. Then change Powered by WordPress to the description you want. In my case, Linux, Home Servers, Android, XBMC, WordPress, HOW-TOs...eXplained!. Below is an example:

< ?php echo esc_url( apply_filters('login_headerurl', 'https://www.smarthomebeginner.com/') ); ?>" title="< ?php echo esc_attr( apply_filters('login_headertitle', __( 'Linux, Home Servers, Android, XBMC, WordPress, HOW-TOs...eXplained!' ) ) ); ?>">

Save the file and exit. Your WordPress login logo, alt text, and URL should now be changed (you may have to clear browser cache and refresh the page). Simple right?

Linuxplained Login Logo
Linuxplained Login Logo

Pros and Cons

With PluginWithout Plugin

Pros:

  • Simple and convenient
  • Unaffected by WordPress update
  • Lot more customization without much work

Cons:

  • To many plugins may slow down blog loading speeds

Pros:

  • Efficient
  • Does not delay blog loading speeds
  • Lot more customization possible but requires code editing

Cons:

  • WordPress update kills all changes

You may want to implement a caching system to improve the loading time of your logo.

Recommended Guides on WordPress:

Be the 1 in 200,000. Help us sustain what we do.
123 / 150 by Dec 31, 2024
You will gain benefits such as Deployarr access, discord roles, exclusive content, ad-free browsing, and more.
🔥 Holiday Sale! 25% Off Platinum Membership $399.99 $299.99 (ends December 31).
Join the Geek Army (starting from just $1.67/month)

Anand

Anand is a self-learned computer enthusiast, hopeless tinkerer (if it ain't broke, fix it), a part-time blogger, and a Scientist during the day. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs.

Holiday Sale