title: remove .html with htaccess
body: <p>I'm using my htaccess file to try to remove .html (and other if I need to) file extensions from my web URL's.</p>
  
  <p>The problem is it doesn't seem to work unless I go through my links in the site and manually remove .html from all of them (which makes testing the site locally quite annoying and I'm not sure if I'm supposed to remove the .html file extension).</p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}\.html -f
  RewriteRule ^(.*)$ $1.html
  </code></pre>
  
  <p>This works if a user types in www.mysite.com/about instead of www.mysite.com/about.html, except when clicking through the links of my site it still adds the extension?</p>
  
  <p>What's the best way to go about removing the .html, absolute links on my site with <a href="http://www.mysite.com/about" rel="nofollow">http://www.mysite.com/about</a> etc or should I remove the extension and just have paths like ../about instead of ../about.html?</p>