• I’m helping a friend move hosts – I’ve backed up their files and DBs, and moved them to the new host. I’ve changed the wp-config.php so that it has the right details for the databases. The blog appears, but it shows ‘No Posts Found’ for all of the categories:

    http://74.52.133.50/~dcberkel/

    I haven’t switched the DNS over yet, and when I try to go into the admin panel to turn off permalinking, or to set the site path to the IP, it’s redirecting to the proper domain name.

    If I switch the DNS, will the site just start working, or is there another issue I’ve missed? I don’t want to tell her to switch if the ‘no posts found’ is down to another problem, not just because some of the links are looking to the other server.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not “some” – all the links, if you didn’t change the “home” and “site_url” values in the wp_options table.
    Those are the two URI values you set in the Options > General for WP and Blog address and they ARE stored in the database.
    Change them!

    Now, WP sometimes has difficulties handling URLs with ~ [tilde] in them.

    Thread Starter etali

    (@etali)

    Hi

    Thanks for your response.

    wp_options has the site_url value, but not one for home.

    I’ve changed site_url, but it’s still saying no posts found, and as you said about the tilde – wordpress strips it out, so things are pointing to just the IP address and not her user folder.

    She will eventually switch her domain name over to point to the new host, will it work when she does that, do you think?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Moving Hosts ‘No Posts Found’’ is closed to new replies.