When we go to the login page of WordPress, We see the login logo and if we click on it, it will open the WordPress.org website.
And that sometimes we don’t want.
So How would we change login logo URL in WordPress?
Well, That is simple.
Here we have posted the WordPress function code that will help you to change default WordPress login logo URL to custom URL.
Just follow the below guide:
Change URL of Login Logo in WordPress
Below we have posted the code that all you need to do is to put in your theme.
For that:
Copy the below code and paste it into your WordPress theme’s functions.php file.
Code to Change WordPress Login Logo URL to Home Page
The above code will help you to automatically give the URL of your home page.
Code to Change WordPress Login Logo URL to custom URL
This another version of the code that will help you to easily give any page or website URL…
…For eg: If you are the developer of that website or designer, you can write your company’s website URL in that return value. Such as return: 'http://companywebsite.com'
That’s it.
Video Guide: WordPress Change Logo Link
Read also: Change WordPress Admin Dashboard Logo, Change Login Logo Hover Title
If you guys have any error or have any questions please let us know in the comment box.
Also, spread this guide, if it helped you.