title: How can I 301 redirect specific subdomain URLs using .htaccess?
body: <p>I need to redirect particular URLs on a subdomain to <em>completely different</em> URLs on a different subdomain. For example:</p>
  
  <pre><code>http://foo.example.com/this-is-my-page
  </code></pre>
  
  <p>Needs to <code>301</code> to:</p>
  
  <pre><code>http://bar.example.com/this-is-really-my-page
  </code></pre>
  
  <p>I’ve tried setting up a simple <code>Redirect 301</code> in <code>.htaccess</code> but it doesn't seem to work.  For example:</p>
  
  <pre><code>Redirect 301 http://foo.example.com/this-is-my-page http://bar.example.com/this-is-really-my-page
  </code></pre>