wordpress写文章被覆盖

2026年1月1日00:08:13 发表评论 4 views

异常现象:

写文章的时候经常出现新文章覆盖旧文章,排查发现新文章使用了前一篇文章的id,猜测可能是CF的缓存问题。(开发模式不会有此现象)

解决方法:

进入CF找到这个:

Cloudflare Dashboard → Rules → Cache Rules → Create rule

条件(IF):

  • URI Path contains /wp-admin
    OR

  • URI Path contains /wp-login.php

动作(THEN):

  • Cache status → Bypass cache

保存。

OK

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: