1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Elementorで更新しようとしたらサーバーエラー(500 error)が出て更新できなくなる問題

Posted at

半年前、この問題で原因解明に休暇が1日つぶれ、
最近も、同じ問題を解決したので、解決策を。

その時はメモリを増設してなんとかしようとしたけれど、
しばらくすると、同じエラーが出た。
原因と解決策としては、

リビジョンが溜まっている...なのでリビジョンを消すと解決!

WordPressには、リビジョンという
記事のバックアップ機能がついているのだけれど、
それが溜まりすぎると、サイトも重くなるし、
このように更新もできなくなるという問題が生じる。
特に、Elementorは、製作工程や修正で
リビジョンが増えることが多く、要注意です。

手順は
https://new-ladder.com/wordpress-revision-delet/
こんな感じでプラグイン等を使って、一括削除をするとラクラク〜。

リビジョンが溜まらないためには、
wp-config.phpに

define('WP_POST_REVISIONS', 5);

と追記すれば、5つ以上溜まらなくなります。

参考記事
https://kinsta.com/jp/blog/wordpress-revisions/#wordpress-10

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?