How to Change the Login Logo URL in WordPress

Share on:

By default the login logo url points to If you have a custom WordPress login logo, or a completely custom WordPress login page design, then you should probably change the login logo url to your main site or anything that you think is more relevant.

All you have to do is simply paste the codes below in your theme’s functions.php file:

add_filter( 'login_headerurl', 'custom_loginlogo_url' );
function custom_loginlogo_url($url) {
    return '';

Don’t forget to change the URL to your own site otherwise users will be directed to our site.

You Might Also like:
Fix WordPress Login issues
Change the Login Logo in WordPress

comments powered by Disqus