Rice Blogger

Malaysia Internet Marketing, Blogging Tips, SEO, Make Money Online and Internet Entreprenuer. 2

Moving WordPress to Another Host via SSH

Posted by Adi Wong On March - 22 - 2010

This trick actually works well with most php scripts. There is lots of benefit to this rather than ftp out the file from your old host then ftp back all the files to new host. The better I would suggest is to zip your folder for the particular domain whereby you can use the following command:-

tar -zcvf zipfilename.tar.gz foldername/

ie. You moving a domain at riceblogger.com/. use command: tar -zcvf riceblogger.tar.gz riceblogger.com/

then move the zip file to your new host via ftp. To extract .tar.gz, you use this command



tar -zxvf riceblogger.tar.gz

I had no other choice to expore these command because I have a classifieds that contain few thousands of picture in a folder, with Filezilla, I could only display 2000, and I kept missing pictures. With zipping, I can download and upload much faster.

There is also ways to extract large MySQL via SSH. I will post them later. Since I start learning more SSH for my 9 to 6 job, I found it so useful, and it also helps in my experience as a webmaster/blogger/internet marketer. Not to forget my previous post Upgrading WordPress via SSH, it is still useful when we want to install a new blog, or the automatic upgrade is not working.

ClassiPress Banner 2

Related Posts

Posted in :Blogging Tips

3 Responses to “Moving WordPress to Another Host via SSH”

  1. Kinkazu Jan says:

    Nothing is better than SSH

  2. cyza says:

    Oh this is new to me.
    I just transferred my hosting for the first time and I came across on this… quite confusing…

  3. [...] hope this this will actually make moving your wordpress or your website to another webhosting much easier. AKPC_IDS += [...]

Leave a Reply

About Me

Adi Wong is a Malaysian with a passion in Internet Marketing, Photography, and Programming.