title: Redirect 301 - remove .html extension from URLs
body: <p>I would like to remove the <code>.html</code> extension from my urls, located into specific directory and redirect 301 them. </p>
  
  <p>Here is how the structure looks like:</p>
  
  <pre><code>mysite.com/category/nameofcategory/pagenumber.html
  </code></pre>
  
  <p>The thing is that <code>nameofcategory</code> and <code>pagenumber</code> could be any letter or number.</p>
  
  <p>Could you please help me with this?</p>