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

WordPress logged in but no access to wp-admin

You need to enable the error logging in WordPress from the wp-config.php

define( 'WP_DEBUG_LOG', true );

After that, you will probably get some feedback inside:

wp-content/debug.log

Above that, you can try to get the exact feedback you get from 404 page.
Check the console in the inspector, and the response from te webserver.

curl -I http://yourwebsite.com/wp-login.php

Looks like inside your theme you have some redirecting problem. Try to remove the plugins, the theme and to set the 2017-teen new theme to check if this is true.

I hope you will isolate the issue soon.


What I suggest, you create the test environment somewhere and upgrade the website to the latest version of WordPress.


The other things you may investigate: (1) you may have the altered WordPress core somehow, and (2) you may have some .htaccess files other than the WordPress root folder.

Related Posts:

  1. Unwanted redirect in admin area
  2. Using /wp-admin works, using /login gives a 404. Why?
  3. wp-login not found – All usual solutions not working
  4. Can’t log into WordPress after domain change
  5. Why when I click on a link into the WP admin panel I am redirected to a link that doesn’t contains wp-admin prefix, so I obtain 404 error
  6. I’m getting a 404 message when I try to access wpadmin
  7. How to eliminate weird 404 errors in wp-admin?
  8. How to redirect/rewrite all /wp-login requests
  9. Unable to login to my wordpress site. reauth=1 redirection loop
  10. Custom login redirects to wp-admin on wrong password
  11. How to allow users login to WP from external domain and make REST requests
  12. Users are redirected to homepage instead of wp-admin
  13. How to show an error message after publishing a post?
  14. Too many datadabse connections – upper ceiling mysql
  15. Display sortable User meta column in admin panel user’s page
  16. How to move wp-admin login page to another location? [closed]
  17. WP-admin giving 404
  18. Can’t access admin dashboard with wp-admin without /index.php after it
  19. Adding body class to login page?
  20. Edit a WordPress site without the username and password?
  21. 500 Internal Server Error after Register dialog, but with successful registration
  22. comment_form – show all fields when logged in
  23. WP Database Error (Windows Server 2008 & SQL Server)
  24. Cannot log into WordPress Dashboard after removing/adding .htaccess
  25. Change WP-Login or WP-Admin
  26. I cannot log into my wordpress site with my wp-login.php [closed]
  27. 404 of wp-admin pages [closed]
  28. How do I set the homepage to the WordPress Admin Dashboard login?
  29. Can’t access WordPress as an admin – but I can log in as a user!
  30. Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well
  31. How To Reset Ownership And Permissions of Wp-Content Folder, In Order to Fix HTTP Error When Uploading Images to WordPress Media Library
  32. Can’t login to Dashboard when changing site URL to HTTPS
  33. Detecting all admins that are logged in
  34. Not Found (404) error on admin page, CSS gone on blog
  35. WordPress and bbPress Login conflicts?
  36. I get a 404 page on /wp-admin but not wp-login but as soon as I login I get a 404 again [closed]
  37. I want to disable login of admin (/wp-admin) with email and make it accessible only with username
  38. Website looks fine, but login to wp-admin yields a blank screen
  39. cannot find the login page for local WordPress site
  40. Can’t log into wp-admin after migration from localhost to server
  41. How to create a WP Admin user in phpMyAdmin for WordPress 4.6
  42. Users disappeared from wp-admin
  43. Modify WP-Admin login fields
  44. 404 error comes up when I go to wp-admin after first installation [closed]
  45. display dynamic WP Site logo on wp-admin using CSS
  46. How to Change The WordPress Login URL Without Plugin
  47. WP admin page gives 404
  48. wp-admin – 404 after custom login form
  49. Cannot access wp-admin/wp-login.php (WordPress backend) anymore, what could be wrong?
  50. How to fix ‘WordPress redirection loop problem in wp-login.php page’?
  51. Logging into sandbox subdomain WP
  52. 404 redirect wp-login and wp-admin after changing login url [closed]
  53. Having troubles connecting to WordPress login page using Mamp
  54. Wp-admin is giving me an error “Sorry, you are not allowed to access this page.”. I do have access to the wp-admin besides the dashboard itself
  55. Sorry, you are not allowed to access this page
  56. WP Admin/ WP Login Redirect to themselves
  57. wp-admin 302 redirects
  58. Cookie Domain is preventing Admin login
  59. Require Login Redirect to Login Page
  60. Cannot access WordPress login pages
  61. wp-admin redirects to 404
  62. class-wp-hook.php on line 288
  63. Cant login to wp-admin
  64. /wp-admin/ doesn’t work but /admin/ does
  65. Cannot log in to the admin, no error message [closed]
  66. Why am I locked out of the system?
  67. Why can I log into wp-login.php and not wp-admin.php?
  68. Disable Admin CP authentication (or auto login)
  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. how can provide access to wp_admin page for non wp_users?
  72. Can’t connect to WP-Admin, blank error message
  73. Blank page when viewing wp-admin
  74. 404 Admin Error
  75. GoDaddy hosting wp-admin problem
  76. WP Admin Login keeps redirecting to login
  77. Uncaught SyntaxError: Unexpected Token Illegal
  78. Pages section (only) not loading after publishing large number of pages
  79. Help with accessing wp-admin page and resolving error messages
  80. CPU overload spam – redirect link to wp-admin and new post
  81. define two login page url
  82. How do I fix wp-admin error when exporting reusable blocks?
  83. Login issue with subdomain installs
  84. How can I can I make changes to a WP project I pulled from GItHub?
  85. WordPress critical error on wp-admin page with 100% permissions
  86. Unable to access my page or WP Admin
  87. WordPress Admin Login Issue
  88. How to log into WordPress via GET/POST
  89. mixed contents admin panel is Unsecured
  90. How do I fix the 403 error for wp-admin/admin-ajax.php?
  91. wp-login.php entering password nothing happens
  92. Trying to login to my site redirects me to the first page
  93. stop customize.php redirect to login page if admin is not logged in
  94. Admin Login Checks
  95. Failed to load resource: the server responded with a status of 431 ()
  96. Changed the path to wp-login and now can’t access WPress dashboard
  97. Unable to log in as admin
  98. Why my login panel has a wrong language?
  99. Handling multiple account logins?
  100. Not able to access WP admin Page, redirected and a drop down login menu appears 401 error
Categories wp-admin Tags 404-error, errors, login, wp-admin
migrating wordpress, but getting some php parsing errors
WordPress mails being sent from @locahost and being rejected

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