Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] posts not found after moving WordPress to new server

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #174237
    iamRDM
    Participant

    Hello, I recently moved my WordPress blog to new host.
    But now the posts are not opening, but posts are visible on homepage. When I open its shows 404 page.

    this is How I moved my site:
    – copied wp-content folder in my PC
    – backedup database from phpmyadmin
    – installed wp on new server
    – changed all files of wp-content on new server
    – imported wp database on new server

    Now posts are showing but aren’t opening.
    And I’m also not able to login to admin page -_-

    Kindly help

    #174246
    Senff
    Participant

    Did you just back up the database (from your local install) and imported it on the new server, without changing the database?

    You may want to add these lines to your wp-config.php file (and replace http://www.mysite.com with the url of your live site):

    update_option('siteurl','http://www.mysite.com');
    update_option('home','http://www.mysite.com');
    

    If that fixes things, you can remove those lines again. If not, please share a link to your site so we can investigate more.

    #174247
    iamRDM
    Participant

    @senff actually the problem I moved from godaddy to bluehost. And bluehost uses database like wp_abc_options and godaddy uses wp_options and after Exporting I changed my wp_options and other tables to wp_abc_options and was facing the error.
    But now I just redid this process but instead of renaing the wp_options n other files I renamed the prefix in wp_config file. And my prob was solved.
    BTW Thanks for replying :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.