Scroll To Top

How to Change WordPress Default Login Logo and URL

Posted in WordPress2 years ago • Written by Hujjat Nazari2 Comments

Security in WordPress is taken very seriously. But as with any other system there are potential security issues that may arise if some basic security precautions aren’t taken. there are so many tutorial on WordPress security tips WordPress security best practices. One of the most important thing you might want to do for security is to change WordPress default login url. This article will go through the basic way on how to change WordPress default login url, logo and title.

How to change the logo and logo url?

Replacing default login page logo is very easy. Just open your function.php file in your active theme directory. Now past the following code and customize it a little.

This function will look for image folder in your theme directory that contain a logo.png picture. Make sure you have the correct directory.

Change the url?

When you click on the logo, by default, it will open To change the url to open your own site, apply the following function.

change the title the way you want.


How You Can Change WordPress Default Login URL?

For security reason, you need to change WordPress default login url. It means, instead of going to or, you can enter the yousite/user/login. The best way to change the login page easily is to use any plugin. The We recommend you Custom Login URL plugin. But if you are developer, you can use code in your function.php file to do this. It require you design a new login page template and need a  lot of configuration. Custom Login URL is the best option you can use for now.

WordPress Custom Login URL Plugin

WordPress Custom Login URL Plugin

You are using this plugin to make your site more secure. So, make sure to check the update change log for WordPress and the capability of the plugin with version of your WordPress site.


I hope it has been informative and helpful. Security is an important aspect for every site. So, we hope it helped you make your site look the way you want and make it a little more secure. If you have any type of question about WordPress, feel free to comment it below. 🙂


2 Comments so far. Feel free to join this conversation.

  1. Asus LaptopMay 21, 2017 at 10:53 pm - Reply

    I reaⅼly like ⅼooking through a post that wiⅼl maҝe men аnd women tһink.
    Also, tɦank you for allowing me tߋ сomment!

  2. Graphic design occupationsJune 11, 2017 at 4:58 pm - Reply

    Nice article. Thanks for the read.amazing

Leave A Response