title: From subdomain to query string, htaccess code
body: <p>If I enter the following link in the browser. </p>
  
  <p><a href="http://sub.domain.com" rel="nofollow">http://sub.domain.com</a> then it will open http:/domain.com/page.php?c=sub and in the browser address bar visitors will see <a href="http://sub.domain.com" rel="nofollow">http://sub.domain.com</a>.</p>
  
  <p>I know it can be done by rewrite url. Can anyone please tell me the htaccess codes?</p>