mysql wordpress khi chuyển hosting

UPDATE wp_posts SET post_content = REPLACE (post_content,"banhang.mainisan.com","demo.mainisan.com");
UPDATE wp_posts SET guid = REPLACE (guid, "http://banhang.mainisan.com", "http://demo.mainisan.com") WHERE post_type = "attachment";

UPDATE wp_2_postmeta SET meta_value = REPLACE (meta_value, "global.upload-cdn.com", "www.static.upload-cdn.com") WHERE meta_key= "cdn_content";

Đọc thêm
Thu Gọn