title: Wordpress - Redirect old HTML page to different site
body: <p>I need to redirect a page from an old, non wordpress site, that has been converted to a wordpress site and that page doesn't exist anymore to a different domain that is a wordpress site. </p>
  
  <p>Original path: <code>http://example.com/exams.html</code>
  New path: <code>https://example2.com/exams/</code></p>
  
  <p>This in my .htaccess file isn't doing anything at all and when I visit the page on the site it gives a 404 error because the exams.html file doesn't exist in wordpress and I guess the .htaccess file is being ignored? </p>
  
  <pre><code>RedirectMatch 301  http://example.com/exams.html https://example2.com/exams/
  </code></pre>
  
  <p>*Edited to add information
  Site is on Host Gator shared hosting. 
  domain.com is the main site for the account. 
  domain.com resides in public_html/domain.com/ subfolder
  domain2.com resides in public_html/domain2.com/ subfolder</p>