Title: Content lost
Last modified: November 27, 2017

---

# Content lost

 *  [ypsilon131288](https://wordpress.org/support/users/ypsilon131288/)
 * (@ypsilon131288)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/)
 * Hey guys,
 * I try to help a friend with this. He ignored a hint on PHP5.2 running out of 
   support and found his website without content shortly after. I changed php to
   a current version, but I’m not able to restore the content. Any suggestion on
   what I can do? There are database backups for sure, but it seems to be a linking
   problem or something, not sure.
 * I’m looking forward to your replies. Thank you very much in common!
 * Regards, Andrea
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontent-lost%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9724741)
 * It’s 404 error, not content lost. So, it’s better not to do anything with database.
 * First thing to do, try visiting Permalink page. Go to Settings » Permalinks, 
   click on Save Changes button. Then clear browser cache and reload the web page.
   If it still returns 404 error, then deactivate all plugins and test loading web
   page, re-enable plugin one by one to investigate which one might have caused 
   it.
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9724748)
 * Change your permanent rules and save — and see if it makes a difference.
 * If not, manually check the `.htaccess` file to see if there’s anything odd in
   there.
 *  [tamim71](https://wordpress.org/support/users/tamim71/)
 * (@tamim71)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9724752)
 * Hi [@ypsilon131288](https://wordpress.org/support/users/ypsilon131288/),
 * Don’t panic, your site content still in database. Problem is with site rewrite
   rules which you have to flush.
 * visit `http://mgsc-moseltal.com/wp-admin/options-permalink.php` and hit **save
   changes** button . After that visit your site frontend, if still that not working
   let us know.
 *  Thread Starter [ypsilon131288](https://wordpress.org/support/users/ypsilon131288/)
 * (@ypsilon131288)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9724858)
 * Hey guys,
 * thanks for your help so far. I saved the permalinks again, but it doesn’t change
   anything. Further I disabled all plugins, but it doesn’t help.
 * Problem is the content isn’t listed in the backend as well.. I mean, I see there
   should be something about 200 posts, but none is listed.
 * As far as I can see, there is no .htaccess file on the webserver at all.
 * Thank you 🙂
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9725507)
 * If you have access to the site’s database, check to see if the posts exist in
   the database. If you don’t have access, get your host to confirm for you.
 * And since you have a (hopefully good) database backup, you can always nuke everything
   and rebuild (be sure to backup your uploads folder, if you don’t have a backup
   of that already).
 *  Thread Starter [ypsilon131288](https://wordpress.org/support/users/ypsilon131288/)
 * (@ypsilon131288)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9725526)
 * Hey,
 * yes, the content is still there in wp_posts.
 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9725586)
 * > As far as I can see, there is no .htaccess file on the webserver at all.
 * Visiting permalink page and even clicked save, and still there is no .htaccess,
   this also could be the problem, check on file permission and make sure WP is 
   able to create file.
 * [https://codex.wordpress.org/Changing_File_Permissions](https://codex.wordpress.org/Changing_File_Permissions)
 * [http://www.wpbeginner.com/beginners-guide/how-to-fix-file-and-folder-permissions-error-in-wordpress/](http://www.wpbeginner.com/beginners-guide/how-to-fix-file-and-folder-permissions-error-in-wordpress/)
 * Also it’s good to check wp-config.php see if it contains the correct info of 
   db (name).
 *  Thread Starter [ypsilon131288](https://wordpress.org/support/users/ypsilon131288/)
 * (@ypsilon131288)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9725648)
 * Well, this is a strange one….
 * DB Connection is working fine and the wp-config is correct.
 * .htaccess is created now as soon I refresh the permalinks. DB contains posts 
   at that moment.
    But as soon as I turn off all plugins, all posts are gone from
   the database as well. I restored the database and renamed the plugin folder on
   the webserver itself. Magic.. all posts are there. I’ll figure out which plugin
   is the faulty one step by step now.
 * Thank you very much for your help so far. I’ll keep you posted on which one it
   was 🙂

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

The topic ‘Content lost’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [ypsilon131288](https://wordpress.org/support/users/ypsilon131288/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/content-lost/#post-9725648)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
