Posted By

S_Park on 08/20/11


Tagged


Versions (?)

Wordpress SQL Find & Replace


 / Published in: SQL
 

Useful for when moving a Wordpress installation from, e.g., development to live. 'wp_posts' is the table name, 'guid' is the table field. Alter as appropriate.

  1. UPDATE wp_posts SET guid = REPLACE(guid, "dev.domain.co.uk", "www.domain.co.uk")

Report this snippet  

You need to login to post a comment.