Skip to main content

How to Migrate a WordPress Site Manually



Manual migration comprises of primarily 3 steps, i.e. Take backup of your website files and database on your local computer, transfer them to the destination hosting provider & then update the wp-config.php file. All this can be done via the file manager provided in your hosting control panel or using an FTP client like win-scp or FileZilla.

Step 1. Back up Your WordPress Files and MySQL Database

  1. Connect to your old website server via FTP using win-scp or FileZilla.
  2. Navigate to the public_html folder and select all the files inside it.
  3. Then download them to your local computer.

or

  1. Another way is to open File Manager in your old website control panel, select the files mentioned above and compress them to a zip file. Then download the zip file via the above method.

or

  1. Login to your website server via SSH (how to login can be found out from your hosting provider). Navigate to the public_html folder and use the command “tar -zcvf <filename.tgz> *” without the quotes. It’ll create a gzipped tar file containing all the files in the public_html folder, which you can then download via FTP, as mentioned above.

After the download is finished, it’s time to create a backup of your MySQL database:

  1. Open the phpMyAdmin page from your control panel.
  2. Select the database for the website you’re migrating and press the Export button.
  3. Pick the Quick method to export your entire database, and then choose SQL as the format.
  4. Click Go. Save the exported database backup file to a directory on your local PC.

Step 2.  Upload the backed up files to Your New Host

You may use any FTP client as mentioned in Step 1 above, to upload the backed up WordPress files to the public_html directory of your website, on the new hosting server. If you uploaded a compressed file, then you must uncompress it via file manager after upload.

After this is done, we’ll have to create a new database in the new hosting provider’s control panel and import the database backup:

  1. Open the control panel of your new hosting account and head over to MySQL Databases.
  2. Create a new database and take note of the database name, username, and password.
  3. Head back to Databases -> phpMyAdmin and select your new database.
  4. Click the Import tab at the top of the page.
  5. Select the Choose File button and upload the MySQL backup file that you had downloaded from the old hosting provider.
  6. Leave all settings as they are and hit Go.

Step 3.  Update wp-config.php with Your New Database Details

Next, specify the credentials of your new MySQL database by editing the wp-config.php file in your new hosting account.

  1. Reaccess the public_html folder from File Manager in your new hosting control panel and locate the wp-config.php file.
  2. Edit the file and change these values with your new database details:
    • DB_NAME – database name.
    • DB_USER – database username.
    • DB_PASSWORD – user password.
    • DB_HOST – database hostname (this value is usually localhost, but it may vary depending on your hosting platform).
    • Select Save, then a popup window will appear. Click Yes.

That’s it, folks, if your domain name is already pointing to your website with the new hosting provider and all of the steps above are performed properly, then you should be able to access your website from your new hosting provider now.

Comments

Popular posts from this blog

My Addiction to Technology.

  I keep hearing everyday within my family, my friend circle and everyone else that I meet regularly, about my addiction to tech gadgets. Let’s give it some thought to see how true is that. Oxford dictionary quotes “ The fact or condition of being addicted to a particular substance or activity “. Cambridge dictionary days “ An inability to stop doing our using something, especially something harmful “. Look at the second definition, it also says “something harmful”, which is a very relative thing. Horse riding can be very harmful for some whereas it’s the bread and butter for a jockey or a Polo player. Operating the blast furnace of a steel plant can be extremely dangerous, but it’s the job for the operator. A priest goes to temple everyday and spends most of the day there, is he addicted to it? My father used to go to work everyday, was he addicted too? Nope, they were doing their jobs. Fair enough, then how can anyone call me addicted? Do I waste time chatting with buds on WhatsApp

How are we bringing up our children

I don’t know who has written this message as it was shared by a friend. But it is true to the letter, hence sharing here: What kind of children are we creating??? A few weeks ago, I had attended a birthday party of my daughter’s friend. There they played a game, the age old ‘Passing the parcel’, however, what was different was the way it was played. The child who was caught with the parcel when the music stopped was asked to leave the circle, but with that parcel as the gift, and then a new parcel was introduced. The game continued till every child got a gift. I asked the mother what was wrong with the earlier version, the version we had all grown up with. She said – “I do not like kids to be disappointed. See, here every child is happy as he or she gets to take a gift home.” In another instance, I was in the park with my daughter. She was playing lock and key with her friends. Now, one of her friends fell down. Her mother, who was on the other side of the park ran to his son, all conf

