Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wp-admin vs wp-login in wordpress

Tags:

wordpress

Any ideas on the difference between https://mysite/wp-admin vs https://mysite/wp-login?

Thanks.

like image 310
B McMinn Avatar asked Dec 21 '25 09:12

B McMinn


1 Answers

Actually both URLs will let you login into your site's dashboard.

However, they are different: While wp-login (which should be wp-login.php) is a php file in the root folder which returns the form to login into your WordPress, wp-admin is one of the three default folders (wp-admin, wp-content and wp-includes) which contains internal files such as libraries and scripts.

So, if you haven't logged in yet, by going to wp-admin you will be redirected to yoursite.domain/wp-login.php?redirect_to=... If you are already logged in, by going to wp-login it will show you once again the form to access, and wp-admin will take you directly to your dashboard.

like image 166
claudiatc85 Avatar answered Dec 24 '25 10:12

claudiatc85



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!