title: RedirectMatch or Rewrite Rule for 301 Redirects of *.html to non-extension path
body: <p>I've searched everywhere, including SO, can't quite find the answer to this question:</p>
  
  <p>I'd like to set up a 301 redirect such that:</p>
  
  <pre><code>www.mysite.com/some-page.html
  </code></pre>
  
  <p>redirects to</p>
  
  <pre><code>www.mysite.com/some-page/
  </code></pre>
  
  <p>I'm using the below in my htaccess file (it's a WordPress site):</p>
  
  <pre><code>RewriteEngine On
  RedirectMatch 301 (.*)\.html$ $1
  
  # 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><strong>The problem</strong><br>
  If I visit <code>www.mysite.com/</code>, it redirects to <code>www.mysite.com/index</code></p>
  
  <p>(Note: If I visite <code>www.mysite.com/some-page.html</code>, it <em>does work</em> and redirects to <code>www.mysite.com/some-page/</code>)</p>
  
  <p>Any advise on how to make this work? I'm sure I'm missing something obvious...</p>