ଦେବର୍ଷି ନାରଦ

ଦେବର୍ଷି ନାରଦ - ଏଇ ନାମ ଟି ଭାରତ ର କୋଣେ ଅନୁକୋଣେ ସମସ୍ତଙ୍କୁ ଜଣା | ଘରେ ପିଲାମାନେ ମାଡ଼ପିଟ ହେଲାବେଳେ ଆମେ କହୁ "ଏଇଟା କଳିହା ନାରଦ" ଟିଏ | କେହି ଜଣେ ଚୁଗୁଲିଆ ପ୍ରକୃତି ର ଲୋକ କୁ ଦେଖି ଦେଲେ ଆମ ପାଟି ରୁ ବାହାରି ପଡେ "ଆରେ କଳିହା ନାରଦ" ଆସିଗଲା | ହେଲେ ଆପଣ ମାନେ ମନେ ପକେଇ କହିଲେ, ଦେବର୍ଷି ନାରଦ କଣ ସତରେ କେଉଁଠି କଳି ଲଗେଇ ଥିଲେ? ସେ ତ ଯେଉଁଠି ଆବିର୍ଭାବ ହୁଅନ୍ତି ସେଠି 'ନାରାୟଣ... ନାରାୟଣ... ନାରାୟଣ' ଶବ୍ଦ ରେ ବାତାବରଣ ପୂରି ଉଠେ | ତାଙ୍କର ଆବିର୍ଭାବ ହୁଏ କୌଣସି ଏକ ଭବିଷ୍ୟ ବାଣୀ କରିବା ପାଇଁ ନଚେତ ସମଗ୍ର ସୃଷ୍ଟି ଉପରେ ମାଡି ଆସୁଥିବା କୌଣସି ବିପତ୍ତି ସମ୍ପର୍କ ରେ ସମସ୍ତଙ୍କୁ ଅବଗତ କରେଇବା ପାଇଁ | ଶିକ୍ଷା, ବ୍ୟାକରଣ, ଆୟୁର୍ବେଦ, ଜ୍ୟୋତିଷ, ବେଦ, ଉପନିଷଦ, ଇତିହାସ, ପୁରାଣ, କବି, ମହାପଣ୍ଡିତ, ସଂଗୀତ ବିଶାରଦ ଏବଂ ଆହୁରି କେତେ କଣ ବିଦ୍ୟା ରେ ସେ ଏକାଧାର ରେ ପାରଙ୍ଗମ ଥିଲେ | ଯେଉଁ ମାନେ ହିନ୍ଦୁ ଧର୍ମ ର ମହତ୍ୱ, ଏବଂ ସେଥିରେ ଥିବା ଦେଵାତ୍ମା ମାନଙ୍କର ମହାନତା କୁ ସହ୍ୟ କରି ପାରନ୍ତି ନାହିଁ, ଏଇ ସବୁ ଗୁଜବ କେବଳ ସେମାନଙ୍କ ଦ୍ୱାରା ପ୍ରଚାରିତ ହୋଇଥାଏ, ହିନ୍ଦୁ ଧର୍ମ ଓ ସଂସ୍କୃତି କୁ ଗୌଣ ଦର୍ଶାଇବା ପାଇଁ | ତେଣୁ ସେସବୁ ଚକ୍ରାନ୍ତ ରେ ପଡନ୍ତୁ ନାହିଁ, ସବୁ ଧର୍ମ ଗ୍ରନ୍ଥ ନିଜେ ହିଁ ପଢନ୍ତୁ, ବୁଝନ୍ତୁ ଏବଂ ପିଲାମାନଙ୍କୁ ବୁଝାନ୍ତୁ, ଆମର ଓ