WordPress.org

Ready to get started?Download WordPress

Forums

Database trouble (3 posts)

  1. teeoff
    Member
    Posted 5 years ago #

    I switched databases within hosts and have lost everything. I still have the old database and have gotten those switched over but can't access my content. I have everything but the RSS saved locally...nice right. How can I locate my content again? Thanks.

  2. MichaelH
    Member
    Posted 5 years ago #

    That could be a matter of the value that is assigned $table_prefix in your wp-config.php. If you changed that from what it used to be, then you would actually get a new blog installed. Look at your database tables and if the posts table is wp_posts then the $table_prefix is 'wp_'. You may find your old tables have something different than 'wp_'.

  3. teeoff
    Member
    Posted 5 years ago #

    That is what happened...I ended up starting a new blog. My fix was switching the wp-config.php back to the original database, which gave me the content on my front page but no archive. From there I went into Dashboard and did an export/import and revived my archives.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic