title: Remove .html from URL + redirect
body: <p>I would like to remove the .html part from the URL's that are shown in the URL.</p>
  
  <p>I was able to fix that with:</p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}\.html -f
  </code></pre>
  
  <p>That works! :)</p>
  
  <p>But now I got double URL's of every page</p>
  
  <ul>
  <li>page1</li>
  <li>page1.html</li>
  <li>etc.</li>
  </ul>
  
  <p>I don't want a 404-error on the .html pages so I would like to redirect this to the page without .html (301-redirect). But i have no idea to do that in the .htaccess</p>
  
  <p>I tried:</p>
  
  <pre><code>RewriteRule ^(.*)\.html$ /$1 [L,R=301]
  </code></pre>
  
  <p>But doesn't work --> .html files are still working</p>
  
  <p>Anybody that could help me? :)
  Thanks!</p>
  
  <p>ps. I really can't write .htaccess, please answer that I could copy-paste. That's a lot!</p>