标签:更新 执行命令 bsp set uid com val sts www
原来域名为trz.lqzcw.com 更改成 www.trzbearing.com
UPDATE wp_options SET option_value = replace(option_value, ‘原来的域名‘, ‘更新后的域名‘) WHERE option_name = ‘home‘ OR option_name = ‘siteurl‘;
UPDATE wp_posts SET post_content = replace(post_content, ‘原来的域名‘, ‘更新后的域名‘);
UPDATE wp_posts SET guid = replace(guid,‘原来的域名‘, ‘更新后的域名‘);
PS:域名是需要加上“http://”的
标签:更新 执行命令 bsp set uid com val sts www
原文地址:http://www.cnblogs.com/roluce/p/6114880.html