title: Redirect from old domain to new page on new domain
body: <p>I'm having trouble with some redirects. We've moved a site off an old domain to a new subfolder on a new domain, and we've shuffled some of the pages around. So I'm trying to, for example, move <code>old-domain.com/about/</code> to <code>new-domain.com/subfolder/about/</code> or <code>old-domain-com/convoluted-autogenerated-page-slug/</code> to <code>new-domain/subfolder/page/</code> (i.e. not a match on the file name at all times).</p>
  
  <p>The basic code I've used in my <code>.htaccess</code> file here is something like:</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^old-domain\.com
  RewriteRule ^(.*)$ https://www.new-domain.com/subfolder/ [L,R=301]
  
  RewriteCond %{HTTP_HOST} ^old-domain\.com/about/
  RewriteRule ^(.*)$ https://www.new-domain.com/subfolder/about/ [L,R=301]
  </code></pre>
  
  <p><code>old-domain.com/</code> redirects to <code>new-domain.com/subfolder/</code> but <code>old-domain.com/about/</code> is also just redirecting to <code>new-domain.com/subfolder/</code>, not the specific page I want. I can't seem to get a pretty literal list of old URLs to redirect to specific new URLs. Any guidance is appreciated.</p>