title: How to htaccess redirect urls to .html
body: <p>I have been trying to find a code to 301 redirect pages like this in htaccess file:</p>
  
  <p>www.example.com/view-profiles</p>
  
  <p>To</p>
  
  <p>www.example.com/view-profiles.html</p>
  
  <p>But I need to make sure it does not conflict with the /index.html redirect rule I have there and also could be applied as a rule to many urls at once.</p>
  
  <p>Thank you in advance for your help!!</p>