WooCommerce and HTTPS (SSL), redirect loop error on Checkout page.
-
Had a long sleepless night, tried to launch a WooCommerce store, but having a Redirect Loop error. Debugging & talking with hosting tech support. I am getting confused.
Here is the situation: I understand the site can be https:// as normal. i.e., site_url is https://www.domain.com.
WooCommerce forces SSL on checkout page, i.e., https://www.domain.com/checkoutBut I got a redirect loop error on the checkout page. I can see the url is jumping back and forth between https:// & https:// at address bar (Safari browser) before throwing me the error message.
The problem exists even when theme is on default 2014, with only WooCommerce + Stripe payment gateway plugin.
But the problem can be solved by change site /home url to https://www.domain.com. So the website is running currently under https:// all the time.
Here is what I get from the technical support: “As wordpress is setup to use http and the woo commerce plugin is setup to use https there is generating the redirecting loop. Unfortunately I’m afraid that both of them can not work on the same time so you should keep only one method. https for all links or http for all links”
I don’t really buy this explanation. Please, anyone can explain why the redirect happens? I believe this could be more of a server configuration issue.
- The topic ‘WooCommerce and HTTPS (SSL), redirect loop error on Checkout page.’ is closed to new replies.