{"id":2478,"date":"2021-10-23T21:04:00","date_gmt":"2021-10-23T19:04:00","guid":{"rendered":"https:\/\/digitalia.culturanuova.net\/blog\/?p=2478"},"modified":"2023-09-15T17:41:07","modified_gmt":"2023-09-15T15:41:07","slug":"update-remote-wordpress-from-localhost","status":"publish","type":"post","link":"https:\/\/digitalia.culturanuova.net\/blog\/?p=2478","title":{"rendered":"update remote wordpress from localhost"},"content":{"rendered":"\n<p>Migrate DB is a good tool, even in its free version. You can follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>create a database in remote and import there the local wordpress database, changing some data with Migrate DB (tipically you have to convert the local server path <code>https:\/\/localhost\/your-local-path\/wordpress<\/code> to <code>\/\/your-remote-path\/wordpress<\/code>, and the local absolute path (such as <code>\/mnt\/your-PC-path\/wordpress<\/code>) to the remote absolute path (such as <code>https:\/\/your-remote-path\/wordpress<\/code>);<\/li>\n\n\n\n<li>upload the local wordpress folder  to your remote website, via FTP;<\/li>\n\n\n\n<li>change in the uploaded folder the wp-config.php file, according to the db user, db name and db server of the remote wordpres database;<\/li>\n\n\n\n<li>go to the remote wordpress, login (user and password are identical to the your local wordpress ones),  and go to Migrate DB -&gt; settings, and there -&gt; generate\/reset API key, copy the 32 char key and paste it in the local Migrate DB <strong>push<\/strong>  box.<\/li>\n\n\n\n<li>So your connection should work, syncing the remote database with the local one.<\/li>\n<\/ul>\n\n\n\n<p>A <strong>problem<\/strong> could arise using Wordfence Security: to update with MigrateDB, you could have to <strong>disable temporarliy Wordfence<\/strong>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Migrate DB is a good tool, even in its free version. You can follow these steps: A problem could arise using Wordfence Security: to update with MigrateDB, you could have to disable temporarliy Wordfence.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[569,565,566],"tags":[704,215,705,488],"class_list":["post-2478","post","type-post","status-publish","format-standard","hentry","category-internet","category-office","category-webmaster","tag-migrate-db","tag-sync","tag-update-remote","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2478"}],"version-history":[{"count":3,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2478\/revisions"}],"predecessor-version":[{"id":2807,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2478\/revisions\/2807"}],"wp:attachment":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}