Support » Installing WordPress » How to import EVERYTHING?

  • Hey everybody!
    After a recent server problem I had too reinstall wordpress and so all my articles, pages, plugins, uploads and settings are gone.
    I have a copy of the whole wordpress directory on my PC. what do I have to do in order to get all the stuff to the right place again??
    Thanks for all replies,

Viewing 3 replies - 1 through 3 (of 3 total)
  • What you need is a copy of the WordPress database. I only hope that when you re-installed that you started with a fresh database and didn’t overwrite the old one. Have you switched to a new server?



    First make sure that you have properly set the database (old one) and make sure the link is right. eg:

    Secondly upload your new wordpress to your server but don’t run it from browser yet. There is a file named wp_config_sample.php, rename it to wp_config.php and open it. There edit 3 things your database name, database username and password

    this is where to edit.

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘database_name_here’);

    /** MySQL database username */
    define(‘DB_USER’, ‘username_here’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘password_here’);

    If the url in your database matches the url to your wordpress site. The should properly work with all your old stuffs.

    ok, thanks for the infos, it’s quite helpful.
    I still have the whole old database, so that won’t be a problem.
    Uploading the old one (the config is right, thanks) I found out that there must be an errror in that old database. My wordpress address is
    When I want to visit that site I just get nothing but an ad (preset of my hoster).
    Visiting only ‘’ i get a table of existing folders. The only 2 folders that are displayed there are filemanager and phpmyadmin. wordpress is missing.
    Having the new one installed i do get the wordpress folder…
    do oyu know what to do??
    thanks again

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to import EVERYTHING?’ is closed to new replies.