Skip to content

WPcademy

Linux & Wordpress Tutorials

  • Home
  • WordPress
    • WordPress Login
    • WordPress Hosting
    • WordPress Plugins
    • WordPress SEO
    • WordPress Themes
    • WordPress Tutorials
  • Linux Tutorials
    • Centos
    • Ubuntu
  • Tutorials
    • How to
    • Programming
  • Security
  • About Us
  • Contact Us

Tag: change wordpress login logo url

Posted on October 17, 2019October 17, 2019

How to Change the Login Logo URL in WordPress

By default the login logo url points to WordPress.org. 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:

<?php
add_filter( 'login_headerurl', 'custom_loginlogo_url' );
function custom_loginlogo_url($url) {
    return 'http://www.yourdomain.com';
}
?>

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

100 dollar free credit on digitalocean cloud server

Latest Tutorials

  • How to install and configure shadowsocks in ubuntu machine
  • Initial Server Setup with Ubuntu
  • How to connect to a remote MySQL database using Linux terminal
  • How To Install OpenEMR on Ubuntu 20.04 with a LAMP Stack (Apache, MySQL, PHP)
  • How to Install WordPress with LEMP on Ubuntu 20.04
  • How To Use Traefik v2 as a Reverse Proxy for Docker Containers on Ubuntu 20.04
  • How To Set Up Physical Streaming Replication with PostgreSQL 12 on Ubuntu 20.04
  • How To Install PostgreSQL on Ubuntu 20.04 [Quickstart]
  • How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 20.04
  • How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 20.04
  • Facebook
  • YouTube
Privacy Policy Proudly powered by WordPress