Once again, I learned the hard way what it means to do things on your own when you are not quite familiar with the process.
I first built and registered my website with WordPress, but then I changed my hosting sites to iPage.
The people at iPage were very kind and helped me along the way, however, they only did exactly what they were supposed to do – answer my questions.
Once I successfully changed name servers and downloaded WordPress onto my new hosting site, I asked iPage what else I had to do to get my site up and running again.
The nice guy from the iPage chat room said, “Upload your files and you’re good to go.”
My heart skipped a beat, and my fingers stopped in mid-air, hovering above the keyboard. “Umm… what files?” I asked.
“Your content file from your old host.”
Okay, half-excited that I only had one more step to the finish line, half-embarrassed because I had absolutely no idea what he just said, I thanked him and thought, easy peasy. I’ll just do what I always do – ask Google.
I did. And I found out that I should’ve saved my files before the idea of switching hosts even took root in my head.
Long story short, after an entire day of scouring the Net for advice, I finally was able to retrieve my files and successfully upload them onto my new site.
So I thought I’d share this with you, in case there are others out there like me who “work in the dark.”
The following article is the right way to do.
Step 1: Backup Your WordPress Database Using phpMyAdmin
Before transferring your WordPress blog, it is recommended that you make a backup of your database using phpMyAdmin. Once you have successfully logged into phpMyAdmin:
Click on the name of the database which contains your WordPress blog.
Click Export in the top navigation menu.
Select the Quick option listed under the Export Method section.
Leave the selection in the format section as SQL .
Once completed, there will be a prompt to save the file. Simply click on Save as File; this will download a file named wordpress.sql to your desktop.
You have now successfully backed up your database.
Step 2: Download/Upload All WordPress Files Using FTP
You will need to download ALL your files from your old host and upload them to your new host. This includes files from your themes folder and plugins folder. Make sure you also download any folders which were referenced outside of your blog’s folder.
For example, if you are using a separate folder called images, located outside of the blog’s folder, the images must be copied and uploaded to the new hosting location; otherwise, the site will contain a lot of broken links to images within the blog post.
Filezilla is the recommended FTP client. By default, Filezilla does not display the .htaccess file, for security reasons.
To ensure that your .htaccess file is included in the download, you must click on View and then select Show Hidden Files. If you neglect to upload your .htaccess file, your permalinks will not work.
Note: You should not update to a newer version of WordPress at this time as your database may not sync correctly. Complete the WordPress migration before you consider upgrading the version.
For step 3 and 4 visit the link above.