diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-02 14:28:49 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-02 14:28:49 -0400 |
commit | dc6db80fa72286704849ef61ee0e5ccb5841cb09 (patch) | |
tree | 9235d796229d49211c27a07b9d18585d503baa94 /wiki/wordpress_database_update.md | |
parent | 088c87bcb58be576308da503d4f11a68843c5013 (diff) |
Conversion to barf for testing purposes
Diffstat (limited to 'wiki/wordpress_database_update.md')
-rw-r--r-- | wiki/wordpress_database_update.md | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/wiki/wordpress_database_update.md b/wiki/wordpress_database_update.md deleted file mode 100644 index c015c3d..0000000 --- a/wiki/wordpress_database_update.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -layout: page -title: WordPress Database Update -permalink: /wiki/wordpress/database_update/ ---- - -The following page contains a collection of scripts to update WordPress for numerous things. - -## Updating the URL of the Database - - -- Replace in wp_options table - UPDATE wp_options SET option_value = REPLACE(option_value, 'example.com', 'example2.com') WHERE option_name = 'home' OR option_name = 'siteurl'; - - -- Replace in wp_posts table - UPDATE wp_posts SET post_content = REPLACE(post_content, 'example.com', 'example2.com'); - UPDATE wp_posts SET guid = REPLACE(guid, 'example.com', 'example2.com'); - - -- Replace in wp_postmeta table - UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, 'example.com', 'example2.com'); - - -- Replace in wp_usermeta table - UPDATE wp_usermeta SET meta_value = REPLACE(meta_value, 'example.com', 'example2.com'); - - -- Replace in wp_users table - UPDATE wp_users SET user_url = REPLACE(user_url, 'example.com', 'example2.com'); |