WordPress PingbacksとTrackbacks Spamを停止する方法

WordPress PingbacksおよびTrackbacks Spamを停止する方法

私のWordPresswp_commentsテーブルを確認して、ファイルサイズに約100万件のコメントが500MB含まれていることを確認してください。 中を掘り下げて、約90万++のコメントが「trackback」としてマークされ、スパマーのWebサイトにリンクされていることを確認します。 最悪なのは、このタイプの「trackback」コメントが毎秒増加し続けることです。

すぐに修正するには、以下の手順に従ってください。

1. ディスカッション設定

ログインWordPress管理パネル、設定– >>ディスカッション– >>Default article settings、2番目のオプションのチェックを外します

image

2. ping_status = ’closed’

2.1 The existing articles are still open for attack, update all posts’ ping_status to closed

phpMyAdminまたはMySQLコンソール

UPDATE wp_posts SET ping_status='closed' WHERE post_status = 'publish' AND post_type = 'post';

UPDATE wp_posts SET ping_status='closed' WHERE post_status = 'publish' AND post_type = 'page';

2.2 Delete all the existing ‘trackback’ spam comments

phpMyAdminまたはMySQLコンソール

DELETE FROM  `wp_comments` WHERE  `comment_type` = 'trackback'

P.S WordPress should consider turning off this ‘pingback and trackback’ feature by default!

Stop this also – Spam comments on attachment
これに興味があるかもしれません-WordPress – How to stop spam comments on attachment.