{"id":58686,"date":"2022-01-17T21:01:14","date_gmt":"2022-01-17T13:01:14","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=58686"},"modified":"2023-08-22T17:18:27","modified_gmt":"2023-08-22T09:18:27","slug":"migrate-wordpress-local-liveserver","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/","title":{"rendered":"How to Migrate Your WordPress Site from Local to Remote Server"},"content":{"rendered":"<p>Working on a local server is the best practice for building your WordPress website securely. Once you\u2019re done with the development, the next move is to transfer your site to a live server so it\u2019s available on the internet.<\/p>\n<p>In this guide, we\u2019ll cover two methods to achieve this. First, we\u2019ll walk you through the manual steps for migration. Next, we\u2019ll introduce you to <a href=\"https:\/\/www.hongkiat.com\/blog\/wp-plugins-migrate-blog-website\/\" alt=\"WordPress migration plugins\">helpful plugins<\/a> that can simplify the process of moving a WordPress site.<\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-1\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/install-wordpress-locally-vagrant\/\" class=\"ref-block__link\" title=\"Read More: How to Install WordPress Locally With Vagrant\" rel=\"bookmark\"><span class=\"screen-reader-text\">How to Install WordPress Locally With Vagrant<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/install-wordpress-locally-vagrant.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-23372 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/install-wordpress-locally-vagrant.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">How to Install WordPress Locally With Vagrant<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tDeveloping locally is one of the best things that can happen to you. Not only does it let...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<h2>How to Manually Move Your WordPress Site<\/h2>\n<p>This guide will walk you through the steps to manually transfer your WordPress files and database from your local computer to a live server.<\/p>\n<p><strong>Note:<\/strong> For this tutorial, we\u2019re using MAMP on the local computer and Hostgator with cPanel for the live server.<\/p>\n<h3>Step 1: Download Your Local Database<\/h3>\n<p>First, let\u2019s make a copy of your existing WordPress database. Follow these steps:<\/p>\n<ol>\n<li>Open your web browser and navigate to <code>http:\/\/localhost\/phpmyadmin\/<\/code>.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/01-phymyadmin.jpg\" width=\"1000\" height=\"585\" alt=\"Accessing phpMyAdmin on localhost\"><\/figure>\n<li>In the left sidebar, click on your WordPress database name.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/02-test-database.jpg\" width=\"1000\" height=\"627\" alt=\"Selecting WordPress database\"><\/figure>\n<li>Click on \u2018Export\u2019, choose \u2018Gzip\u2019 under Format, and then click \u2018Go\u2019.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/03-export.jpg\" width=\"1000\" height=\"475\" alt=\"Exporting WordPress database\"><\/figure>\n<\/ol>\n<h3>Step 2: Create a New Database on the Live Server<\/h3>\n<p>Before uploading the local database to the live server, you\u2019ll need to create a new database in your hosting account.<\/p>\n<ol>\n<li>Log in to your hosting account. In the cPanel or admin page, find and click on something like \u201cMySQL\u201d, \u201cMySQL Database\u201d, or \u201cDatabase\u201d. Then click on \u201cCreate New Database\u201d.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/04-mysql-database.jpg\" width=\"1000\" height=\"306\" alt=\"Creating new MySQL database\"><\/figure>\n<li>Name your database and click \u201cCreate Database\u201d.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/05-create-new-db.jpg\" width=\"1000\" height=\"349\" alt=\"Naming the new database\"><\/figure>\n<li>Next, create a user for this database. Enter a username and password, then click \u201cCreate User\u201d.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/06-db-username-passwd.jpg\" width=\"1000\" height=\"482\" alt=\"Creating database user\"><\/figure>\n<li>Link the new user to the database. Select both the User and Database names, then click \u201cAdd\u201d.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/07-add-user-to-db.jpg\" width=\"1000\" height=\"508\" alt=\"Linking user to database\"><\/figure>\n<li>If prompted, ensure all privilege boxes are checked and click \u201cMake Changes\u201d or \u201cDone\u201d.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/08-make-changes.jpg\" width=\"1000\" height=\"898\" alt=\"Setting user privileges\"><\/figure>\n<\/ol>\n<p><strong>Note:<\/strong> Make sure to save the username and password \u2013 you\u2019ll need them later.<\/p>\n<h3>How to Upload Your Database to a Live Server<\/h3>\n<p>Now that you\u2019ve exported your local database and created a new one on the live server, it\u2019s time to import the database there.<\/p>\n<ol>\n<li>Go to the admin area of your web hosting account, find the Database section, and click on \u201cPhpMyAdmin\u201d.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/09-phpmyadmin.jpg\" width=\"1000\" height=\"586\" alt=\"Accessing PhpMyAdmin in web hosting account\"><\/figure>\n<li>In the left sidebar, click the name of the database you created earlier. Then, click \u201cImport\u201d in the top menu.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/10-db-import.jpg\" width=\"1000\" height=\"505\" alt=\"Importing database in PhpMyAdmin\"><\/figure>\n<li>Click \u201cBrowse,\u201d select your local database file (in .gzip format), and click \u201cGo.\u201d<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/11-browse-db.jpg\" width=\"1000\" height=\"643\" alt=\"Selecting local database file\"><\/figure>\n<\/ol>\n<h3>Update Settings in Your Live Server Database<\/h3>\n<p>Once the database is uploaded, you\u2019ll need to update the site URL. Navigate to the <code>wp_options<\/code> table in the database and locate the <code>siteurl<\/code> and <code>home<\/code> entries.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/12-edit-siteurl.jpg\" width=\"1000\" height=\"603\" alt=\"Editing site URL in database\"><\/figure>\n<p>Change the <code>siteurl<\/code> and <code>home<\/code> entries from <code>http:\/\/localhost<\/code> to your domain, for example, <code>http:\/\/mywpblog.com<\/code>.<\/p>\n<h3>Transfer Files to the Live Server<\/h3>\n<p>You\u2019ve successfully migrated the database. Now it\u2019s time to upload your WordPress files to your web hosting account. We recommend <a href=\"https:\/\/www.hongkiat.com\/blog\/ftp-free-clients-and-alternative-connecting-methods\/\">using an FTP client<\/a> for this.<\/p>\n<p>If you don\u2019t have an FTP client, you can <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/filezilla-project.org\/\">download FileZilla<\/a>, or check out our list of <a href=\"https:\/\/www.hongkiat.com\/blog\/ftp-free-clients-and-alternative-connecting-methods\/\">free FTP clients<\/a>. Connect to your web hosting account and start transferring your WordPress files.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/13-filezilla.jpg\" width=\"1000\" height=\"385\" alt=\"Using FileZilla for file transfer\"><\/figure>\n<p><strong>Note:<\/strong> Ensure you\u2019re transferring files to the correct directory, usually <code>public_html\/<\/code>.<\/p>\n<h3>Edit the WordPress Configuration File<\/h3>\n<p>Finally, you\u2019ll need to edit the <em>wp-config.php<\/em> file on the live server to connect it to the database.<\/p>\n<p>Open <em>wp-config.php<\/em> in a text editor and find the following section:<\/p>\n<pre>\r\ndefine('DB_NAME', 'your_database_name');\r\ndefine('DB_USER', 'your_database_user');\r\ndefine('DB_PASSWORD', 'your_database_password');\r\ndefine('DB_HOST', 'localhost');\r\n<\/pre>\n<p>Replace the placeholders with the actual database information you set up earlier.<\/p>\n<h3>Verify Settings and Test Your Site<\/h3>\n<p>If everything is set up correctly, your site should now be live. Go to the WordPress Dashboard, navigate to Settings > General, and confirm that the URLs are correct. Then, save your changes.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/14-wp-settings-general.jpg\" width=\"1000\" height=\"619\" alt=\"Verifying WordPress settings\"><\/figure>\n<p>Open a new browser tab, enter your site\u2019s URL, and your WordPress site should appear just like it did on your local machine.<\/p>\n<h2>Easy Ways to Move Your WordPress Site With Plugins<\/h2>\n<p>If you\u2019d rather avoid the hassle of manually transferring files and databases, you can use WordPress plugins to make the migration process easier.<\/p>\n<p>Here are some plugins I highly recommend:<\/p>\n<h3><a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/updraftplus.com\/\">UpdraftPlus<\/a><\/h3>\n<p>UpdraftPlus is a comprehensive backup plugin for WordPress. It allows you to automatically back up your site and store it on various remote servers like Google Drive, FTP, Dropbox, and more. The plugin offers incremental backups and the option to restore your site directly from the admin panel. The premium version even includes a migration tool for easy site transfers.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/15-updraft.jpg\" width=\"1000\" height=\"397\" alt=\"UpdraftPlus Plugin Interface\"><\/figure>\n<h3><a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/serverpress.com\/\">DesktopServer<\/a><\/h3>\n<p>DesktopServer is a desktop app available for macOS and Windows that lets you run WordPress locally on your computer. It simplifies the process of setting up virtual hosts, cloning test sites, creating local multisite networks, archiving sites, and migrating your site.<\/p>\n<p>The application\u2019s Wizard GUI makes the migration process as simple as a few clicks.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/16-desktop-server.jpg\" width=\"1000\" height=\"659\" alt=\"DesktopServer Application Interface\"><\/figure>\n<h3><a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/all-in-one-wp-migration\/\">All-in-One WP Migration<\/a><\/h3>\n<p>All-in-One WP Migration is a user-friendly plugin that simplifies the process of transferring your WordPress website. It takes care of complicated steps like moving the database, files, and updating web addresses.<\/p>\n<p>You have the option to leave out specific folders from the transfer, such as spam comments, media files, and blog posts.<\/p>\n<p><strong>Related:<\/strong> <a rel=\"noopener nofollow\" target=\"_blank\" href=\"https:\/\/www.namehero.com\/blog\/how-to-use-the-all-in-one-wp-migration-plugin-for-wordpress\">Learn how to use the All-in-One WP Migration plugin.<\/a><\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/17-all-inone-wp-migration.jpg\" width=\"1000\" height=\"491\" alt=\"All-in-One WP Migration Plugin Interface\"><\/figure>\n<h3><a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/snapcreek.com\/\">Duplicator Pro<\/a><\/h3>\n<p>Duplicator Pro is another user-friendly WordPress migration plugin. It\u2019s designed to be easy to use, regardless of your technical expertise. The plugin allows you to move your WordPress site from a local environment to a live server, or between different servers.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/18-duplicator-pro.jpg\" width=\"1000\" height=\"549\" alt=\"Duplicator Pro Plugin Interface\"><\/figure>\n<h2>Extra Tip: How to Migrate  Using the All-in-One WP Migration Plugin<\/h2>\n<p>This guide will show you how to use the <strong>All-in-One WP Migration<\/strong> plugin to move your WordPress site.<\/p>\n<ol>\n<li>First, go to your local WordPress site and install the All-in-One WP Migration plugin. Activate it.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/19-install-now.jpg\" width=\"1000\" height=\"445\" alt=\"Installing All-in-One WP Migration plugin\"><\/figure>\n<li>Next, look for the \u201cAll-in-One WP Migration\u201d link on the left sidebar of your WordPress dashboard. Hover over it and click on \u201cExport.\u201d<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/20-export-site.jpg\" width=\"1000\" height=\"613\" alt=\"Navigating to Export option\"><\/figure>\n<li>Choose \u201cExport to,\u201d and then select \u201cFile\u201d to download a backup of your database.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/21-select-file.jpg\" width=\"1000\" height=\"590\" alt=\"Selecting File for database backup\"><\/figure>\n<li>Now, install a fresh WordPress on your live server. Don\u2019t forget to install and activate the All-in-One WP Migration plugin there as well.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/22-cpanel-wordpress.jpg\" width=\"1000\" height=\"498\" alt=\"Installing WordPress on live server\"><\/figure>\n<li>Go back to the left sidebar and under \u201cAll-in-One WP Migration,\u201d click on \u201cImport.\u201d<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/23-import.jpg\" width=\"1000\" height=\"469\" alt=\"Navigating to Import option\"><\/figure>\n<li>Select \u201cFile,\u201d then browse your computer to find the database backup you downloaded earlier.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/24-import-from-file.jpg\" width=\"1000\" height=\"685\" alt=\"Importing database backup\"><\/figure>\n<li>Finally, click \u201cProceed\u201d to replace the existing database with the one from your local setup.<\/li>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/25-proceed.jpg\" width=\"1000\" height=\"464\" alt=\"Confirming database replacement\"><\/figure>\n<\/ol>","protected":false},"excerpt":{"rendered":"<p>Working on a local server is the best practice for building your WordPress website securely. Once you\u2019re done with the development, the next move is to transfer your site to a live server so it\u2019s available on the internet. In this guide, we\u2019ll cover two methods to achieve this. First, we\u2019ll walk you through the&hellip;<\/p>\n","protected":false},"author":387,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49],"tags":[4663,2189,252],"topic":[],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Migrate Your WordPress Site from Local to Remote Server - Hongkiat<\/title>\n<meta name=\"description\" content=\"Working on a local server is the best practice for building your WordPress website securely. Once you&#039;re done with the development, the next move is to\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Migrate Your WordPress Site from Local to Remote Server\" \/>\n<meta property=\"og:description\" content=\"Working on a local server is the best practice for building your WordPress website securely. Once you&#039;re done with the development, the next move is to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-17T13:01:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-22T09:18:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/01-phymyadmin.jpg\" \/>\n<meta name=\"author\" content=\"Nikita\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nikita\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/\"},\"author\":{\"name\":\"Nikita\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/84c1af9448851225e4e9f9e466a520fb\"},\"headline\":\"How to Migrate Your WordPress Site from Local to Remote Server\",\"datePublished\":\"2022-01-17T13:01:14+00:00\",\"dateModified\":\"2023-08-22T09:18:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/\"},\"wordCount\":1055,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/migrate-wordpress-local-liveserver\\\/01-phymyadmin.jpg\",\"keywords\":[\"ad-divi\",\"website migration\",\"WordPress Tips\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/\",\"name\":\"How to Migrate Your WordPress Site from Local to Remote Server - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/migrate-wordpress-local-liveserver\\\/01-phymyadmin.jpg\",\"datePublished\":\"2022-01-17T13:01:14+00:00\",\"dateModified\":\"2023-08-22T09:18:27+00:00\",\"description\":\"Working on a local server is the best practice for building your WordPress website securely. Once you're done with the development, the next move is to\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/migrate-wordpress-local-liveserver\\\/01-phymyadmin.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/migrate-wordpress-local-liveserver\\\/01-phymyadmin.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/migrate-wordpress-local-liveserver\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Migrate Your WordPress Site from Local to Remote Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/84c1af9448851225e4e9f9e466a520fb\",\"name\":\"Nikita\",\"description\":\"Nikita is an enthusiastic writer who is fond of IT programming and technology. In his free time from writing, he reads books and, most likely, drinks coffee at this time. But he also does not forget about performing physical exercises, which give him a massive boost of energy and pleasure.\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/nikita\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Migrate Your WordPress Site from Local to Remote Server - Hongkiat","description":"Working on a local server is the best practice for building your WordPress website securely. Once you're done with the development, the next move is to","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/","og_locale":"en_US","og_type":"article","og_title":"How to Migrate Your WordPress Site from Local to Remote Server","og_description":"Working on a local server is the best practice for building your WordPress website securely. Once you're done with the development, the next move is to","og_url":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2022-01-17T13:01:14+00:00","article_modified_time":"2023-08-22T09:18:27+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/01-phymyadmin.jpg","type":"","width":"","height":""}],"author":"Nikita","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Nikita","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/"},"author":{"name":"Nikita","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/84c1af9448851225e4e9f9e466a520fb"},"headline":"How to Migrate Your WordPress Site from Local to Remote Server","datePublished":"2022-01-17T13:01:14+00:00","dateModified":"2023-08-22T09:18:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/"},"wordCount":1055,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/01-phymyadmin.jpg","keywords":["ad-divi","website migration","WordPress Tips"],"articleSection":["WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/","url":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/","name":"How to Migrate Your WordPress Site from Local to Remote Server - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/01-phymyadmin.jpg","datePublished":"2022-01-17T13:01:14+00:00","dateModified":"2023-08-22T09:18:27+00:00","description":"Working on a local server is the best practice for building your WordPress website securely. Once you're done with the development, the next move is to","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/01-phymyadmin.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/migrate-wordpress-local-liveserver\/01-phymyadmin.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/migrate-wordpress-local-liveserver\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Migrate Your WordPress Site from Local to Remote Server"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/84c1af9448851225e4e9f9e466a520fb","name":"Nikita","description":"Nikita is an enthusiastic writer who is fond of IT programming and technology. In his free time from writing, he reads books and, most likely, drinks coffee at this time. But he also does not forget about performing physical exercises, which give him a massive boost of energy and pleasure.","sameAs":["https:\/\/www.hongkiat.com\/blog\/"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/nikita\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-fgy","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/58686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/387"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=58686"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/58686\/revisions"}],"predecessor-version":[{"id":68848,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/58686\/revisions\/68848"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=58686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=58686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=58686"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=58686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}