title: Redirect and rewrite file to subdomain
body: <p>Our site have this url<br></p>
  
  <pre><code>http://mydomain.com/blog.php?id=50
  </code></pre>
  
  <p>and need redirect its by 301 to</p>
  
  <pre><code>http://blogs.mydomain.com/blog.php?id=50
  </code></pre>
  
  <p>must create sub domain or folder or can we do it directly .htaccess file ? </p>