Get a professional website for $99 per month. One week turnaround.

How to Change the Login Logo in WordPress

Home WordPress How to Change the Login Logo in WordPress

May 23, 2023

In this WordPress tutorial I will show you how to change the default WordPress logo and link on the login page.

Code Snippets Plugin:


  • 0:00 Introduction
  • 0:30 Change WordPress Logo
  • 2:03 Change Logo URL Link

Code Snippet:

					function custom_login_logo() {
    echo '<style type="text/css">
        .login h1 a {
          background-image: url(logo.svg) ; // Your Logo Here
          background-position: center center;
		  background-size: contain;
	      width: 100%;		
add_action('login_head', 'custom_login_logo');

function login_url(){
return ""; // Your URL Here
add_filter('login_headerurl', 'login_url');

*Some of the links on this page are affiliate links, meaning we may receive a commission if you follow them. This allows us to continue providing free content and educational resources for you. Thank you for supporting our small business!

More Free Resources