• dgermann

    (@dgermann)


    Friends–

    Running WP 5.3. This issue appeared around October 23. Have been running WordPress since 2011, and have not had this issue before.

    The issue: publish or schedule a post. Then publish or schedule a second post. Second post overwrites the first.

    Clue: When I am writing the second post, as soon as I have filled in the title and tabbed to the content, it fills in the permalink with the same permalink as the prior post. When I select to publish it, it changes to the new permalink.

    What I’ve tried: 1. Put cloudflare into development mode on the site. 2. Cleared all caches in browsers. 3. Tried both Firefox and Chrome. 4. Tried Chrome in incognito mode.

    I can sometimes post two in a row without this behavior, but usually the third overwrites one or both of the prior ones.

    Thanks for any help you can give me!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    I don’t think anyone else has reported such behavior, and I cannot replicate it. This indicates there is likely a theme or plugin misbehaving. Install and activate the Health Check plugin. Enter its troubleshooting mode, which switches to a default theme and deactivates all plugins, all without affecting other site visitors.

    You should be able to publish or schedule new posts without any overwriting. Use the troubleshooting admin bar item to restore your theme and plugins, one at a time, testing with new posts after each. When the problem recurs, the last activated module is the cause. You can then take up the issue with the responsible devs.

    Don’t forget to exit troubleshooting mode when you are done testing. Bear in mind that any new posts published will be available to site visitors despite the troubleshooting mode. You’ll likely want to immediately trash test posts once you’ve confirmed if it is overwriting or not.

    Thread Starter dgermann

    (@dgermann)

    @bcworkz

    Thanks for responding to me and helping me.

    Last night I played with this some more and I think I have it figured out. Will have to check over the next week or so to see if I do.

    Here is what I found: While I thought that cloudflare was turned off, it had not been. I have two sites and had turned if off for one, but not the other.

    So last night I cleared the cache in Firefox, then I went to cloudflare and cleared the cache in each of the two sites, then I put them both into development mode. Then I started posting.

    It all went smoothly, and no post overwrote another. Each showed its own permalink immediately after I tabbed from the title to the body of the post.

    I just checked both sites and the posts seem to be showing up as scheduled. So I am hoping all is well.

    (I had been reading threads here and had already installed Health Check. I am glad to learn from you of troubleshooting mode, and will use it as you say if the issue is not already fixed.)

    Thanks, @bcworkz!

    Moderator bcworkz

    (@bcworkz)

    You’re welcome. I can imagine how a caching/filtering process inserting itself into data flow could cause such overwrites under certain conditions. I’m not that familiar with Cloudflare, but I know most WP caching plugins exclude logged in users from being served cached data for this very reason. It may be difficult to configure Cloudflare to do similarly, but it should be able to exclude requests involving /wp-admin/. After all, there are tons of WP sites on Cloudflare and yet this seems to be an uncommon problem.

    Thread Starter dgermann

    (@dgermann)

    @bcworkz

    Thanks.

    Did not know there were WP caching plugins, so will check those out. Will also check out what I can do on Cloudflare. Having to do all those steps each time I post would be a lot of extra work.

    Yes it was uncommon for me too, until it happened to me! <grin>

    Maybe someone here could chime in on the best way to setup cloudflare.

    Thanks, @bcworkz!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘new post overwrites the prior post’ is closed to new replies.