title: subdomain of wordpress keep redirecting to main domain
body: <p>this is what I did and expect to clone a wp blog for development.</p>
  
  <ol>
  <li>I created a sub domain in cpanel, says dev.myblog.com</li>
  <li>I download a copy of db and then uploaded to the newly created db.</li>
  <li>I changed the wp-config - db name etc..</li>
  </ol>
  
  <p>but the problem is the sub domain keep redirecting to the main domain</p>