1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How To Move A WordPress Website

Discussion in 'Content Management' started by w11guy, Aug 28, 2012.

  1. #1
    Does anyone have some concise and simple to follow instructions for moving a WP site from one server to another. Same hosting company, but different accounts.
     
    w11guy, Aug 28, 2012 IP
  2. Froomple

    Froomple Well-Known Member

    Messages:
    588
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #2
    and your signature says that you are a wordpress guru, lol :p

    Anyways, to transfer your site, make sure you have the backup of the public_html folder or even a cpanel backup of your home directory.
    Dont forget to backup your databases.
    Download them, upload them to your new server. thats it.
     
    Froomple, Aug 28, 2012 IP
  3. asad.iqbal

    asad.iqbal Greenhorn

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #3
    Will be the same domain name? Just one hosting account to another but same domain name?
     
    asad.iqbal, Aug 29, 2012 IP
  4. w11guy

    w11guy Member

    Messages:
    175
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #4
    Yes, same domain, so just moving to a new hosting account.
     
    w11guy, Aug 29, 2012 IP
  5. asad.iqbal

    asad.iqbal Greenhorn

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #5
    Follow these steps carefully:

    1. Download the database file from phpmyadmin;

    2. Copy all files from old account to new account. Ask your hosting provider to move files from one account to another. If there is no way then download files from old account and then upload to new account via ftp;

    3. Login into your cPanel/hosting control panel, create a database on your new account and import the backup copy of the database file. Make sure to keep the database name as well as your database username and password handy.

    4. Now for a very important part! You must update the wp-config.php file as follows:
    Edit these lines:
    -------------------
    define('DB_NAME', 'yourdatabasename');
    define('DB_USER', 'yourdatabaseusername');
    define('DB_PASSWORD', 'yourdatabasepassword');

    Add the following lines:
    define(’WP_SITEURL’, ‘http://www.yournewdomainname.com’);
    define(’WP_HOME’, ‘http://www.yournewdomainname.com’);

    That's all.

    Most easiest way to tell your hosting provider to merge your multiple account into 1 account, this saves time.
     
    asad.iqbal, Aug 29, 2012 IP
  6. nufox

    nufox Peon

    Messages:
    749
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    nufox, Sep 4, 2012 IP
  7. PrinceofPersia

    PrinceofPersia Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Contact the Support of your Hosting, They can do that for you
     
    PrinceofPersia, Sep 5, 2012 IP
  8. skinhairsurgery123

    skinhairsurgery123 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #8
    I am using 3.4.1. how to fix permalink issue. if i set permalink structure as /%postname%/ then it shows 404 error. please help me to solve this problem. thanks.
     
    skinhairsurgery123, Sep 20, 2012 IP
  9. jibondev

    jibondev Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    tell your hosting provider to do this... they can do it in a minute
     
    jibondev, Sep 22, 2012 IP