相關圖片

数据库批量替换,记得先备份

UPDATE wp_posts SET post_content = replace( post_content, ‘https://www.old.com’, ‘https://www.new.com’ ) ;

UPDATE wp_posts SET guid = replace( guid, ‘https://www.old.com’, ‘https://www.new.com’ ) ;

www.old.com 代表老域名,www.new.com 代表新域名,用自己的域名替换一下

來源:https://www.hostloc.com/thread-517405-1-1.html

advertising
Newage簡易教程WordPress
数据库批量替换,记得先备份 UPDATE wp_posts SET post_content = replace( post_content, ‘https://www.old.com’, ‘https://www.new.com’ ) ; UPDATE wp_posts SET guid = replace( guid, ‘https://www.old.com’, ‘https://www.new.com’ ) ; www.old.com 代表老域名,www.new.com 代表新域名,用自己的域名替换一下 來源:https://www.hostloc.com/thread-517405-1-1.html