Title: WooCommerce and HTTPS (SSL), redirect loop error on Checkout page.
Last modified: August 22, 2016

---

# WooCommerce and HTTPS (SSL), redirect loop error on Checkout page.

 *  Resolved [2bearstudio](https://wordpress.org/support/users/2bearstudio/)
 * (@2bearstudio)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/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 http:// as normal. i.e., 
   site_url is [http://www.domain.com](http://www.domain.com).
    WooCommerce forces
   SSL on checkout page, i.e., [https://www.domain.com/checkout](https://www.domain.com/checkout)
 * But I got a redirect loop error on the checkout page. I can see the url is jumping
   back and forth between http:// & 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](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.
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Contributor [royho](https://wordpress.org/support/users/royho/)
 * (@royho)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619775)
 * Ok so make sure you don’t have any SSL related redirections whether server level(
   htaccess ) or site level via any plugins. Then in your site make sure both the
   WordPress URL and Site URL ( settings->general ) are set to HTTP and NOT HTTPS.
   Then turn on “force SSL on checkout” in WooCommerce settings and you can optional
   enable “return to NON SSL when leaving checkout pages”. ( paraphrasing ).
 *  Thread Starter [2bearstudio](https://wordpress.org/support/users/2bearstudio/)
 * (@2bearstudio)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619777)
 * Thank you [@roy](https://wordpress.org/support/users/roy/) Ho, your suggestion
   was tested. As I mentioned, no plugin is activated but WooCommerce related.
 * I specifically tried your recommendation. It didn’t work.
 *  Plugin Contributor [royho](https://wordpress.org/support/users/royho/)
 * (@royho)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619778)
 * Ok do this as a test. Turn off WooCommerce SSL. Then try going to your site via
   HTTPS and tell me if it resolves. If it still redirects, then you have other 
   issues not related to WooCommerce.
 *  Thread Starter [2bearstudio](https://wordpress.org/support/users/2bearstudio/)
 * (@2bearstudio)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619782)
 * Thank you [@roy](https://wordpress.org/support/users/roy/) Ho. First of all, 
   I can’t do any test on the site, it went live.
 * But for your question, from the test I’ve done, if I visit the site via HTTP,
   it stays at HTTP. If I visit the site via HTTPS, it stays at HTTPS, and there
   is no error on this setting.
 * The problem (redirect loop) happens when site setup at HTTP, and goto checkout
   page in WooCommerce.
 * The live site is currently running on HTTPS all the time.
 *  Plugin Contributor [royho](https://wordpress.org/support/users/royho/)
 * (@royho)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619787)
 * Can you please provide a URL?
 *  Thread Starter [2bearstudio](https://wordpress.org/support/users/2bearstudio/)
 * (@2bearstudio)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619788)
 * sure. [https://www.horseloversmath.com/](https://www.horseloversmath.com/)
 *  Plugin Contributor [royho](https://wordpress.org/support/users/royho/)
 * (@royho)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619789)
 * Ok so from what I can see and from what you have explained in your test, there
   must be something else that is causing your site to redirect because as you stated,
   if you turn on “SSL on checkout” via WooCommerce, it will go to https of your
   site but then redirects back to http and this causes an infinite loop.
 * So I am suspecting something is telling your site to go to http. I understand
   you said you have checked this but it may be worth asking your host about it 
   to see if they may have added something.
 *  Thread Starter [2bearstudio](https://wordpress.org/support/users/2bearstudio/)
 * (@2bearstudio)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619792)
 * Thank you [@roy](https://wordpress.org/support/users/roy/) Ho for following this
   subject so closely.
 * Here is what I got from my hosting’s 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 want to get a second opinion here, because I think it doesn’t make sense to
   me.
 *  Plugin Contributor [royho](https://wordpress.org/support/users/royho/)
 * (@royho)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619793)
 * Yes I have read that already but you’re still not asking the host the right question.
   I am stating server level redirects. What you’re stating is site level. Because
   site level you can control easily. But server level not so much and most of the
   time requires them to do it for you.
 * You can also check your htaccess file to see if there are any directives in there
   that is causing the redirects.
 *  Thread Starter [2bearstudio](https://wordpress.org/support/users/2bearstudio/)
 * (@2bearstudio)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5619795)
 * .HTACCESS file was checked, and I just checked again. Nothing strange there.
 * You indeed mentioned one question that the host support didn’t mention, the server
   level redirects.
 * But as I mentioned, I was asked to remove all the warnings, error in the website
   before they can correct the problem. Followed by disable all the plugins etc.
   Nothing helped much.
 * The running HTTPS all the time is their solution.
 *  [websanity](https://wordpress.org/support/users/websanity/)
 * (@websanity)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5620163)
 * A bit late now but I just ran into this problem too. I think it is an issue with
   the secure cert setup.
 * [http://docs.woothemes.com/document/ssl-by-proxy-problems-network-solutions/](http://docs.woothemes.com/document/ssl-by-proxy-problems-network-solutions/)
 * Shame that WooThemes can’t climb off their technical high horse and just provide
   us a with a work around/hack for the real world.
 *  [jamiechong](https://wordpress.org/support/users/jamiechong/)
 * (@jamiechong)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5620168)
 * Does anyone know if this same issue (as Network Solutions) applies to sites running
   on WPEngine?
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5620169)
 * jamiechong unlikely – contact WPEngine support.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘WooCommerce and HTTPS (SSL), redirect loop error on Checkout page.’ is
closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/woocommerce-and-https-ssl-redirect-loop-error-on-checkout-page/#post-5620169)
 * Status: resolved