{"id":2255,"date":"2020-05-03T22:49:43","date_gmt":"2020-05-04T02:49:43","guid":{"rendered":"http:\/\/newmediaproduction.mynmi.net\/?page_id=2255"},"modified":"2026-10-26T18:23:07","modified_gmt":"2026-10-26T18:23:07","slug":"moving-a-wordpress-site","status":"publish","type":"page","link":"https:\/\/nmi.cool\/webdev\/moving-a-wordpress-site\/","title":{"rendered":"Moving a WordPress site"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1700\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/05\/erda-estremera-sxNt9g77PE0-unsplash-scaled-1.jpg\" alt=\"\" class=\"wp-image-2256\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/erda-estremera-sxNt9g77PE0-unsplash-scaled-1.jpg 2560w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/erda-estremera-sxNt9g77PE0-unsplash-scaled-1-300x199.jpg 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/erda-estremera-sxNt9g77PE0-unsplash-scaled-1-1024x680.jpg 1024w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/erda-estremera-sxNt9g77PE0-unsplash-scaled-1-768x510.jpg 768w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/erda-estremera-sxNt9g77PE0-unsplash-scaled-1-1536x1020.jpg 1536w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/erda-estremera-sxNt9g77PE0-unsplash-scaled-1-2048x1360.jpg 2048w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><figcaption class=\"wp-element-caption\">Photo by <a href=\"https:\/\/unsplash.com\/photos\/sxNt9g77PE0\">Edra Estremera<\/a><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As we&#8217;ve discussed before, WordPress <a href=\"https:\/\/nmi.cool\/webdev\/intro-to-wordpress\/\">is different<\/a> from the other approaches to building websites we&#8217;ve learned this semester. So, not surprisingly, moving a WordPress site is different, too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Read on to learn how to move a WordPress installation from one server to another server AND how to move an install around on your own server!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">On serve(r)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, it&#8217;s super important to remember that a WordPress site consists of files and a database, both of which are stored on your server. Unlike the static websites we&#8217;ve built this semester, WordPress also stores information about your site&#8217;s location in its database. That means that you need to be very cautious when doing anything having to do with moving or renaming WordPress.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If something goes wrong during a move, you&#8217;ll need a backup to recover your work. Your hosting provider may have automatic backups available, but those aren&#8217;t guaranteed to contain your most recent changes.<\/strong><a href=\"#footnote-1-2255\" id=\"note-1-2255\" rel=\"footnote\">1<\/a><strong>Make absolutely certain you&#8217;ve selected the original installation, not your new clone, and that you have a current backup before proceeding. <\/strong>Also, review the uninstall options carefully to confirm exactly what will be removed.<\/p>\n\n\n\n<h2 id=\"migration\" class=\"wp-block-heading\">Moving to another server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">What if you want to move your WordPress site to a different server?<a href=\"#footnote-2-2255\" id=\"note-2-2255\" rel=\"footnote\">2<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are many ways to do this, but the following has worked reliably for us.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">All-in-One WP Migration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">On your source install (likely on your own server), install and activate the <a href=\"https:\/\/wordpress.org\/plugins\/all-in-one-wp-migration\/\">All-in-One WP Migration and Backup plugin<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"906\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2026\/10\/Screenshot-2026-10-26-at-1.22.26-PM.png\" alt=\"\" class=\"wp-image-6753\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2026\/10\/Screenshot-2026-10-26-at-1.22.26-PM.png 984w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2026\/10\/Screenshot-2026-10-26-at-1.22.26-PM-300x276.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2026\/10\/Screenshot-2026-10-26-at-1.22.26-PM-768x707.png 768w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><figcaption class=\"wp-element-caption\">We are looking for this plugin by ServMask. <\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once activated, click on &#8220;All-in-One WP Migration and Backup&#8221; in the WordPress sidebar. Then, choose Export To > &#8220;File&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1918\" height=\"1500\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.41.47-PM.png\" alt=\"All-in-One WP Migration screenshot\" class=\"wp-image-2263\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.41.47-PM.png 1918w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.41.47-PM-300x235.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.41.47-PM-1024x801.png 1024w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.41.47-PM-768x601.png 768w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.41.47-PM-1536x1201.png 1536w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on the size of your site, you&#8217;ll likely have to wait a bit. Then, click the annoying bouncing download button:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2102\" height=\"1500\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.43.45-PM.png\" alt=\"All-in-One WP Migration screenshot\" class=\"wp-image-2264\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.43.45-PM.png 2102w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.43.45-PM-300x214.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.43.45-PM-1024x731.png 1024w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.43.45-PM-768x548.png 768w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.43.45-PM-1536x1096.png 1536w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.43.45-PM-2048x1461.png 2048w\" sizes=\"auto, (max-width: 2102px) 100vw, 2102px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Having trouble downloading your backup? If the download button doesn&#8217;t work, try another browser or an incognito window. You can also retrieve your <code>.wpress<\/code> file directly from your hosting account&#8217;s File Manager.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, on your destination server (your client&#8217;s new site), create a new WordPress install. Don&#8217;t worry too much about its configuration, as that will shortly be overwritten.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Still on your destination server, install the All-in-One WP Migration plugin again. Next, click on &#8220;All-in-One WP Migration&#8221; in the WordPress sidebar. Choose Import From > &#8220;File&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2102\" height=\"1500\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-10.47.08-PM.png\" alt=\"All-in-One WP Migration import screenshot\" class=\"wp-image-2265\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-10.47.08-PM.png 2102w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-10.47.08-PM-300x214.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-10.47.08-PM-1024x731.png 1024w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-10.47.08-PM-768x548.png 768w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-10.47.08-PM-1536x1096.png 1536w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-10.47.08-PM-2048x1461.png 2048w\" sizes=\"auto, (max-width: 2102px) 100vw, 2102px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Select the file you just downloaded from your source install, and follow the on-screen steps. To log in to your newly-migrated install on your destination server, you&#8217;ll need to use the same WordPress username and password as on your source server.<\/p>\n<div class=\"footnotes\"><hr \/><ol><li id=\"footnote-1-2255\" class=\"footnote\"><p>In a few isolated cases, there are other paths to recovery, but don&#8217;t count on them.[footnote]<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Before you move anything: Back it up!<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before attempting either of the methods below, create a fresh backup of your WordPress site and download it to your computer. You can follow the instructions in <a href=\"https:\/\/nmi.cool\/webdev\/backing-up-wordpress\/\">Backing Up a WordPress site<\/a>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is especially important if you&#8217;ve spent a significant amount of time building your site. You don&#8217;t want to discover that your only backup is several days old after something goes wrong!<\/p>\n\n\n\n<h2 id=\"moving\" class=\"wp-block-heading\">Moving on your own server<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Don&#8217;t just drag and drop!<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With Project 1 and Project 2 (and really, any site made only of static files), you could just move project folders around at will. With WordPress, which depends on a precisely structured set of files linked to a database, not so much.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, rule number one: <strong>if you want to move (or rename) your WordPress install on your own server, don&#8217;t just drag and drop.<\/strong> What should you do instead? <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Clone yourself<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you need to move a WordPress installation to a different directory on the same Reclaim Hosting account, Installatron&#8217;s Clone feature provides a relatively straightforward solution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cloning creates a second copy of your WordPress installation in a new location. It doesn&#8217;t automatically delete or move the original, which is actually a good thing! You can check that the new installation works before removing the old one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s look at how to do that. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Log into cPanel, and click on the WordPress icon<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.25.26-PM.png\" alt=\"cPanel screenshot showing WordPress icon\" class=\"wp-image-2258\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then, click &#8220;My Applications&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.25.34-PM.png\" alt=\"Installation screenshot\" class=\"wp-image-2259\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then, click Clone, being sure to use the set of icons on the same horizontal line as the install you want to clone:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-5.25.47-PM.png\" alt=\"Installatron screenshot showing clone icon\" class=\"wp-image-2260\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">On the next screen, you&#8217;ll see a bunch of options, but the most important setting to change is the destination directory. Make sure you enter the new location where you want your WordPress site to live.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if your original WordPress installation lives at:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>yoursite.com\/webdev\/wordpress<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And you want it to live at:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>yoursite.com\/webdev\/project-three<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ll need to specify the appropriate destination directory in Installatron.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Double-check that the destination directory doesn&#8217;t already contain files or another WordPress install that you want to keep. Installatron may refuse to clone your site into a directory that already contains files. And if existing files are overwritten or mixed with your cloned WordPress installation, you could end up with a broken site or lose work. The safest approach is to choose an empty directory for your clone.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/05\/Screen-Shot-2020-05-03-at-17.26.11.png\" alt=\"\" class=\"wp-image-2261\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then, click &#8220;Clone&#8221;, wait a minute, and you&#8217;ll be off to the races. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your login credentials for your cloned install will be the same as your original installation, except you&#8217;ll now login at <code>yoursite.com\/new-location\/wp-admin<\/code> instead of <code>your site.com\/original-location\/wp-admin<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Remember that you now have two separate WordPress installations. Changes you make to one won&#8217;t automatically appear on the other.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Verify your clone before deleting anything<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you&#8217;ve logged into your cloned site, make sure everything looks and functions as expected. Check your pages, images, navigation, plugins, and theme. You should also test the new URL in a private or incognito browser window to make sure it works for visitors who aren&#8217;t logged in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If everything looks good, you can decide whether to keep the original installation or delete it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After logging into the new install and verifying that everything is as it should be (and it should, unless you have some complex plugins that require you to specify specific URLs), you can delete your original install. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Deleting a WordPress Installation <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">But don&#8217;t just open your FTP client and delete the WordPress files! Remember, WordPress consists of both files and a database. Deleting the files through FTP won&#8217;t remove the database, leaving behind an incomplete installation and potentially confusing Installatron&#8217;s records.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instead, return to Installatron in cPanel and use its Uninstall feature to remove the original installation. This allows Installatron to clean up the files, database, and installation records together.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Be extremely careful, though! The UI for doing this can be a bit confusing, so quadruple-check everything before clicking delete. [footnote]The main source of confusion? The &#8220;Delete&#8221; button, as with the &#8220;Clone&#8221; button, maps to the install that&#8217;s on the same horizontal line as the install name, but if you have multiple installs, it can look like the button to delete something is beneath that install&#8217;s details, and you can easily accidentally delete a different install.<a href=\"#note-1-2255\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-1.footnote--><li id=\"footnote-2-2255\" class=\"footnote\"><p>This most often happens in this course if you&#8217;re building a site for a friend or family member for your final project, but they haven&#8217;t yet purchased a domain (and so you go ahead and start building on your own server.<a href=\"#note-2-2255\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-2.footnote--><\/ol><\/div><!--\/#footnotes-->","protected":false},"excerpt":{"rendered":"<p>As we&#8217;ve discussed before, WordPress is different from the other approaches to building websites we&#8217;ve learned this semester. So, not surprisingly, moving a WordPress site is different, too. Read on to learn how to move a WordPress installation from one server to another server AND how to move an install around on your own server! [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2255","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/pages\/2255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/comments?post=2255"}],"version-history":[{"count":6,"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/pages\/2255\/revisions"}],"predecessor-version":[{"id":6760,"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/pages\/2255\/revisions\/6760"}],"wp:attachment":[{"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/media?parent=2255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}