title: Redirect From Pretty URL to .html URL
body: <p>I have recently switched from using Wordpress to a static html only site. When I remade each page (there are only 6 pages total) I kept the same URL name.</p>
  <p>Example: <a href="https://reactiongaming.us/alteriwnet/" rel="nofollow noreferrer">https://reactiongaming.us/alteriwnet/</a> is now <a href="https://reactiongaming.us/alteriwnet.html" rel="nofollow noreferrer">https://reactiongaming.us/alteriwnet.html</a></p>
  <p>My issues is that old links and Google search results contain the  reactiongaming.us/alteriwnet/ version which results in a 404 error. I have tried various .htaccess methods for &quot;pretty URLs but none worked. Usually, these questions were asked on how to redirect from a .html URL to a pretty URL, but I'm trying to do the opposite.</p>
  <p>There are only 6 URLs I need to redirect in total from reactiongaming.us/example/ to reactiongaming.us/example.html. Is there an .htaccess or other method to achieve this?</p>
  <p>I have tried:</p>
  <pre><code>RewriteCond %{THE_REQUEST} \.html [NC]
      RewriteRule ^(.*)\.html$ /$1 [R=302,L]
  
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME}\.html -f
      RewriteRule ^(.*)$ $1.html [L]
  </code></pre>
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^([^.]+)$ $1.html [NC,L]
  </code></pre>