title: how change url permalink in wordpress database by sql query
body: <p>I transfer WordPress website from localhost to live but there some url and images url not changes, how can change URL permalink in WordPress database by sql query or any other method.</p>
  
  <p>I use  below sql query but anythings not happen please help me...</p>
  
  <pre><code>UPDATE Wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
  </code></pre>
  
  <p>Thanks in advance</p>