title: WooCommerce 'Place Order' Redirect to 404 (Sub Directory Installation)
body: <p>I have a problem with redirection of WooCommerce '<strong>Place Order</strong>' button that persistently redirects to 404.</p>
  
  <p>I have found out the cause of the problem is the fact that 'checkout' is not added in the URL when the place order button is clicked.  </p>
  
  <p>The following is the URL structure when you click the <strong>place order</strong> button: </p>
  
  <p><a href="http://example.com/New-Site/?key=wc_order_5b1e969783c98&amp;order=6708" rel="nofollow noreferrer">http://example.com/New-Site/?key=wc_order_5b1e969783c98&amp;order=6708</a></p>
  
  <p>Checkout is omitted. When I manually add is as shown below; it works. </p>
  
  <p><a href="http://example.com/New-Site/checkout/?key=wc_order_5b1e969783c98&amp;order=6708" rel="nofollow noreferrer">http://example.com/New-Site/checkout/?key=wc_order_5b1e969783c98&amp;order=6708</a></p>
  
  <p>I have this WordPress installation in a subdirectory and the htaccess is as follows : </p>
  
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /New-Site/
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /New-Site/index.php [L]
  &lt;/IfModule&gt;
  
  # END WordPress
  </code></pre>
  
  <p>What could be causing this problem? </p>