[{"data":1,"prerenderedAt":125},["ShallowReactive",2],{"$fruxQI6WOCm1ODJeyGOzi9SIyKwaftECpX7VxXDqvgJY":3,"$fxPlLgLr59rRn-ButxQeTo7SsYJh65AUolSmS6Ieb-U4":33},[4],{"id":5,"count":6,"description":7,"link":8,"name":9,"slug":9,"taxonomy":10,"meta":11,"_links":12},21,1,"","https:\u002F\u002Fwp-portfolio.aminur.tech\u002Ftag\u002Fmigration\u002F","migration","post_tag",[],{"self":13,"collection":19,"about":22,"wp:post_type":25,"curies":28},[14],{"href":15,"targetHints":16},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftags\u002F21",{"allow":17},[18],"GET",[20],{"href":21},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftags",[23],{"href":24},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftaxonomies\u002Fpost_tag",[26],{"href":27},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts?tags=21",[29],{"name":30,"href":31,"templated":32},"wp","https:\u002F\u002Fapi.w.org\u002F{rel}",true,[34],{"id":35,"date":36,"date_gmt":36,"guid":37,"modified":39,"modified_gmt":39,"slug":40,"status":41,"type":42,"link":43,"title":44,"content":46,"excerpt":49,"author":6,"featured_media":51,"comment_status":52,"ping_status":52,"sticky":48,"template":7,"format":53,"meta":54,"categories":55,"tags":56,"class_list":60,"post_image_original":72,"devto_meta":73,"engagement":81,"_links":86},41,"2025-11-13T15:30:19",{"rendered":38},"https:\u002F\u002Fportal.pluginizelab.com\u002Fhow-to-migrate-your-local-wordpress-site-to-a-vito-web-panel-server\u002F","2026-10-29T18:50:37","how-to-migrate-your-local-wordpress-site-to-a-vito-web-panel-server","publish","post","https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fhow-to-migrate-your-local-wordpress-site-to-a-vito-web-panel-server\u002F",{"rendered":45},"How to Migrate Your Local WordPress Site to a Vito Web Panel Server",{"rendered":47,"protected":48},"\u003Cp>Follow this step-by-step guide to migrate your local WordPress website to a live server using the Vito Web Panel.\u003C\u002Fp>\n\u003Chr>\n\u003Ch2>\n  \u003Ca name=\"1-add-your-ssh-key-to-the-vito-server\" href=\"#1-add-your-ssh-key-to-the-vito-server\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>1. Add Your SSH Key to the Vito Server\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>First, generate an SSH key on your device and add it to the \u003Cstrong>SSH Settings\u003C\u002Fstrong> section inside the Vito server panel.\u003C\u002Fp>\n\u003Ch2>\n  \u003Ca name=\"2-create-a-wordpress-site-in-vito\" href=\"#2-create-a-wordpress-site-in-vito\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>2. Create a WordPress Site in Vito\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Create a new WordPress site from the Vito Web Panel.\u003Cbr \u002F>\nFor example, assume your live domain is:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight plaintext\">\u003Ccode>wp-site.com\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Ch2>\n  \u003Ca name=\"3-connect-to-the-vito-server-via-ssh\" href=\"#3-connect-to-the-vito-server-via-ssh\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>3. Connect to the Vito Server via SSH\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Open your terminal and log in to your server using the following command:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>ssh vito@\u003Cspan class=\"o\">{\u003C\u002Fspan>your.server.ip\u003Cspan class=\"o\">}\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Cp>Once logged in, you will be at the server’s root directory.\u003Cbr \u002F>\nTo list your created websites, run:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>\u003Cspan class=\"nb\">ls \u003C\u002Fspan>or \u003Cspan class=\"nb\">ls\u003C\u002Fspan> \u003Cspan class=\"nt\">-la\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Ch2>\n  \u003Ca name=\"4-navigate-to-your-website-directory\" href=\"#4-navigate-to-your-website-directory\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>4. Navigate to Your Website Directory\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Enter your WordPress site directory:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>\u003Cspan class=\"nb\">cd \u003C\u002Fspan>wp-site.com\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Ch2>\n  \u003Ca name=\"5-remove-the-existing-wpcontent-folder\" href=\"#5-remove-the-existing-wpcontent-folder\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>5. Remove the Existing wp-content Folder\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Delete the default \u003Ccode>wp-content\u003C\u002Fcode> directory:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>\u003Cspan class=\"nb\">rm\u003C\u002Fspan> \u003Cspan class=\"nt\">-rf\u003C\u002Fspan> wp-content\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Ch2>\n  \u003Ca name=\"6-prepare-your-local-raw-wpcontent-endraw-for-upload\" href=\"#6-prepare-your-local-raw-wpcontent-endraw-for-upload\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>6. Prepare Your Local \u003Ccode>wp-content\u003C\u002Fcode> for Upload\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Create a ZIP file of your local site’s \u003Ccode>wp-content\u003C\u002Fcode> folder.\u003C\u002Fp>\n\u003Cp>Before uploading, open the folder in a code editor and perform a \u003Cstrong>search &amp; replace\u003C\u002Fstrong>:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Replace all instances of: \u003Ccode>local-wp-site.test\u003C\u002Fcode> with \u003Ccode>wp-site.com\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Then replace: \u003Ccode>http:\u002F\u002Fwp-site.com\u003C\u002Fcode> with \u003Ccode>https:\u002F\u002Fwp-site.com\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>\n  \u003Ca name=\"7-upload-the-raw-wpcontent-endraw-zip-to-the-server\" href=\"#7-upload-the-raw-wpcontent-endraw-zip-to-the-server\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>7. Upload the \u003Ccode>wp-content\u003C\u002Fcode> ZIP to the Server\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Use SCP to upload the zipped folder to your server:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>scp ~\u002FHerd\u002Flocal-wp-site\u002Fwp-content.zip vito@ \u003Cspan class=\"o\">{\u003C\u002Fspan>your.server.ip\u003Cspan class=\"o\">}\u003C\u002Fspan>:\u002Fhome\u002Fvito\u002Fwp-site.com\u002F\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Ch2>\n  \u003Ca name=\"8-unzip-the-uploaded-file\" href=\"#8-unzip-the-uploaded-file\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>8. Unzip the Uploaded File\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>From your project root directory, unzip the file:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>unzip wp-content.zip\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Cp>Now your site files are ready.\u003C\u002Fp>\n\u003Ch2>\n  \u003Ca name=\"9-export-your-local-database\" href=\"#9-export-your-local-database\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>9. Export Your Local Database\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Run the following command to export your local database:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>mysqldump \u003Cspan class=\"nt\">-u\u003C\u002Fspan> root \u003Cspan class=\"nt\">-p\u003C\u002Fspan> local_site_db \u003Cspan class=\"o\">&gt;\u003C\u002Fspan> local_site_db.sql\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Ch2>\n  \u003Ca name=\"10-upload-the-database-to-the-server\" href=\"#10-upload-the-database-to-the-server\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>10. Upload the Database to the Server\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Upload the exported SQL file:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>scp ~\u002FHerd\u002Flocal-wp-site\u002Flocal_site_db.sql vito@ \u003Cspan class=\"o\">{\u003C\u002Fspan>your.server.ip\u003Cspan class=\"o\">}\u003C\u002Fspan>:\u002Fhome\u002Fvito\u002F\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Ch2>\n  \u003Ca name=\"11-import-the-database-into-the-live-server\" href=\"#11-import-the-database-into-the-live-server\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>11. Import the Database Into the Live Server\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Run the following command to import your SQL file into the live database:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>mysql \u003Cspan class=\"nt\">-u\u003C\u002Fspan> db_user_name \u003Cspan class=\"nt\">-p\u003C\u002Fspan> wp_site_db &lt; \u002Fhome\u002Fvito\u002Flocal_site_db.sql\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Cp>You will be prompted for the database password. Enter it, and the import will proceed.\u003C\u002Fp>\n\u003Ch2>\n  \u003Ca name=\"12-update-urls-using-wpcli\" href=\"#12-update-urls-using-wpcli\">\u003Cbr \u002F>\n  \u003C\u002Fa>\u003Cbr \u002F>\n  \u003Cstrong>12. Update URLs Using WP-CLI\u003C\u002Fstrong>\u003Cbr \u002F>\n\u003C\u002Fh2>\n\u003Cp>Navigate back to your project’s root directory and run the following WP-CLI commands:\n\u003C\u002Fp>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>wp search-replace \u003Cspan class=\"s1\">'local-wp-site.test'\u003C\u002Fspan> \u003Cspan class=\"s1\">'wp-test.com'\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Cdiv class=\"highlight js-code-highlight\">\n\u003Cpre class=\"highlight shell\">\u003Ccode>wp search-replace \u003Cspan class=\"s1\">'http:\u002F\u002Fwp-test.com'\u003C\u002Fspan> \u003Cspan class=\"s1\">'https:\u002F\u002Fwp-test.com'\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cdiv class=\"highlight__panel js-actions-panel\">\n\u003Cdiv class=\"highlight__panel-action js-fullscreen-code-action\">\n    \u003Ctitle>Enter fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003Cp>    \u003Ctitle>Exit fullscreen mode\u003C\u002Ftitle>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\u003Cp>This ensures all old local URLs are correctly replaced with the live domain URLs.\u003C\u002Fp>\n\u003Chr>\n\u003Cp>Your migration is now complete!\u003C\u002Fp>\n",false,{"rendered":50,"protected":48},"\u003Cp>Follow this step-by-step guide to migrate your local WordPress website to a live server using the&#8230;\u003C\u002Fp>\n",182,"open","standard",{"footnotes":7},[6],[5,57,58,59],23,22,18,[61,42,62,63,64,65,66,67,68,69,70,71],"post-41","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-migration","tag-ssh","tag-transfer","tag-wordpress","https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-content\u002Fuploads\u002F2025\u002F11\u002F41-migrate-to-vito-server.webp",{"url":74,"edited_at":75,"published_at":76,"reactions":77,"comments":77,"views":78,"reading_time":79,"body_markdown":80},"https:\u002F\u002Fdev.to\u002Faiarnob\u002Fhow-to-migrate-your-local-wordpress-site-to-a-vito-web-panel-server-3f84","2025-11-13T15:36:47Z","2025-11-13T15:30:19Z",0,113,2,"Follow this step-by-step guide to migrate your local WordPress website to a live server using the Vito Web Panel.\n\n---\n\n## **1. Add Your SSH Key to the Vito Server**\n\nFirst, generate an SSH key on your device and add it to the **SSH Settings** section inside the Vito server panel.\n\n## **2. Create a WordPress Site in Vito**\n\nCreate a new WordPress site from the Vito Web Panel.\nFor example, assume your live domain is:\n\n```\nwp-site.com\n```\n\n## **3. Connect to the Vito Server via SSH**\n\nOpen your terminal and log in to your server using the following command:\n\n```bash\nssh vito@{your.server.ip}\n```\n\nOnce logged in, you will be at the server’s root directory.\nTo list your created websites, run:\n\n```bash\nls or ls -la\n```\n\n## **4. Navigate to Your Website Directory**\n\nEnter your WordPress site directory:\n\n```bash\ncd wp-site.com\n```\n\n## **5. Remove the Existing wp-content Folder**\n\nDelete the default `wp-content` directory:\n\n```bash\nrm -rf wp-content\n```\n\n## **6. Prepare Your Local `wp-content` for Upload**\n\nCreate a ZIP file of your local site’s `wp-content` folder.\n\nBefore uploading, open the folder in a code editor and perform a **search & replace**:\n\n- Replace all instances of: `local-wp-site.test` with `wp-site.com`\n\n- Then replace: `http:\u002F\u002Fwp-site.com` with `https:\u002F\u002Fwp-site.com`\n\n## **7. Upload the `wp-content` ZIP to the Server**\n\nUse SCP to upload the zipped folder to your server:\n\n```bash\nscp ~\u002FHerd\u002Flocal-wp-site\u002Fwp-content.zip vito@ {your.server.ip}:\u002Fhome\u002Fvito\u002Fwp-site.com\u002F\n```\n\n## **8. Unzip the Uploaded File**\n\nFrom your project root directory, unzip the file:\n\n```bash\nunzip wp-content.zip\n```\n\nNow your site files are ready.\n\n## **9. Export Your Local Database**\n\nRun the following command to export your local database:\n\n```bash\nmysqldump -u root -p local_site_db > local_site_db.sql\n```\n\n## **10. Upload the Database to the Server**\n\nUpload the exported SQL file:\n\n```bash\nscp ~\u002FHerd\u002Flocal-wp-site\u002Flocal_site_db.sql vito@ {your.server.ip}:\u002Fhome\u002Fvito\u002F\n```\n\n## **11. Import the Database Into the Live Server**\n\nRun the following command to import your SQL file into the live database:\n\n```bash\nmysql -u db_user_name -p wp_site_db \u003C \u002Fhome\u002Fvito\u002Flocal_site_db.sql\n```\n\nYou will be prompted for the database password. Enter it, and the import will proceed.\n\n## **12. Update URLs Using WP-CLI**\n\nNavigate back to your project’s root directory and run the following WP-CLI commands:\n\n```bash\nwp search-replace 'local-wp-site.test' 'wp-test.com'\n```\n\n```bash\nwp search-replace 'http:\u002F\u002Fwp-test.com' 'https:\u002F\u002Fwp-test.com'\n```\n\nThis ensures all old local URLs are correctly replaced with the live domain URLs.\n\n---\n\nYour migration is now complete!",{"claps":82,"comments":83,"views":84},{"devto":77,"site":77,"total":77},{"devto":77,"site":77,"total":77},{"devto":78,"site":6,"total":85},114,{"self":87,"collection":92,"about":95,"author":98,"replies":101,"version-history":104,"predecessor-version":107,"wp:featuredmedia":111,"wp:attachment":114,"wp:term":117,"curies":123},[88],{"href":89,"targetHints":90},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts\u002F41",{"allow":91},[18],[93],{"href":94},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts",[96],{"href":97},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftypes\u002Fpost",[99],{"embeddable":32,"href":100},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fusers\u002F1",[102],{"embeddable":32,"href":103},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fcomments?post=41",[105],{"count":6,"href":106},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts\u002F41\u002Frevisions",[108],{"id":109,"href":110},103,"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts\u002F41\u002Frevisions\u002F103",[112],{"embeddable":32,"href":113},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fmedia\u002F182",[115],{"href":116},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fmedia?parent=41",[118,121],{"taxonomy":119,"embeddable":32,"href":120},"category","https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fcategories?post=41",{"taxonomy":10,"embeddable":32,"href":122},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftags?post=41",[124],{"name":30,"href":31,"templated":32},1794860197409]