Title: Posts get overwritten &#8211; Server cache?
Last modified: February 22, 2017

---

# Posts get overwritten – Server cache?

 *  Resolved [curlybracket](https://wordpress.org/support/users/veganist/)
 * (@veganist)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/posts-get-overwritten-server-cache/)
 * Hi,
 * I’m running a Debian Server with Apache2 and PHP5.
    On this server I have one
   WordPress multisite installation and also a normal installation. Both work fine
   since several years. However, since some time, users report the following to 
   me: Whenever they create a post, they can publish it fine. But if they remodify
   it or create another one right afterwards, the first post gets completely overwritten
   and “disappears”. (Create post -> Edit & publish it. Click “Add post” – an empty
   editor page is displayed. Edit & publish it: now that post replaces the first
   one. The first one is completely gone.) I’ve seen this myself and tested reloading
   the post editor everytime manually, even if I see an empty editor page, using“
   Ctrl+R”. Miraculously, the problem vanishes. So it seems, that this is some kind
   of caching issue. However, I don’t know if this occurs in Apache, PHP or MySQL.
   Has anybody seen similar things before? I don’t use a caching plugin such as 
   varnish on the server and my configuration files should be more or less the Debian
   default.
 * Cheers!

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

 *  Thread Starter [curlybracket](https://wordpress.org/support/users/veganist/)
 * (@veganist)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/posts-get-overwritten-server-cache/#post-9042226)
 * Looks like it’s due to this issue: [https://core.trac.wordpress.org/ticket/37889](https://core.trac.wordpress.org/ticket/37889)
 *  Thread Starter [curlybracket](https://wordpress.org/support/users/veganist/)
 * (@veganist)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/posts-get-overwritten-server-cache/#post-9259802)
 * Adding this to .htaccess fixed it for me.
 *     ```
       # DISABLE CACHING
       <IfModule mod_headers.c>
           Header set Pragma "no-cache"
               Header set Expires 0
       </IfModule>
       ```
   

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

The topic ‘Posts get overwritten – Server cache?’ is closed to new replies.

## Tags

 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [disappearing](https://wordpress.org/support/topic-tag/disappearing/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 2 replies
 * 1 participant
 * Last reply from: [curlybracket](https://wordpress.org/support/users/veganist/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/posts-get-overwritten-server-cache/#post-9259802)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
