剛剛下SQL更新一波了(WordPress換網域後的最終步驟)

標籤: 

  • This topic has 0 則回覆, 1 個參與人, and was last updated 3/7 12:17 by 小波.
正在檢視 0 則發表的回覆
  • 作者
    文章
    • #16124 回覆
      小波
      管理員
      Offline
      Topics: 35
      Replies: 12

      語法如下:

        UPDATE wp_options SET option_value = replace(option_value, ‘flymachi.com’, ‘lvuptech.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
        UPDATE wp_posts SET guid = replace(guid, ‘flymachi.com’,’lvuptech.com’);
        UPDATE wp_posts SET post_content = replace(post_content, ‘flymachi.com’, ‘lvuptech.com’);
        UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘flymachi.com’, ‘lvuptech.com’);
正在檢視 0 則發表的回覆
回覆至:剛剛下SQL更新一波了(WordPress換網域後的最終步驟)
您的資訊: