title: Redirect chain htaccess wordpress
body: <p>I am struggling for some time to solve the redirect chain that WordPress is making and I didn't find yet any solutions.
  here is my htaccess:</p>
  
  <h1>BEGIN WordPress</h1>
  
  <pre><code>enter code here
  </code></pre>
  
  <p></p>
  
  <p>For now makes the redirect chain:
  <a href="http://www.example.com/dir/product/" rel="nofollow noreferrer">http://www.example.com/dir/product/</a>
  301 Moved Permanently
  <a href="https://www.example.com/dir/product/" rel="nofollow noreferrer">https://www.example.com/dir/product/</a>
  301 Moved Permanently
  <a href="https://www.example.com/product/" rel="nofollow noreferrer">https://www.example.com/product/</a>
  200 OK</p>
  
  <p>The idea is to pass those redirect chains and if you could help me out I would really appreciate</p>
  
  <p>The idea is to redirect dir to dir/ dir to product and product to product without a redirect chain</p>
  
  <p>Kind regards</p>