title: wordpress Live site redirect to localhost
body: <p>I have develop a site (word press) locally and move it in to a remote server. Everything seems fine except when I click the home link it redirect to my localhost website.</p>
  
  <p>To fix this what I did was,
  Changed the site url and home url to web url without adding the slash after the url.</p>
  
  <p>Apart from that I added the following code to wp_config.php</p>
  
  <pre><code>define('WP_HOME', 'http://mysite.com');
  define('WP_SITEURL', 'http://mysite.com');
  </code></pre>
  
  <p>But when click the home button it still redirect in to the localsite.</p>
  
  <p>I have changed wp_option table also</p>