{"id":17069,"date":"2025-07-29T11:11:48","date_gmt":"2025-07-29T10:11:48","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=17069"},"modified":"2025-07-29T11:11:48","modified_gmt":"2025-07-29T10:11:48","slug":"how-to-migrate-wordpress-website-using-ftp","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/","title":{"rendered":"How to Migrate WordPress website using FTP?"},"content":{"rendered":"\n<p>The idea of\u00a0 migrating a WordPress website can look scary, but it is possible with proper planning, even for those who are not developers. FTP (File Transfer Protocol) is one of the best ways to move a WordPress site. We help users migrate their websites every day at MilesWeb. This guide will help you understand how to perform a migration using FTP and phpMyAdmin step by step.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisite: Choose the Right WordPress Hosting with MilesWeb<\/h2>\n\n\n\n<p>Exploring website migration usually signals a need to switch from your existing provider to a different hosting solution. MilesWeb offers fully <a href=\"https:\/\/www.milesweb.co.uk\/hosting\/wordpress-hosting\/managed-wordpress-hosting\">managed WordPress hosting<\/a> tailored for varied business needs.<\/p>\n\n\n\n<p>It includes multiple hosting options like <a href=\"https:\/\/www.milesweb.co.uk\/hosting\/shared-hosting\">shared<\/a>, <a href=\"https:\/\/www.milesweb.co.uk\/hosting\/vps-hosting\/\">VPS<\/a>, and <a href=\"https:\/\/www.milesweb.co.uk\/hosting\/dedicated-servers\/\">dedicated hosting<\/a> along with managed WordPress hosting.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step-by-Step Guide to Migrate a WordPress Website Using FTP<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Prepare Your Backup<\/h3>\n\n\n\n<p>Backing up is critical. Start by ensuring that the files and database for the WordPress website are backed up. Backup can be done using plugins like UpdraftPlus or Duplicator, or manually using cPanel with the hosting account.<\/p>\n\n\n\n<p>Tip: Ensure that both the files (with FTP) and the MySQL database (with phpMyAdmin) are downloaded.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Connect to Your Existing Hosting Account via FTP<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download and install an FTP client such as FileZilla.<\/li>\n\n\n\n<li>Start Filezilla, and for the old host connection, input:<\/li>\n\n\n\n<li>Host: <a href=\"https:\/\/www.milesweb.co.uk\/blog\/technology-hub\/what-is-ftp\/\">FTP server<\/a> (e.g., ftp.yourdomain.com)<\/li>\n\n\n\n<li>Username &amp; Password: Given by host<\/li>\n\n\n\n<li>Port: 21 (usually)<\/li>\n\n\n\n<li>After connection, locate the WordPress installation folder, commonly found at \/public_html or \/www.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Download your WordPress Files<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download WordPress files like .htaccess, wp-content, wp-config.php, and others.<\/li>\n\n\n\n<li>Select, right-click, and click on Download.<\/li>\n\n\n\n<li>Remember to save this in a new folder on your local machine.<\/li>\n<\/ol>\n\n\n\n<p>Warning: Enabling \u201cshow hidden files\u201d in your FTP client settings is a must to prevent skipping hidden files such as .htaccess.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Export your WordPress Database<\/h3>\n\n\n\n<p>Through your current hosting control panel, <a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/a-complete-guide-to-using-phpmyadmin\/\">log in to phpMyAdmin<\/a>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the left panel, select your WordPress database.<\/li>\n\n\n\n<li>Click on the Export tab.<\/li>\n\n\n\n<li>Select Quick export and then choose SQL format.<\/li>\n\n\n\n<li>Click Go, and the .sql file will be downloaded automatically to your computer.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Upload Files to the New Hosting Account<\/h3>\n\n\n\n<p>With the same FTP client, log in to your MilesWeb FTP account.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the root directory of your new domain (e.g., \/public_html).<\/li>\n\n\n\n<li>Upload all WordPress files downloaded in the prior step.<\/li>\n<\/ol>\n\n\n\n<p>Tip: Make sure to clear out the old files if you are replacing an existing site to avoid conflicts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Create a New Database on MilesWeb<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the MilesWeb mPanel (client area) and select MySQL\u00ae Databases.<\/li>\n\n\n\n<li>Set up a new database and a new user with full privileges to the database.<\/li>\n\n\n\n<li>Take note of:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Database name<\/li>\n\n\n\n<li>Database username<\/li>\n\n\n\n<li>Database password<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7: Import the Database<\/h3>\n\n\n\n<p>Access phpMyAdmin from your MilesWeb server.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose the new database from the list.<\/li>\n\n\n\n<li>Select Import.<\/li>\n\n\n\n<li>Choose the .sql file created from the last step.<\/li>\n\n\n\n<li>Select Go.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 8: Update wp-config.php.<\/h3>\n\n\n\n<p>Using your FTP client or text editor, open the wp-config.php file and change the following lines:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u2018DB_NAME\u2019 is set to your database name.<\/li>\n\n\n\n<li>\u2018DB_USER\u2019 set to the newly created db user.<\/li>\n\n\n\n<li>\u2018DB_PASSWORD\u2019 is set to the new database user\u2019s password.<\/li>\n\n\n\n<li>\u2018DB_HOST\u2019 to localhost.<\/li>\n\n\n\n<li>Save the changes and re-upload to the new server.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 9: Update Site URL (If Necessary)<\/h3>\n\n\n\n<p>For those changing domain names, the following instructions will assist in changing the site URL:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter phpMyAdmin.<\/li>\n\n\n\n<li>Locate the wp_options table.<\/li>\n\n\n\n<li>Set the siteurl and home parameters to the new domain URL.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 10: Verification Test for the Website<\/h3>\n\n\n\n<p>Open your newly registered domain and verify all services are working optimally. Inspect:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>URLs for pages<\/li>\n\n\n\n<li>Images<\/li>\n\n\n\n<li>Media uploads<\/li>\n\n\n\n<li>Website plugins<\/li>\n\n\n\n<li>Website themes<\/li>\n<\/ol>\n\n\n\n<p>Warning: Remember to clear your browser history or test in incognito mode to avoid viewing cached pages from the old site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Issues to Avoid<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Incorrect permissions on these files: <\/strong>Access and adjust read and write permissions for files.<\/li>\n\n\n\n<li><strong>Address change:<\/strong> If your domain name has changed, use plugins like Better Search Replace to fix broken links.<\/li>\n\n\n\n<li><strong>Errors in the database:<\/strong> Check the database name, username, and password in wp-config.php.<\/li>\n<\/ol>\n\n\n\n<div class=\"vlt-box \">\n<div class=\"box-title\" style=\"background:#D5EAFF; color:#000\">Conclusion<\/div>\n<div class=\"box-content\" >\n<p>Performing website migration with FTP might seem to be a difficult task at first, but the FTP method is useful and safe. Your control over the startup server is far greater in this case, as you manually move files and databases, which also helps in reducing reliance on third-party plugins.<\/p>\n<p>As is the case with any migration, backup, configuration files, and migrated data must be tested to ensure thorough verification. With any issues, MilesWeb\u2019s support is always there to help with any problems or take over the migration for you.<\/p>\n<\/div><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The idea of\u00a0 migrating a WordPress website can look scary, but it is possible with proper planning, even for those who are not developers. FTP (File Transfer Protocol) is one of the best ways to move a WordPress site. We help users migrate their websites every day at MilesWeb. This guide will help you understand [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-17069","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-wordpress-faq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Migrate WordPress website using FTP?<\/title>\n<meta name=\"description\" content=\"Learn how to migrate your WordPress site using FTP with this beginner-friendly guide by MilesWeb.\" \/>\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.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Migrate WordPress website using FTP?\" \/>\n<meta property=\"og:description\" content=\"Learn how to migrate your WordPress site using FTP with this beginner-friendly guide by MilesWeb.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-29T10:11:48+00:00\" \/>\n<meta name=\"author\" content=\"Ujwala\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ujwala\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/\",\"name\":\"How to Migrate WordPress website using FTP?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2025-07-29T10:11:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\"},\"description\":\"Learn how to migrate your WordPress site using FTP with this beginner-friendly guide by MilesWeb.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Migrate WordPress website using FTP?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\",\"name\":\"Ujwala\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g\",\"caption\":\"Ujwala\"},\"description\":\"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/ujwala\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Migrate WordPress website using FTP?","description":"Learn how to migrate your WordPress site using FTP with this beginner-friendly guide by MilesWeb.","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.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/","og_locale":"en_GB","og_type":"article","og_title":"How to Migrate WordPress website using FTP?","og_description":"Learn how to migrate your WordPress site using FTP with this beginner-friendly guide by MilesWeb.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2025-07-29T10:11:48+00:00","author":"Ujwala","twitter_misc":{"Written by":"Ujwala","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/","name":"How to Migrate WordPress website using FTP?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2025-07-29T10:11:48+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8"},"description":"Learn how to migrate your WordPress site using FTP with this beginner-friendly guide by MilesWeb.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-migrate-wordpress-website-using-ftp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Migrate WordPress website using FTP?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8","name":"Ujwala","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g","caption":"Ujwala"},"description":"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/ujwala\/"}]}},"views":0,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=17069"}],"version-history":[{"count":1,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17069\/revisions"}],"predecessor-version":[{"id":17070,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17069\/revisions\/17070"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=17069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=17069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=17069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}