Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Using /wp-admin works, using /login gives a 404. Why?

/wp-admin/ is an existing directory, your server just adds the missing /.
/login is … nothing. The correct name is /wp-login.php.

If you have enabled permalinks it should work though.

To make /login always work add the following line to your .htaccess above the WordPress rules:

Redirect Permanent /login /wp-login.php

You can and should localize it if you use other languages:

# login in German
Redirect Permanent /anmelden /wp-login.php

Related Posts:

  1. wp-admin – 404 after custom login form
  2. How to fix ‘WordPress redirection loop problem in wp-login.php page’?
  3. Why can I log into wp-login.php and not wp-admin.php?
  4. Disable Admin CP authentication (or auto login)
  5. wp-login not found – All usual solutions not working
  6. WordPress logged in but no access to wp-admin
  7. WordPress site shows a white page for site/wp_admin. A login returns again to the login screen
  8. login_enqueue_scripts changes are not reflecting
  9. Unable to login and wp-login.php redirects to wp-admin%2F&reauth=1?
  10. I’m getting a 404 message when I try to access wpadmin
  11. How to redirect/rewrite all /wp-login requests
  12. Unable to login to my wordpress site. reauth=1 redirection loop
  13. Custom login redirects to wp-admin on wrong password
  14. Change Login URL Without Plugin
  15. Custom ReCaptcha Login
  16. How to allow users login to WP from external domain and make REST requests
  17. Users are redirected to homepage instead of wp-admin
  18. Unwanted redirect in admin area
  19. Display sortable User meta column in admin panel user’s page
  20. How to move wp-admin login page to another location? [closed]
  21. WP-admin giving 404
  22. Can’t access admin dashboard with wp-admin without /index.php after it
  23. Adding body class to login page?
  24. Edit a WordPress site without the username and password?
  25. comment_form – show all fields when logged in
  26. Replace wordpress login logo with custom text
  27. Cannot log into WordPress Dashboard after removing/adding .htaccess
  28. Change WP-Login or WP-Admin
  29. I cannot log into my wordpress site with my wp-login.php [closed]
  30. FORCE_SSL_ADMIN not working
  31. 404 of wp-admin pages [closed]
  32. How do I set the homepage to the WordPress Admin Dashboard login?
  33. Can’t access WordPress as an admin – but I can log in as a user!
  34. Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well
  35. Can’t login to Dashboard when changing site URL to HTTPS
  36. Detecting all admins that are logged in
  37. Not Found (404) error on admin page, CSS gone on blog
  38. WordPress and bbPress Login conflicts?
  39. I get a 404 page on /wp-admin but not wp-login but as soon as I login I get a 404 again [closed]
  40. I want to disable login of admin (/wp-admin) with email and make it accessible only with username
  41. Website looks fine, but login to wp-admin yields a blank screen
  42. cannot find the login page for local WordPress site
  43. Can’t log into wp-admin after migration from localhost to server
  44. Users disappeared from wp-admin
  45. Modify WP-Admin login fields
  46. 404 error comes up when I go to wp-admin after first installation [closed]
  47. display dynamic WP Site logo on wp-admin using CSS
  48. How to Change The WordPress Login URL Without Plugin
  49. Use Password Protected Form without the use of wp-login.php
  50. WP admin page gives 404
  51. Cannot access wp-admin/wp-login.php (WordPress backend) anymore, what could be wrong?
  52. Logging into sandbox subdomain WP
  53. 404 redirect wp-login and wp-admin after changing login url [closed]
  54. Having troubles connecting to WordPress login page using Mamp
  55. Sorry, you are not allowed to access this page
  56. WP Admin/ WP Login Redirect to themselves
  57. Cookie Domain is preventing Admin login
  58. WordPress server change – slow admin login time for first time
  59. White screen of death for wp-admin and error for wp-login.php after entering credentials
  60. Require Login Redirect to Login Page
  61. Cannot access WordPress login pages
  62. wp-admin redirects to 404
  63. Blank page for wp-admin after i uploaded the website from my localhost to the live server
  64. How to set where user is redirected to after logging in at wp-login?
  65. Cant login to wp-admin
  66. /wp-admin/ doesn’t work but /admin/ does
  67. Why am I locked out of the system?
  68. Admin login not working
  69. firing function at login within class
  70. WP-admin or any other is redirecting me to (This page doesn’t seem to exist.)
  71. error at login page in wordpress
  72. how can provide access to wp_admin page for non wp_users?
  73. Can’t connect to WP-Admin, blank error message
  74. Blank page when viewing wp-admin
  75. 404 Admin Error
  76. GoDaddy hosting wp-admin problem
  77. WP Admin Login keeps redirecting to login
  78. CPU overload spam – redirect link to wp-admin and new post
  79. define two login page url
  80. When i try to open Localhost/wordpress/wp-admin . An Error appears ” Registration Has been Disabled” . No login page is shown in the browser
  81. Login issue with subdomain installs
  82. Unable to login after registration
  83. How can I can I make changes to a WP project I pulled from GItHub?
  84. WordPress Admin Login Issue
  85. How to log into WordPress via GET/POST
  86. wp-login.php entering password nothing happens
  87. Trying to login to my site redirects me to the first page
  88. stop customize.php redirect to login page if admin is not logged in
  89. Admin Login Checks
  90. Changed the path to wp-login and now can’t access WPress dashboard
  91. Unable to log in as admin
  92. Why my login panel has a wrong language?
  93. Handling multiple account logins?
  94. Not able to access WP admin Page, redirected and a drop down login menu appears 401 error
  95. WordPress Login for multiple sites
  96. Getting 404s in wp-admin after logged in
  97. Cannot login in WordPress even after changing hash password in phpmyadmin
  98. Can’t log into WordPress after domain change
  99. Why WordPress not logout after I have close my browser?
  100. is_admin() conditional statement
Categories wp-admin Tags 404-error, login, wp-admin, wp-login-form
Change behavior depending on content length
Edit post meta with checkboxes on front end

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress