title: Woocommerce internal server error on checkout
body: <p>I am experiencing this weird problem with my htaccess file everytime I tried to checkout on my woocommerce site. This is the htaccess file I currently have..</p>
  
  <pre><code># BEGIN REMOVE SLUG CUSTOM POST TYPE RULES
  RewriteRule ^slider/(.+)/$ /$1 [R=301,L]
  # END REMOVE SLUG CUSTOM POST TYPE RULES
  
  
  # BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  
  # END WordPress
  </code></pre>
  
  <p>but its strangely become like this after I checkout</p>
  
  <pre><code># BEGIN REMOVE SLUG CUSTOM POST TYPE RULES
  RewriteRule ^slider/(.+)/$ /$1 [R=301,L]
  # END REMOVE SLUG CUSTOM POST TYPE RULES
  
  
  # BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  Rewrit
  </code></pre>
  
  <p>and 500 server error prompt up instead of showing thank you page but its all working if I fixed the htaccess file manually and refresh the same page, thank you page will show and also order was recorded fine even if I don't fixed the htaccess file.</p>
  
  <p>I created my own woocommerce child theme for this site and I am using only two plugins called "Remove slug from custom post type" and "SEO Ultimate" to make the product and category urls as I needed and both plugins seems to be changing htaccess on the fly, but I am not really sure why only on checkout it makes htaccess file cut off like that...? These are the url where I'am getting this error</p>
  
  <p><a href="http://mysite.dev/checkout/order-received/709?key=wc_order_53db13e068104" rel="nofollow">http://mysite.dev/checkout/order-received/709?key=wc_order_53db13e068104</a></p>
  
  <p>its redirect to this url after I correct htaccess manually.
  <a href="http://mysite.dev/checkout/order-received/709/?key=wc_order_53db13e068104" rel="nofollow">http://mysite.dev/checkout/order-received/709/?key=wc_order_53db13e068104</a></p>
  
  <p>also this error doesn't occur all the time please help!</p>