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

wp-admin will not redirect to wp-login.php

Well the good news is I found the answer, the bad news is the answer is so lame. Apparently I have some ACF Field export files with multiple field groups each wrapped in their own <?php ?> wrapper. Well there was a line break between the two like so:

?>

<?php

And that was enough to break every thing. Lame right? So if you come across this check for white spaces or look for a way to have your host not be so picky about them 😛

Related Posts:

  1. Cannot access wp-admin after disabling all plugin
  2. force logged in user to stay in the dashboard
  3. WordPress Admin login redirect to homepage
  4. Why does WordPress use cookies for /wp-admin and /wp-content/plugins for non-admin users [duplicate]
  5. ERROR: Cookies are blocked due to unexpected output – no access to FTP
  6. Dynamic admin submenu
  7. Remove ‘Check Compatibility’ from Plugins menu
  8. Login cookies set as wrong domain
  9. Add menu page issues (permissions & position)
  10. How to use login_redirect with a user capability
  11. Network activating; if ( !current_user_can( ‘manage_options’ ) ) locks me out…
  12. Login Customizer doesn’t change the background of the register form
  13. Cannot access my wp-admin after installing Gzip compression [closed]
  14. Add sub menu page in your plugin
  15. easy steps to make front end form without plugin
  16. Plugin settings won’t save changes
  17. Change wp-login to custom URL login page
  18. Is there any way to make myself an admin?
  19. Full list of registered scripts or styles, but from an admin options page
  20. How to make multiple admin pages for one plugin?
  21. $wpdb update query in plugin only updating one column
  22. Locked out of admin panel after installing HC Custom WP-Admin URL [closed]
  23. Login problem after installing my written plugin [closed]
  24. How can i force wp-admin to use 2-column dashboard layout? [closed]
  25. Too many login attempts
  26. Odd /wp-admin/admin-ajax.php entries showing in Wassup
  27. Get ‘Headers already sent’ error for the plugin I am creating when I try to login
  28. How can I modify page content in the admin panel?
  29. Custom Login Page — wp_signon Headers Already Sent?
  30. Display Plugin Panels Outside of Admin Areas
  31. How to display terms and conditions in post area?
  32. Is there a plugin for WordPress for creating ‘Accounts’ where all users who belong to that Account can only see Account data? [closed]
  33. Theme My Login Shortcode Doesn’t Return Anything
  34. WordPress Site is Broken, Cannot see wp-admin page [closed]
  35. Change the layout of action links under the plugin names
  36. Possibility to login without password
  37. how do i change my website facebook login button to another text immediately user login? [closed]
  38. getting notifications about updates only in the “core” page
  39. WordPress unable to write files in the server
  40. How to remove a CPT Menu from the Root Admin only
  41. Remove value from array within post meta ajax admin
  42. Is there a better way of handling AJAX requests in WordPress?
  43. Redirect Plugins.php to New Plugin Page
  44. Mowing site to another domain in simplest way
  45. Custom PHP Page Using WordPress login
  46. Get access to WordPress when logged out
  47. Why are plugin settings not all nested in one place?
  48. How to Use the Filter “sidebar_login_widget_form_args”
  49. Manage PDF downloads and protected pages
  50. Cannot access WP admin because plugin returns 204
  51. Install old version of plugin from admin panel?
  52. WordPress as heavily personalized content management portal, and somewhat like dropbox [closed]
  53. If I use an alternative login (e.g. CAS or other SSO) plugin, is my site protected from the recent brute force login attempts?
  54. login in wordpress using gmail account
  55. Edit page header on a custom plugin
  56. How can I replace content on site generated from plugin without changing plugin
  57. I cannot include a file in my plugin settings page
  58. Janrain/Simple Modal under Redirected Domain
  59. 404 errors when updating options in admin dashboard
  60. Error activating certain plugins
  61. Can’t save changes or modify settings in Dashboard but Pages and Posts are fine
  62. Change Dashboard URL from wp-admin to wp-admin/index.php
  63. Linking form to user meta fields
  64. Trigger jQuery to add events after AJAX-loading table in admin plugin
  65. WordPress Multisite Profile Picture Sync Error with Nextend Social Login Plugin
  66. Elementor pro page editing gives error There has been a critical error on this website. Please check your site admin email inbox for instructions
  67. how to move a plugin-block in Edit Post page back to bottom area?
  68. Plugin or ways to limit number of users logging in the website,
  69. wp_post not working, keeps redirecting to posts page
  70. WordPress fatal error from php protocol codes
  71. How can we get this dynamically as this folder may not be by the same name always → wp-admin
  72. Warning: call_user_func_array() expects parameter 1 to be a valid callback, function
  73. Can we hide a certain user in WP?
  74. Calling PHP function with AJAX
  75. Share login credential with QR code
  76. How to properly enqueue jQuery knob on WordPress without conflict?
  77. WordPress Dashboard add user password not working, etc
  78. Which membership plugin for a simple sign in? Personal areas for customers
  79. Discern a specific plugin’s action hooks
  80. Failed GET Request From admin.php To Fetch .min.js File From Unminifed Directory
  81. Add custom WordPress admin page with pretty url via code
  82. How to find where an image is used by it’s url
  83. Login/password protected “client page”
  84. Get full URL of WP plugin admin page
  85. WordPress Plugin PHP Not Calling Function
  86. https rewrite not working for All in one security Brute force > rename login url
  87. On button click, redirect users to registration page instead of another page
  88. Admin menu hilighting wrong item for CPT
  89. How can I show login popup when user clicks on download button
  90. Is admin section completely customizable in terms of styling?
  91. Store admin page into variable
  92. When the user entered an unauthorized url redirect to login page
  93. How to show private pages based on a user’s role?
  94. Not able to upload Plugins/ Theme from Admin backend
  95. Admin login substantially slower on production server
  96. wordpress plugin translation not working
  97. How can I share my wordpress site with a friend?
  98. Continous audio play in pages
  99. Set plugin page as homepage
  100. using wordpress login details for other website / application / forum?
Categories plugins Tags login, plugins, wp-admin
How to loop through 1 CPT with 2 Taxonomies
exclude one child by id from $post->post_parent

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