title: htaccess redirection loop issue
body: <p>I have a static website that has several html pages. In order to not hide <code>.html</code> extensions from url, we have following rules in htaccess for each url:</p>
  
  <pre><code>RewriteRule ^website-development$               website-development.html
  </code></pre>
  
  <p>This works fine in that if you open <code>site.com/website-development</code>, it actually opens the <code>website-development.html</code> file but in url it does not show the .html extension.</p>
  
  <p>Now, we need to redirect(or hide) <code>.html</code> urls to their corresponding urls without .html e.g. if someone opens <code>site.com/website-development.html</code> in their browser, the url should be shown as <code>site.com/website-development</code>.<br>
  To do this, I added following rule:  </p>
  
  <pre><code> RewriteRule ^(.*)\.html$ /$1 [L,R]  
  </code></pre>
  
  <p>But doing this results in indefinite redirection and so the browser just keeps redirecting and never renders the actual page. Can you please suggest how I can redirect both <code>site.com/website-development</code> and <code>site.com/website-development.html</code> to <code>site.com/website-development</code> (which actually is an html file - website-development.html ). Thanks.</p>