Transferring a Blog To A Different Host

7 replies
Hi

Lets just cut to the chase here. Need help and herre are the basics.

I have sold my site/blog. I am giving them the WP login and domain name. We are both on Hostgator and they have said they will charge a fee to transfer it from one account to another.

I have had a search on Google and seen a few ways of doing it but not sure which one, if any, is accurate.

I didnt upload any files using FTP, I just downloaded plugins to desktop and uploaded through WP. There are no uploaded pics or articles.

Can someone point me in the right direction to find some info on how to do the transfer ourselves?

Cheers in advance
#blog #host #transferring
  • Profile picture of the author mattja
    You need to transfer the FTP files and the database table back up.

    FTP files: You can simply use FTP software to download all files within that domain & upload them again into the new hosting A/C.

    Database Table: You can use "Wordpress Backup" plugin to backup it into the zip file. & import it again to the new hosting A/C easily.

    Hope it's help...
    {{ DiscussionBoard.errors[2246739].message }}
  • 1. Download your Wordpress files and directories from the old server through FTP. (For example, if your blog is located at http://www.yourdomain.com/wordpress/, download all the files and directories in /wordpress/ to your computer).

    2. Login to your hosting account's control panel and access phpMyAdmin. Select your Wordpress database (e.g., wrdp1) and click the "Export" tab at the top. Before you export the data, select the "SQL" (under Export) and "Save as file" checkboxes. Save the .sql file to your computer.

    3. Login to the new hosting account's control panel and create a MySQL database with username and password.

    4. Edit the following values in the "wp-config.php" file (file is located in the root of the /wordpress/ directory you downloaded from the old server):

    Code:
    /** The name of the database for WordPress */
    define('DB_NAME', 'INSERT WORDPRESS DATABASE NAME HERE');
    
    /** MySQL database username */
    define('DB_USER', 'INSERT USERNAME HERE');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'INSERT PASSWORD HERE');
    5. Login to phpMyAdmin on the new hosting account and import the .sql file.

    6. Upload the contents of the /wordpress/ directory to the new hosting account's server through FTP.

    Don't hesitate to ask if you have any additional questions.

    Here is a good resource for moving Wordpress sites:
    Moving WordPress WordPress Codex
    {{ DiscussionBoard.errors[2246923].message }}
  • Profile picture of the author CoderPundit
    You can also use the cpanel filemanager to create a zip with all your files. It will be easier and faster to move a single zip file to the other account.
    {{ DiscussionBoard.errors[2247020].message }}
  • Profile picture of the author the_icon
    Thanks for the suggestions. Will let you know how I get on.
    {{ DiscussionBoard.errors[2247055].message }}
    • Profile picture of the author the_icon
      @ chris, my blog IS my domain. so what files you reckon need downloaded? also when i went into file manager i couldnt download. the option was greyed out when i selected files.

      and i also created and downloaded a full website backup. can i use that for anything?

      cheers
      {{ DiscussionBoard.errors[2247478].message }}
  • Profile picture of the author CoderPundit
    Log in to cpanel file manager and select all the files under your domain and choose the zip option and it will create a zip file with all the files.

    Full website backup has all the data from your hosting account, it will contain the necesasry files but its usually used to migrate your account to another server. A full backup can be imported only from WHM so will be difficult.
    {{ DiscussionBoard.errors[2247787].message }}
  • {{ DiscussionBoard.errors[2247886].message }}

Trending Topics