WordPress allows you to change the login logo URL on the WordPress admin page through various methods. To achieve this, you can use either a plugin or custom code in your theme’s functions.php file. Below, I’ll provide you with both methods:
Method 1: Using a Plugin (Easier for beginners):
- Go to your WordPress admin dashboard.
- Navigate to “Plugins” > “Add New.”
- Search for a plugin called “Custom Login URL” or similar.
- Install and activate the plugin.
- Once activated, go to “Settings” > “Login URL” from your dashboard sidebar.
- Enter the custom login URL you want to use and save the changes.
Method 2: Custom Code (Advanced users or theme developers):
If you prefer to handle it manually or want more control, you can use custom code to change the login logo URL. Here’s how you can do it:
All you have to do is add this code to your theme’s functions.php file or in a site-specific plugin:
- Access your WordPress files using an FTP client or through the cPanel File Manager.
- In your active theme’s folder, look for the “functions.php” file, usually located at
wp-content/themes/your-theme/functions.php
. - Edit the “functions.php” file and add the following code at the end of the file:
add_filter( ‘login_headerurl’, ‘my_custom_login_url’ );
function my_custom_login_url($url) {
return ‘https://www.webdevcanada.com’;}
Remember, whenever you modify code in your theme files, it’s essential to create a backup before making changes to avoid any potential issues.
After implementing either of these methods, you should see the login logo URL changed on your WordPress admin page. Users will be redirected to the custom URL you specified when clicking on the logo.
And there you have it! That’s how to change your login logo URL on the WordPress admin page!