{"id":1933,"date":"2025-04-16T15:41:39","date_gmt":"2025-04-16T15:41:39","guid":{"rendered":"https:\/\/hostingfy.eu\/?p=1933"},"modified":"2025-07-10T07:13:57","modified_gmt":"2025-07-10T07:13:57","slug":"how-to-transfer-a-wordpress-site-to-new-hosting-a-complete-guide","status":"publish","type":"post","link":"https:\/\/hostingfy.eu\/en\/how-to-transfer-a-wordpress-site-to-new-hosting-a-complete-guide\/","title":{"rendered":"How to Transfer a WordPress Site to New Hosting: A Complete Guide"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Transferring a WordPress site from one hosting provider to another may seem like a complex task, but with the right procedure and tools, you can migrate safely and without interruption. In this guide, you will find the basic steps to duplicate, transfer and correctly install a WordPress site on a new hosting provider, ensuring that everything works perfectly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preparing to transfer your WordPress site<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before starting the migration process, it is essential to configure both the site and the destination hosting correctly. If both the source and destination sites use Cpanel, the procedure will be much simpler.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to transfer a WordPress site: complete site backup<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The first thing to do is to make a complete backup of the site<\/strong>. This includes:\u200b<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Site files<\/strong>: themes, plugins, media and configuration files.<\/li>\n\n\n\n<li><strong>Database<\/strong>: containing all content, settings and users.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Use tools such as <strong>phpMyAdmin<\/strong> to export the database and an FTP client (e.g. <strong>FileZilla<\/strong>) to download the site files.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Choosing a migration method<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are two main methods for migrating a WordPress site:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Manual method<\/strong>: requires technical skills to manage files and databases.<\/li>\n\n\n\n<li><strong>Using plugins<\/strong>: simplifies the process, ideal for those who prefer a more guided approach.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Manual WordPress site migration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Manual migration gives you total control over the process, ideal for complex sites or for those who are experienced and prefer not to rely on plugins.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Exporting files and the database<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Download the site files<\/strong>: using an FTP client, access the server and download all the files in the site&#8217;s main directory (usually public_html or home);<\/li>\n\n\n\n<li><strong>Export the database<\/strong>: access <strong>phpMyAdmin<\/strong>, select the site database and use the export function to save an .sql file containing all the tables and data.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring the destination hosting<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Upload the site files<\/strong>: using the FTP client, upload all the files previously downloaded from the old hosting to the main directory of the new hosting;<\/li>\n\n\n\n<li><strong>Import the database<\/strong>: access <strong>phpMyAdmin<\/strong> on the new hosting, create a new database and import the previously exported .sql file;<\/li>\n\n\n\n<li><strong>Edit the wp-config.php file<\/strong>: update the database credentials in the wp-config.php file to reflect the settings of the new server.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Updating URLs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If, in addition to migrating the site, you have also changed the <a href=\"https:\/\/hostingfy.eu\/en\/what-are-domain-extensions-a-complete-guide-2025\/\" data-type=\"post\" data-id=\"1899\">domain <\/a>(site name), you will need to update the URLs within the database. Use tools such as Search Replace DB or run SQL queries to replace the old URLs with the new ones. You can find useful guides online on the queries to run.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Migration with dedicated plugins<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To facilitate the migration process, there are several plugins (including free versions) that automate many of the necessary operations.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Duplicator (free and paid versions)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Duplicator<\/strong> is one of the most popular plugins for migrating WordPress sites.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Installation<\/strong>: install and activate the plugin on the site to be migrated;<\/li>\n\n\n\n<li><strong>Creating the package<\/strong>: use the package creation function to generate an archive containing all the files and the site database;<\/li>\n\n\n\n<li><strong>Downloading the files<\/strong>: download the generated files (installer.php and the .zip archive);<\/li>\n\n\n\n<li><strong>Uploading to the new hosting<\/strong>: upload both files to the main directory of the new hosting;<\/li>\n\n\n\n<li><strong>Run the installer<\/strong>: go to http:\/\/nuovodominio.com\/installer.php and follow the instructions to complete the migration;<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">On very large sites or hosting with limited resources, the free version of Duplicator may not be able to duplicate the site. You will need to use the paid version (which also works very well for creating periodic backups of the site).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Other plugins for duplicating WordPress sites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>All-in-One WP Migration<\/strong>: offers a simple solution for exporting and importing WordPress sites.<\/li>\n\n\n\n<li><strong>UpdraftPlus<\/strong>: in addition to backup, it allows migration between sites.<\/li>\n\n\n\n<li><strong>WP Migrate DB<\/strong>: useful for exporting the database with URL replacement options.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Post-migration verification and configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After completing the migration, it is essential to verify that the site is working correctly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Site check<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Navigation<\/strong>: make sure that all pages are accessible and that links lead to the relevant pages;<\/li>\n\n\n\n<li><strong>Media<\/strong>: check that all images and multimedia files are present and displayed correctly;<\/li>\n\n\n\n<li><strong>Plugins and themes<\/strong>: check that all plugins and themes are active and working;<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Updating permalinks (page addresses)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to the WordPress admin panel, go to <strong>Settings &gt; Permalinks<\/strong> and save the settings to regenerate the URL rewrite rules.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring the hosts file (optional)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To test the site on the new hosting before updating the DNS, edit your computer&#8217;s hosts file to point the domain to the new server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just write a new line in the file where you will first enter the IP address of the new hosting and then, separated by a space, your site&#8217;s domain. This will temporarily \u2018trick\u2019 your browser into going to the new hosting instead of following the path on the old hosting (even if the domain does not yet point to the new hosting).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Updating the domain&#8217;s DNS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have verified that the site is working correctly on the new hosting, it is time to update the domain&#8217;s DNS records.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Modifying DNS records<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Access the domain management panel at the registrar (where you purchased the domain) and update the DNS records to point to the new server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With Hostingfy, if you have purchased a hosting+domain package, we will take care of this for you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">DNS propagation: timing and how it works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After updating the DNS records, a process called <strong>DNS propagation<\/strong> begins, which is the dissemination of the new domain information across the global network of DNS servers.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Propagation times<\/strong>: these can vary from a few hours to <strong>48 hours<\/strong>, depending on the DNS provider and the cache of individual devices or Internet providers or the domain&#8217;s TLD (extension);<\/li>\n\n\n\n<li><strong>How to monitor propagation<\/strong>: you can use free online tools such as <strong>DNS Checker<\/strong> or <strong>Whatsmydns.net<\/strong> to check the status of DNS propagation;<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">During this period:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Some users may still see the old site, while others may already see the new one.<\/li>\n\n\n\n<li>Avoid making any major changes until propagation is complete to avoid having data that is not aligned between the old and new hosting.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Post-migration optimisations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the migration and DNS propagation are complete, it is advisable to perform some optimisations to ensure maximum efficiency of the site on the new hosting.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Database cleaning and security check<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After a migration, it is a good idea to perform a site integrity check:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Database cleaning<\/strong>: use plugins such as <strong>WP-Optimize<\/strong> to delete obsolete data, unnecessary revisions and tables left behind by uninstalled plugins;<\/li>\n\n\n\n<li><strong>Security<\/strong>: install plugins such as <strong>Wordfence<\/strong> or <strong>iThemes Security<\/strong> to protect your site from any vulnerabilities arising from the migration;<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Performance optimisation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Check your site&#8217;s performance on the new server:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Caching<\/strong>: configure a plugin such as <strong>W3 Total Cache<\/strong> or <strong>WP Rocket<\/strong> to speed up page loading and thus improve user experience and SEO performance;<\/li>\n\n\n\n<li><strong>Image compression<\/strong>: tools such as <strong>Smush<\/strong> or <strong>ShortPixel<\/strong> help reduce image size without losing quality, making navigation smoother and more enjoyable;<\/li>\n\n\n\n<li><strong>Check your site with tools such as PageSpeed Insights<\/strong> or <strong>GTmetrix<\/strong>: to identify any bottlenecks in the functioning and loading of pages.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Some tips for a smooth WordPress migration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Transferring a WordPress site can hide unpredictable difficulties. Here are some <strong>professional tips<\/strong> to minimise risks and optimise the process:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>If possible, don&#8217;t delete the site from the old hosting provider<\/strong> immediately: keep the old space active for at least a week after the migration, in case you need any files or emergency backups;<\/li>\n\n\n\n<li><strong>Disable maintenance mode<\/strong> only after testing everything thoroughly;<\/li>\n\n\n\n<li><strong>Check the .htaccess file<\/strong>: sometimes, during migration, it gets overwritten or is missing altogether. Recreate the permalinks and make sure the rules are correct to avoid navigation errors;<\/li>\n\n\n\n<li><strong>Check the server configuration files<\/strong>, such as php.ini and .user.ini, especially if your site uses advanced features such as high memory limits, opcache or large file uploads.<\/li>\n\n\n\n<li><strong>Update any external services<\/strong>: if you use CDNs such as <strong>Cloudflare<\/strong>, make sure you also update the DNS pointing and caches there.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Transferring a WordPress site from one hosting provider to another is a simple operation, but it requires attention, precision and good planning. Whether you choose to do it manually or with a plugin, the important thing is to follow a proven procedure that includes: backup, file and database migration, content verification, DNS update and final testing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With this guide, you have <strong>all the tools you need for a secure WordPress migration<\/strong>, without any site downtime or data loss.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have any doubts, know that here at <a href=\"https:\/\/hostingfy.eu\/en\/\"><strong>Hostingfy<\/strong><\/a>, you don&#8217;t have to worry, because the Hostingfy team will take care of your WordPress site migration, so you can focus on your business.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Transferring a WordPress site from one hosting provider to another may seem like a complex task, but with the right procedure and tools, you can migrate safely and without interruption. In this guide, you will find the basic steps to duplicate, transfer and correctly install a WordPress site on a new hosting provider, ensuring that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1586,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_joinchat":[],"footnotes":""},"categories":[49],"tags":[],"class_list":["post-1933","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/posts\/1933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/comments?post=1933"}],"version-history":[{"count":2,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/posts\/1933\/revisions"}],"predecessor-version":[{"id":1947,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/posts\/1933\/revisions\/1947"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/media\/1586"}],"wp:attachment":[{"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/media?parent=1933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/categories?post=1933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/tags?post=1933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}