Transferring wordpress sites to another host - Need help

Discussion in 'Site & Server Administration' started by glitto, Apr 16, 2009.

  1. #1
    I am transferring my wordpress site to another host and I followed this tutorial

    Everything went perfect and I did follow the steps carefully. I created the database and in wp-config.php file I wrote the database name, database username and password correctly but it is not working.

    See here

    http://gator804.hostgator.com/~jani325/

    The template of my site is appearing and all static pages are also there, but it is not getting the posts from database :(

    I need help to fix it. Please guide me what could be the possible reason of it.
     
    glitto, Apr 16, 2009 IP
    jhn2001 likes this.
  2. pj1s

    pj1s Active Member

    Messages:
    337
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Why don't you just use the export/import function available in Wordpress.
    Easy.
     
    pj1s, Apr 16, 2009 IP
  3. pj1s

    pj1s Active Member

    Messages:
    337
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Looking at the link you gave - there is probably some problem with the 'reading -> permalink' settings...

    Have you setup a .htaccess file?
     
    pj1s, Apr 16, 2009 IP
  4. glitto

    glitto Notable Member

    Messages:
    2,839
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    205
    #4
    No I haven't done anything to .htaccess file. It was not mentioned in that tutorial, that's why.

    I just copied the .htaccess file from previous host and pasted to new server.
     
    glitto, Apr 16, 2009 IP
  5. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #5
    I think you are getting 404 error because you are accessing your blog using temporary URL. I also get 404 error on my wordpress blog if I access it using temporary URL. But it works fine with actual URL.

    If you have successfully transferred your web contents and database then your blog should work fine once you change DNS.

    Kailash
     
    kailash, Apr 17, 2009 IP
  6. bentink

    bentink Peon

    Messages:
    1,028
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Did you try to take a complete cPanel backup and then restore it? That is the best way I think
     
    bentink, Apr 17, 2009 IP
  7. glitto

    glitto Notable Member

    Messages:
    2,839
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    205
    #7
    I contacted hostgator and they said the same thing which Kailash said, I was using the temporary URL that's why the content was not showing.

    Now the issue is solved :)
     
    glitto, Apr 18, 2009 IP
  8. saecreative

    saecreative Banned

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i agree with kailash.

    you have try to access it using true url?
     
    saecreative, Apr 23, 2009 IP
  9. .SR

    .SR Well-Known Member

    Messages:
    1,089
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    140
    #9
    Glitto, did you solve your problem? When I click the above URL, it shows me the following error:

    Not Found

    Sorry, but you are looking for something that isn't here.

    .SR
     
    .SR, Apr 28, 2009 IP
  10. glitto

    glitto Notable Member

    Messages:
    2,839
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    205
    #10
    glitto, Apr 28, 2009 IP
  11. .SR

    .SR Well-Known Member

    Messages:
    1,089
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    140
    #11
    .SR, Apr 28, 2009 IP
  12. ifreakz

    ifreakz Well-Known Member

    Messages:
    1,427
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #12
    Best way is to import the xml file from your wordpress backend/Admin panel > Tools
    and then import it on your new admin panel..

    Could you kindly tell me how to restore a FULL BACKUP? i mean not the home directory, SQL and all individually, Suppose i have taken a FULL backup of Home dir, domains, SQL, Mails etc.. How do i restore the whole thing at a go?
     
    ifreakz, Apr 29, 2009 IP