WordPress修改域名mysql数据库


UPDATE wp_options SET option_value = replace(option_value, ‘elonlee.info’,’www.ymis.live’) ;
UPDATE wp_posts SET post_content = replace(post_content, ‘elonlee.info’,’www.ymis.live’) ;
UPDATE wp_comments SET comment_content = replace(comment_content, ‘elonlee.info’, ‘www.ymis.live’) ;
UPDATE wp_comments SET comment_author_url = replace(comment_author_url, ‘elonlee.info’, ‘www.ymis.live’) ;


Leave a Reply

Your email address will not be published.