• Resolved lab75

    (@lab75)


    I have recently moved to a new server keeping the same domain. I imported the .sql file to the new database and edited the wp-config.php file accordingly but the posts are not being displayed either on my website or in wordpress admin. I have checked in the database and the files are there but they are not being displayed. Its as though my admin panel in wordpress has been reset back to the start. A new post works fine but I need to retrieve my old posts. It may help to know my old plugins were showing in wordpress admin but I had to activate them all again.

    I hope this makes sense, any advice much appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter lab75

    (@lab75)

    Thanks, but from reading that, I think I have reinstalled by mistake. Is there anyway I can retrieve my old posts?

    Thanks in advance

    Did you make a database backup before the move?

    Thread Starter lab75

    (@lab75)

    Yes the database is backed up. I have checked the database and it includes all my posts but the problem is they are not showing in wordpress admin or on my blog.

    Make sure you have correct database details in your config file. if you have reinstalled using diff prefix it will create new set up tables.

    Regards

    [signature moderated Please read the Forum Rules]

    Thread Starter lab75

    (@lab75)

    All the details in config file are correct in relation to the new database I created. The only thing I am not sure about which I think you may be talking about is where it says:

    $table_prefix =

    What do I need to do here?

    Leave it as:
    $table_prefix = 'wp_';
    unless you’re setting up a second install of WordPress using the same database or want to increase mysql table security. Any combination of lowercase letters followed by a single underscore should be fine.

    Thread Starter lab75

    (@lab75)

    Many thanks for help, all resolved now.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Moved server- admin not displaying posts from database’ is closed to new replies.