title: remove the .html from the end of a URL if there are two times in magento 2
body: <p>Remove the .html from the end of a URL, if there are two times occurred in magento 2 </p>
  
  <p>Where should i change? in htaccess file or any other file</p>
  
  <p>I write this code in htaccess </p>
  
  <pre><code>RewriteRule ^([^\.]+)$ $1.html [NC,L]
  </code></pre>