Title: restoring content from the database
Last modified: August 19, 2016

---

# restoring content from the database

 *  [lugubriousfandango](https://wordpress.org/support/users/lugubriousfandango/)
 * (@lugubriousfandango)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/restoring-content-from-the-database/)
 * I managed to break a site with several years worth of content. The database, 
   however, was not harmed so I reinstalled WP and set it to use the same database
   but it created a new database user so now all my old content is invisible to 
   the new site. Reading around, I see that I screwed up, but I’m not quite sure
   how to proceed. How can I get a new WP to read the old database?
 * peace, love and macadamia biscuits,
    -rjs.
 * PS. this is being hosted by dreamhost if that’s important at all.

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

 *  Thread Starter [lugubriousfandango](https://wordpress.org/support/users/lugubriousfandango/)
 * (@lugubriousfandango)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/restoring-content-from-the-database/#post-1347515)
 * Reading a bit more I tried putting in the database username and password from
   my old site into wp-config for the new one, but that doesn’t seem to have changed
   anything. It’s still acting as a virgin WP site.
 *  Thread Starter [lugubriousfandango](https://wordpress.org/support/users/lugubriousfandango/)
 * (@lugubriousfandango)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/restoring-content-from-the-database/#post-1347516)
 * Sorry, I didn’t fill in all the details correctly. It worked. Sort of.
 * Unfortunately, I am now back to the same position I was to begin with. My blog
   is at robinshannon.net but WP thinks that everything is at lf.www.robinshannon.
   net so it shows only the text above the fold. No theme no nothing. And if you
   try to go to a full article it sends you to a non-existent page.
 *  [Rayland](https://wordpress.org/support/users/rayland/)
 * (@rayland)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/restoring-content-from-the-database/#post-1347519)
 * you could fix that via phpmyadmin.. login to your web host and open phpmyadmin.
   click the database of your wp installation.
 * do a search for lf.www.robinshannon.net in the wp_options table (wp_ may be different
   depending on the prefix you used in the installation)
 * search results will appear which then you click browse.. click the edit button
   and change the value to
 * `http://robinshannon.net`

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

The topic ‘restoring content from the database’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [new-user](https://wordpress.org/support/topic-tag/new-user/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [Rayland](https://wordpress.org/support/users/rayland/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/restoring-content-from-the-database/#post-1347519)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
