WordPress のリビジョンとは記事の変更などを履歴として残してくれる機能です。そのままにしておくとリビジョンがたくさん残ってパフォーマンスが落ちる危険性がありますので、リビジョンの最大数や無効化などを行います。 リビジョン機能を停止させるコード リビジョンの機能を無効にするには以下のコードを使います。
WordPress のリビジョンとは記事の変更などを履歴として残してくれる機能です。そのままにしておくとリビジョンがたくさん残ってパフォーマンスが落ちる危険性がありますので、リビジョンの最大数や無効化などを行います。 リビジョン機能を停止させるコード リビジョンの機能を無効にするには以下のコードを使います。
先日ですが、友人のWordPressが攻撃にあい、フィッシングサイトに利用されるという事件がありました。 サーバー会社に問い合わせをした所、FTPのログインが海外から合ったとの事。 パスワードがどこかから漏れていたのかもしれません。 怖いですね・・・ FTPパスワードが漏れた原因は分からなかったのですが、 出来る事はちゃんとやろうと思いました。 何かがあってからでは、遅いのですからね。 ・・・という訳で、WordPressで出来るセキュリティ対策を10個ご紹介。 プラグインも探してみたので情報をシェアします。 誰かのお役に立てれば幸いです。 1.WordPressを常に最新版に 一番の対策はこれです。WordPressはオープンソースのため、攻撃者はサーバーにどんなプログラムがあるか分かる状態になっています。 脆弱性が周知されているので、攻撃する側も簡単に出来ちゃうんですね。 必ず、最新版
※BackWPup3が公開されました。BackWPup3でのバックアップ&復旧手順についてはこちらをご覧ください データのバックアップは大切ですよね!疑う余地はないと思います。 WordPressのブログも例外ではありません。バックアップしている人も多いですよね? でも、 「WordPress全体をバックアップできていますか?」 そして、 「実際にリストア(復元)作業を試してみたことはありますか?」 GoogleでWordPressのバックアップ方法を調べてみると、データベースだけバックアップして安心していたり、復元方法の解説がない場合がとても多いです。 しかし、私はこう思います。 実際にリストア作業をやってみなきゃ、安心はできない! リストアできないバックアップは役に立ちません。やはり、一度リストア作業を試してみて、初めて安心できるのではないでしょうか。 そこで今回は、「プラグインを使っ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く