What's the easiest way to MOVE a Wordpress site??

46 replies
  • WEB DESIGN
  • |
Hi guys,

Let's say we build a Wordpress site on abcd.com.

Now we want to move the entire site to wxyz.com.

What's the best and easiest way to do this?

Thanks!
#easiest #move #site #wordpress
  • Profile picture of the author mywebwork
    Here is what you do to move it:

    (A) Make a copy:

    1 - Copy all of the files using your FTP or SFTP client. Another quick way of doing this is to use your File Manager (if you have a CPanel or similar control panel) and compress the whole HTML root directory into a Zip or TAR file, then download it.

    2 - Make a backup of the MySQL database associated with the site, download it as a .sql file

    Now to move it to another site:

    1 - Restore the copied files to the HTML root of the new site. Again either use FTP/SFTP or use the File Manager and extract the archive file you made in the first step.

    2- Create a new MySQL database and database user, give the user sufficient permission on the database. Make note of the database name, user name and password.

    3 - Make a copy of the .sql file you made earlier. Now open this copy in a good text editor like PS Pad, BlueFish or Notepad++.

    4 - Do a "search and replace", replacing all instances of "abcd.com" with "wxyz.com" - in other words change all your domain name references. Save the file.

    5 - Import the file you just saved into your new MySQL database.

    6 - On the new site edit the wp-config.php file to adjust the database name, username and password to match the new one.


    And that's all there is to it!


    Bill
    {{ DiscussionBoard.errors[4519741].message }}
    • Profile picture of the author sg
      I was about to reply to this thread, but Bill beat me to the punch! If you follow his exact instructions, you shouldn't have any problems moving the site. Keep in mind you're most likely exporting/importing the database via phpMyAdmin.
      {{ DiscussionBoard.errors[4519793].message }}
    • Originally Posted by mywebwork View Post

      Here is what you do to move it:

      (A) Make a copy:

      1 - Copy all of the files using your FTP or SFTP client. Another quick way of doing this is to use your File Manager (if you have a CPanel or similar control panel) and compress the whole HTML root directory into a Zip or TAR file, then download it.

      2 - Make a backup of the MySQL database associated with the site, download it as a .sql file

      Now to move it to another site:

      1 - Restore the copied files to the HTML root of the new site. Again either use FTP/SFTP or use the File Manager and extract the archive file you made in the first step.

      2- Create a new MySQL database and database user, give the user sufficient permission on the database. Make note of the database name, user name and password.

      3 - Make a copy of the .sql file you made earlier. Now open this copy in a good text editor like PS Pad, BlueFish or Notepad++.

      4 - Do a "search and replace", replacing all instances of "abcd.com" with "wxyz.com" - in other words change all your domain name references. Save the file.

      5 - Import the file you just saved into your new MySQL database.

      6 - On the new site edit the wp-config.php file to adjust the database name, username and password to match the new one.


      And that's all there is to it!


      Bill
      You havent left anything more to say. Really appreciated.
      Signature
      {{ DiscussionBoard.errors[6360798].message }}
  • Profile picture of the author SoundsGood
    Wow, I very much appreciate the detailed reply (thank you!) but eek!

    Is that really the easiest way ??
    {{ DiscussionBoard.errors[4519797].message }}
    • Profile picture of the author sg
      Originally Posted by SoundsGood View Post

      Wow, I very much appreciate the detailed reply (thank you!) but eek!

      Is that really the easiest way ??
      It's really not that hard, he just replied with very detailed steps on how to do this.

      All you need to do is copy the files and export the database from Server A.

      From there, you upload the same files to Server B. He outlined how to update the SQL database via Notepad (or any text editor) to avoid doing so with phpMyAdmin, which is then imported on Server B as well. That's pretty much just updating any instances of olddomain.com or /old/path/from/server/a/ in the database so the site properly functions on the new domain and server.

      It's really not that hard at all, give it a try!
      {{ DiscussionBoard.errors[4519879].message }}
      • Profile picture of the author dgmac
        Warrior, Jason Fladlien has an easy to use solution that's called WP Twin...he claims it can be done in under 57 seconds.

        Go here to check it out: Wp Twin (Not an Affiiate Link)

        There is a one time $97 price tag though...well worth it if you plan to clone or move sites!

        Hope this helps, Doug :-)
        {{ DiscussionBoard.errors[4520242].message }}
        • Profile picture of the author SoundsGood
          Originally Posted by dgmac View Post

          ...an easy to use solution that's called WP Twin...he claims it can be done in under 57 seconds.
          That certainly does sound easier...

          Thanks!
          {{ DiscussionBoard.errors[4520325].message }}
          • Profile picture of the author sg
            Originally Posted by SoundsGood View Post

            That certainly does sound easier...

            Thanks!
            For $97 I could hardly see that being worth it. You could probably hire someone off this forum to move it for you for less than $20. I've been able to move WordPress websites manually (pretty much using the same steps as above) in about 5 minutes. Unless you have a plethora of sites to move to make the $97 worthwhile, I'd highly advise against a paid option.
            {{ DiscussionBoard.errors[4520346].message }}
            • Profile picture of the author swiminsoda
              Originally Posted by sg View Post

              For $97 I could hardly see that being worth it. You could probably hire someone off this forum to move it for you for less than $20. I've been able to move WordPress websites manually (pretty much using the same steps as above) in about 5 minutes. Unless you have a plethora of sites to move to make the $97 worthwhile, I'd highly advise against a paid option.
              Fiverr is $5 to migrate/ clone 1 wp blog.
              {{ DiscussionBoard.errors[4586345].message }}
            • Profile picture of the author bmcgoff
              So this manual method moves all plugins and their settings as well as content/comments/images/etc.?

              If I try it and mess up can I break the current site?
              Signature

              Are you a man under 5'8" tall? Might want to read this.

              {{ DiscussionBoard.errors[5373334].message }}
              • Profile picture of the author AllanJames
                Originally Posted by bmcgoff View Post

                So this manual method moves all plugins and their settings as well as content/comments/images/etc.?

                If I try it and mess up can I break the current site?
                You bet you can. Why not make it easy and safer for yourself and get Backup Creator as I suggested. I've restored (and moved sites) with it no trouble at all.
                Signature
                50% Sales Conversions?? YES!, check my blog.
                {{ DiscussionBoard.errors[5374001].message }}
                • Profile picture of the author Kiyi
                  Originally Posted by AllanJames View Post

                  You bet you can. Why not make it easy and safer for yourself and get Backup Creator as I suggested. I've restored (and moved sites) with it no trouble at all.

                  Backup Creator doesn't work for most people. It depends on how much you paid for the plugin whether you get support.
                  {{ DiscussionBoard.errors[5501571].message }}
                  • Profile picture of the author AllanJames
                    Originally Posted by Kiyi View Post

                    Backup Creator doesn't work for most people. It depends on how much you paid for the plugin whether you get support.
                    'most'??

                    In the early days of it's release, like most new software, some people had problems on some hosts, but support quickly go on top of that and shot out updates.

                    As for 'how much you paid for it' - are you serious? It sounds to me like you where, for whatever reason, one of the few that was disappointed and are now putting the boot in.

                    I initially purchased the least expensive option, had a issue due mainly to my own misunderstanding of it, and had no problem at all in getting support to work on it and solve my problem. And none of my affiliates who purchased it have reported any problems. Today there are over 15,000 sites protected by it and I haven't heard any uproar of dissatisfaction. So......??

                    Today I wouldn't be without it for backup, cloning or moving.
                    Signature
                    50% Sales Conversions?? YES!, check my blog.
                    {{ DiscussionBoard.errors[5501696].message }}
      • Profile picture of the author FBueller
        I just tried it via copying files to new server and exporting/importing database with phpmyadmin...It didn't work and i don't know why. I contacted my hosting co...site5 and they told me that sometimes it "gliches" Oh well. I'll try it with the above instructions again.
        {{ DiscussionBoard.errors[4597221].message }}
        • Profile picture of the author iuditg
          Originally Posted by FBueller View Post

          I just tried it via copying files to new server and exporting/importing database with phpmyadmin...It didn't work and i don't know why. I contacted my hosting co...site5 and they told me that sometimes it "gliches" Oh well. I'll try it with the above instructions again.
          Make sure you updated your wp-config file with your new database details
          {{ DiscussionBoard.errors[4598137].message }}
          • Profile picture of the author FBueller
            Originally Posted by iuditg View Post

            Make sure you updated your wp-config file with your new database details
            I didn't do that. Do I go into this with a text editor? What are the new database details? What should change on the wp-config file???
            {{ DiscussionBoard.errors[4604011].message }}
    • Originally Posted by SoundsGood View Post

      Wow, I very much appreciate the detailed reply (thank you!) but eek!

      Is that really the easiest way ??
      If you told that the steps are not easy then you should hire a professional too do this job.
      Signature
      Cheap Reseller web hostingAdword coupon code ● SSL certificate
      Cheap shared hosting cPanel® ● Instant Setup ● 99.9% uptime
      24X7 Live support ● 5 minute response guarantee ● skypee call support
      Dreamy Hosting LLC is the best reseller web hosting provider
      {{ DiscussionBoard.errors[4521324].message }}
  • Profile picture of the author Patrick
    In addition to the above, you will also need to change the path of the wordpress directory...from the old host to the new host, or else some plugins might not work.

    And yes, this is the "easiest" way to move.
    {{ DiscussionBoard.errors[4519808].message }}
  • Profile picture of the author Steve Diamond
    Actually, the easiest way by far is to use BackupBuddy (not an affiliate link). You can migrate a site with a few clicks. Not free, but worth the price if your time is valuable.

    Steve
    Signature
    Mindfulness training & coaching online
    Reduce stress | Stay focused | Keep positive and balanced
    {{ DiscussionBoard.errors[4519833].message }}
    • Profile picture of the author AllanJames
      Originally Posted by Steve Diamond View Post

      Actually, the easiest way by far is to use BackupBuddy (not an affiliate link). You can migrate a site with a few clicks. Not free, but worth the price if your time is valuable.

      Steve
      And a recent WSO - still valid I think - offers a plugin that will backup/move a site. It's called Backup Creator - $7 it cost me.
      Signature
      50% Sales Conversions?? YES!, check my blog.
      {{ DiscussionBoard.errors[4600219].message }}
  • Profile picture of the author SoundsGood
    Okay, thanks guys!
    {{ DiscussionBoard.errors[4520232].message }}
  • Profile picture of the author SoundsGood
    Yeah, I hear ya. Thanks...
    {{ DiscussionBoard.errors[4520833].message }}
  • Profile picture of the author Hakem
    PM me, Would do it for a testimonial, I am launching a service for something similar to this for wordpress
    {{ DiscussionBoard.errors[4521308].message }}
  • Profile picture of the author Hakem
    Got your PM, Can't reply there, so I will reply here, it is a service about doing some wordpress stuff, it is about wordpress only. if you want some examples of wordpress sites I made just tell me in PM or give me a contact method
    {{ DiscussionBoard.errors[4521358].message }}
  • Profile picture of the author Aaarrrggghhh
    Originally Posted by SoundsGood View Post

    Hi guys,
    What's the best and easiest way to do this?
    Thanks!
    I agree that BackupBuddy is the EASIEST way but there are also free WordPress plugins that will do most of this as well.

    For me personally BackupBuddy is a HUGE time saver simply because of the volume of sites that need to be transferred to new domains or subdomains. Makes the process super simple and saves loads of time.

    However, it is always a good idea that you also know how to do this manually in case you ever need to. Also, if a glitch does happen, you can easily figure it out. Usually when I encounter a 'glitch' it is because I didn't change the information in the wp-config file or the htaccess file can also cause problems.

    Hope this helps, Leah
    Signature
    "What Can The Source Publishing Do For My Business?"
    We Grow Your Business On-Line
    >> TheSourcePublishing.com <<

    {{ DiscussionBoard.errors[4598893].message }}
  • Profile picture of the author Alexdoerr
    Your host should do this for free of cost. It is not a big deal to move the WP site from one domain to other.
    {{ DiscussionBoard.errors[4600473].message }}
  • Profile picture of the author stephaniek
    Hi Fellow Austinite

    Yes, you can jsut edit it in notepad.

    The Database name, database username and password are the values you change here.

    Nine times out of ten, localhost will stay localhost. Your new host will tell you if it needs to be something else.

    I'd keep a copy with your original settings too, just in case.


    / ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'putyourdbnamehere');

    /** MySQL database username */
    define('DB_USER', 'usernamehere');

    /** MySQL database password */
    define('DB_PASSWORD', 'yourpasswordhere');

    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    Signature

    Woman: How much do I owe you for the sketch?
    Picasso: 5000 francs.
    Woman: But it only took you 5 minutes!
    Picasso: No madam, it took me all my life.

    {{ DiscussionBoard.errors[4605468].message }}
  • Profile picture of the author stephaniek
    Apparently I'm unable to PM because I have less than 50 posts. If I upgrade to War Room then I should be able to PM right?
    Signature

    Woman: How much do I owe you for the sketch?
    Picasso: 5000 francs.
    Woman: But it only took you 5 minutes!
    Picasso: No madam, it took me all my life.

    {{ DiscussionBoard.errors[4608658].message }}
    • Profile picture of the author FBueller
      Hi Stephanie...

      Yes you can pm if you upgrade. Also, i think, when you've don 50 replies on the board.
      {{ DiscussionBoard.errors[4620046].message }}
  • Profile picture of the author KathyK
    Just a note: if you are moving from a cpanel to a cpanel site, you can usually ask your new hosts to move it for you, give them your old user/pass and... whoosh... it's done.
    Signature

    Cheers,
    Kathy

    {{ DiscussionBoard.errors[5380702].message }}
    • Profile picture of the author bmcgoff
      Originally Posted by KathyK View Post

      Just a note: if you are moving from a cpanel to a cpanel site, you can usually ask your new hosts to move it for you, give them your old user/pass and... whoosh... it's done.
      Which host do you use? I'm on Bluehost but haven't heard of this feature. That would be nice...
      Signature

      Are you a man under 5'8" tall? Might want to read this.

      {{ DiscussionBoard.errors[5385638].message }}
  • Profile picture of the author ruoall
    I have to agree... BackupBuddy is an absolute must!!

    I use it on all my sites and it works a charm!
    {{ DiscussionBoard.errors[5382770].message }}
  • Profile picture of the author infinitewp
    If you use cPanel you could actually take a cPanel backup and then restore it completely Or you gotto follow what Bill said.
    {{ DiscussionBoard.errors[5388421].message }}
  • Profile picture of the author bmcgoff
    Just finished my site move....thanks for the tips here, really helped me out!
    Signature

    Are you a man under 5'8" tall? Might want to read this.

    {{ DiscussionBoard.errors[5441936].message }}
  • Profile picture of the author retroid
    You should check out ManageWP.com

    You can move your site easily with just few clicks, manage bunch of your site from one location, and some other stuff... plus it's still free I believe.
    {{ DiscussionBoard.errors[5442263].message }}
  • Profile picture of the author mojojuju
    The easiest way to move a Wordpress site:

    • Shutdown the server and then unplug it.
    • Pack the server in a box. Make sure to use lots of packing peanuts.
    • Have the box with the server shipped to the new location. I use UPS.
    • At the new location, unpack the box, plug in the server, and power it on.
    • Modify DNS settings.
    That's all you have to do.
    Signature

    :)

    {{ DiscussionBoard.errors[5442954].message }}
    • Profile picture of the author SoundsGood
      Originally Posted by mojojuju View Post

      The easiest way to move a Wordpress site:
      • Shutdown the server and then unplug it.
      • Pack the server in a box. Make sure to use lots of packing peanuts.
      • Have the box with the server shipped to the new location. I use UPS.
      • At the new location, unpack the box, plug in the server, and power it on.
      • Modify DNS settings.
      That's all you have to do.
      This is awesome. Thank you! But do we have to use UPS ??
      {{ DiscussionBoard.errors[5501605].message }}
  • Profile picture of the author bmcgoff
    I can't tell if you're being sarcastic...
    Signature

    Are you a man under 5'8" tall? Might want to read this.

    {{ DiscussionBoard.errors[5451462].message }}
    • Profile picture of the author Istvan Horvath
      Originally Posted by bmcgoff View Post

      I can't tell if you're being sarcastic...
      I can

      .
      .
      .
      .
      Signature

      {{ DiscussionBoard.errors[5451473].message }}
  • Profile picture of the author nightshade877
    Banned
    lookup movebuddy. Many posts here about it.
    {{ DiscussionBoard.errors[5575763].message }}
    • Profile picture of the author andreabeadle
      I know this thread is a little old now but I just wanted to say thanks.
      I had a Wordpress website that I had created on a test domain and wanted to move to a new one which had an old website on it. I was a little nervous about the transfer because someone had said it was not easy for a beginner. (I'm not a Wordpress beginner just a migration beginner!)

      I signed up for the 30 day free trial with managewp.com as recommended above and I can't believe how easy it was to move.

      I deleted the old site. Installed Wordpress with Fantastico and within literally 1 minute the new site was up - exactly as it should look on the new domain.

      I am ecstatic AND I have found a new toy to play with because I love managewp.com!! I can now use it to update all the sites I manage quickly and easily.

      Brilliant!! Thank you!
      {{ DiscussionBoard.errors[6356791].message }}
  • Profile picture of the author dazzvision
    I usually use backupbuddy. This plugin does great.
    {{ DiscussionBoard.errors[6357740].message }}
  • Profile picture of the author josefilo
    HI Soundsgood,

    did you see this thread : http://www.warriorforum.com/warriors...er-server.html

    just PM me.

    thanks
    {{ DiscussionBoard.errors[6360818].message }}
  • Profile picture of the author keithotzkie
    I was about to reply for help but I guess these guys have already helped you out..
    haha.. Anyways.. Im just new to wordpress myself so I still lack some info about it..
    {{ DiscussionBoard.errors[6360898].message }}
  • Profile picture of the author AllenMack
    WOWWWW :O so many answers with no easy solution ... :|
    Man!! i hate to work JUST install Backupbuddy or duplicator plugin then just click on backup button and you are done it will take your files and database backup then 2nd thing what you need to do is access your hosting & place backup files there... let me actually break it down a little
    It will give you 2 files most probably one will be your backup zip 2nd installer.php

    now do the below steps:

    www.YourWebsite.com / installer.php

    rest you will understand once you will reach on that installer page everything is already written there.
    {{ DiscussionBoard.errors[10714769].message }}
  • Profile picture of the author 3wCorner
    In your control panel, head voer to your file manager, then go to your public_html file folder. Backup a copy on your site at abcd.com. Back a copy of its database also.

    Create a folder for wxyz.com and paste all the backup files into it. Create a new database, user and password. Restore your db and change your wpconfig.php file with your new database name, user and password. Install a search and replace plugin and replace abcd.com with wxyz.com.

    Or if you are transferring to a different web host, just take advantage on the free site transfer service of your new web host.
    {{ DiscussionBoard.errors[10715577].message }}

Trending Topics