Lately, I’ve been working on a Woocommerce website that is hosted on Bluehost. I always login using the “/wp-admin” URL, so I didn’t test the “/my-account/” page. It came to my attention that after logging in to the “/my-account/” page, I could only login and log out once before the page no longer worked.
After logging in to the “/my-account/” Woocommerce page, and logging out, future login attempts to this page (and other pages like on Checkout) would result in the credentials being accepted, but the page would reload no matter what credentials used. The “/wp-admin” would allow me to login. I was stuck in a login loop that just kept redirecting to the “/my-account/” page.
I disabled all plugins and used the default WordPress theme. I even did a test install with only Woocommerce installed. The error persisted. When I tried the same setup on another host (asmallorange), the “/my-account/” worked as expected. That narrowed it down to Bluehost as the problem.
Further, I found that using incognito mode or clearing the cache would allow me to login as normal on Bluehost on the “/my-account/” page.
After a long chat with Bluehost support, they finally narrowed it down to the Varnish Caching tool they enable by default on OHWP (optimized hosting wordpress account). They turned it off and the page will now login as expected.
I’ve ran into a lot of problems with Bluehost. If you can, I highly recommend A Small Orange. They have fantastic up time and their support is the fastest I’ve seen.