title: WooCommerce 302 redirect to homepage after checkout is finished
body: <p>I have an unusual error I don't seem able to fix myself ... I have a WordPress website, with WooCommerce as shop-part of the site. Today I noticed, that after I make an order, (Select product > Add to cart > Proceed to Checkout ) after I fulfill the order-form, choose the payment and click "FINISH ORDER" ... I don't see the "Thank you for your order", with order details, but instead, I get automatically redirected to homepage via 302 redirection.</p>
  
  <ul>
  <li>I tried to switch themes back to TwentySeventeen - not working.</li>
  <li>I reverted .htaccess back to "original" WordPress one - not working.</li>
  <li>I deleted quite a lot of the plugins website normaly uses - not working.</li>
  <li>I removed whole CDN integration - not working.</li>
  </ul>
  
  <p>For some unknown reason, "thank-you-page" redirects via 302 redirection back to homepage.</p>
  
  <p>The order is processed and customers get e-mail notification properly, it's just that  thank you page (where order details should be seen) isn't loaded.</p>
  
  <p>I already checked <a href="https://stackoverflow.com/questions/51160950/unknown-302-redirect-happening-in-wordpress-site-redirecting-https-to-http">this Stack question</a> - but I don't have the "Force the HTTP after checkout" option within WooCommerce Dashboard.</p>
  
  <p>You can see the "Network" part of Dev Tools here: </p>
  
  <ul>
  <li>Image 1: <a href="https://prnt.sc/lnbqcs" rel="nofollow noreferrer">https://prnt.sc/lnbqcs</a> </li>
  <li>Image 2: <a href="https://prnt.sc/lnbq5o" rel="nofollow noreferrer">https://prnt.sc/lnbq5o</a> </li>
  <li>Image 3: <a href="https://prnt.sc/lnbqqj" rel="nofollow noreferrer">https://prnt.sc/lnbqqj</a></li>
  </ul>
  
  <p>This is the System report:</p>
  
  <ul>
  <li>WC Version: 3.5.1</li>
  <li>Log Directory Writable: ✔</li>
  <li>WP Version: 4.9.8</li>
  <li>WP Multisite: –</li>
  <li>WP Memory Limit: 1 GB</li>
  <li>WP Debug Mode: –</li>
  <li>WP Cron: –</li>
  <li>Language: sl_SI</li>
  <li>External object cache: –</li>
  </ul>
  
  <p>Server Environment</p>
  
  <ul>
  <li>Server Info: Apache</li>
  <li>PHP Version: 7.0.32</li>
  <li>PHP Post Max Size: 64 MB</li>
  <li>PHP Time Limit: 900</li>
  <li>PHP Max Input Vars: 20000</li>
  <li>cURL Version: 7.60.0</li>
  <li><p>OpenSSL/1.0.2k</p></li>
  <li><p>SUHOSIN Installed: –</p></li>
  <li>MySQL Version: 10.0.37-MariaDB</li>
  <li>Max Upload Size: 64 MB</li>
  <li>Default Timezone is UTC: ✔</li>
  <li>fsockopen/cURL: ✔</li>
  </ul>
  
  <p>Please try to help me ... I'm stuck here for the past 3 hrs and didn't figure it out (today) ... Much appreciated! </p>
  
  <p>Thank you,</p>
  
  <p>T. </p>