• Hi everyone,

    I had to reinstall wordpress because I lost some of my php files so nothing was showing up.

    I backed up my site (what was left of it), including the wp-content folder. When I reinstalled wordpress using quick install with hostgator, everything was installed. If I go to my ftp manager and open the wp-content folder, all my old media is still in there. But when I go to the wordpress dashboard and click on the media library, it’s empty.

    How can I fix this to read what’s in the wp-content folder?

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Do you still have a copy of your old database?

    Thread Starter juniorkingking

    (@juniorkingking)

    Hi there,

    I do and I don’t. The old database was essentially gone (I think by an accidental deletion). So all I had was a database folder for my third party forum. But I do have the old wp-content folder backed up.

    I think the reinstall overrode any old database. My site wasn’t showing up because it was missing a lot of the database like the index.php and all that. 🙁

    Any tips for the wp-content folder?

    I do have the old wp-content folder backed up.

    Unless you restore a database backup from your old site into the new one, you will have re-enter all of your old content and re-upload all of your images manually via WordPress. I’m sorry but there is no way around this.

    Thread Starter juniorkingking

    (@juniorkingking)

    Oh ok. So having them in my wp-content folder doesn’t matter? Only in the database?

    Thanks!

    So having them in my wp-content folder doesn’t matter? Only in the database?

    Correct. Unless you upload images via WordPress, they are not registered in the database, so WordPress does not “see” them. You could have a look at http://wordpress.org/extend/plugins/add-from-server/ to see if that will reduce the amount of extra work you need to do.

    Thread Starter juniorkingking

    (@juniorkingking)

    Great. Just one last question then. Should I delete my wp-content content? Since it’s just sitting in there and not being read? Because I’ll be re-uploading everything again, I’ll just be making a second copy of it all?

    Should I delete my wp-content content?

    No – as that also holds all of your old themes & plugins. And I’d leave the wp-content/uploads folder intact also until you have at least tried that plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Reinstalled WordPress – how to connect old wp-content’ is closed to new replies.