How to import EVERYTHING? (4 posts)

  1. equorne
    Posted 3 years ago #

    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,

  2. graphicgeek
    Posted 3 years ago #

    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?

  3. Karun
    Posted 3 years ago #

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

    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.

  4. equorne
    Posted 3 years ago #

    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 mydomain.myhostsdomain.com/wordpress.
    When I want to visit that site I just get nothing but an ad (preset of my hoster).
    Visiting only 'mydomain.myhostsdomain.com' 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

Topic Closed

This topic has been closed to new replies.

About this Topic