Skip to content

Duh! Microsoft did it again

(They always discourage & We always do)

  • About
  • Contact me
  • Donate, Please

Day: July 24, 2024

Hack for WordPress wp-admin redirect loop

On July 24, 2024August 26, 2024 By windows7bugsIn wordpressLeave a comment

WordPress wp-admin redirect loop is that one dreaded issue, leaves you without much help from anyone, trust me, literally no one gives you a proper answer, including wordpress.com. To add more frustration, think of using .htaccess to redirect because the site files are inside a sub-folder.

I had a strange situation with our corporate website, wp-admin redirecting to the login page once after authentication is successfully done. I couldn’t load this page successfully from any of the browsers, however I was able to login using my mobile phone’s chrome browser!

So WordPress works this way, user tries to access the admin page using yoursite.com/wp-admin that calls the wp-login.php page and after the successful authentication, user is redirected to WordPress admin page, aka wp-admin!

For some reasons that I don’t understand, this gets into a loop! wp-admin loads the login page, login page gets redirected to wp-admin page which wouldn’t load because the authentication didn’t happen(?)…

After couple of hours trying to understand and modify the .htaccess file, I noticed that whenever I tried to access mysite.com/wp-admin, the request was getting redirected to mysite.com/wp-login.php & I decided to proceed with mysite.com/wp-login.php instead of mysite.com/wp-admin

Well, that stopped the redirect loop. I was able to successfully authenticate and access the admin page this way. Are you experiencing the same issue? give it a try and share your experience with us.

We are on twitter

Tweets by w7bugs
July 2024
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Jun   Sep »

Top Posts

  • How to disable Windows Virtualization/Device Based Security #VBS
  • ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM], [Check traces and OS configuration]
  • Installing Oracle Forms & Reports 14.1.2 on Windows
  • Windows 11 | Dial a VPN Connection using PowerShell script
  • Oracle Inventory, Historical Inventory Values
  • Install Oracle Developer 10G on Windows 11
  • Virtualize your desktop/laptop computer
  • Oracle 12c | Forms & Reports | Configure for deployment(s)
  • Windows 11 | Snipping tool "Recording stopped"
  • Install Oracle forms & reports 12.2.1.4 with Weblogic 12c 12.2.1.4

Recent Posts

  • SSL Enabled Hosting for Oracle ORDS on Oracle EBS Server
  • How to Properly Deregister Custom Tops in Oracle EBS manually
  • WordPress | Cannot create new posts or pages error
  • 2025-10 Cumulative Update for Windows 11, version 25H2 for x64-based Systems (KB5066835) (26200.6899) | error
  • Oracle EBS R12 AP invoice batches entry WHEN-VALIDATE-ITEM error

Word Press

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Blog Stats

  • 1,471,801 hits

Recent Comments

spg on How to disable Windows Virtual…
windows7bugs on Oracle 19c | Install sample sc…
bluebirdresilientf36… on Oracle 19c | Install sample sc…
windows7bugs on How to disable Windows Virtual…
mbokani on How to disable Windows Virtual…

Email Subscription

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 119 other subscribers

Categories

  • .net programming
  • Active Directory
  • Android
  • APEX
  • Articles
  • ASP.NET Core
  • Educational
  • Gadgets
  • Hacks for Practical life
  • Hardware
  • Linux
  • Linux
  • Networking
  • NOT a DBA
  • Notes for personal references
  • Offtopic
  • Oracle Analytics Publisher
  • Oracle Applications (R12.0.4)
  • Oracle Applications(R12)
  • Oracle database 11g
  • Oracle database 12c
  • Oracle Database 19c
  • Oracle Enterprise Linux
  • Oracle Forms
  • Oracle Inventory (R12)
  • Oracle PL/SQL
  • Oracle related
  • Oracle SQL Developer
  • Oracle VirtualBox
  • PowerShell
  • Samsung
  • Security
  • T-SQL
  • Uncategorized
  • Visual Studio(VB.Net)
  • VMWare
  • Weblogic
  • Windows
  • Windows 10
  • Windows 11
  • Windows 2016
  • Windows 7
  • Windows 8
  • Windows 8.1
  • Windows Phone
  • Windows Server 2016
  • wordpress
Powered by WordPress.com.
 

Loading Comments...