How to disable Pingback & Trackback

99.99% of them are spams

Part 1: disable pingbacks for new posts

Part 2: disable pingbacks for existing posts

execute the following query:

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’;

And you are done :) Now all of your existing published WordPress posts will have trackbacks disabled as well.

Yes, it works fine.
I only ran the first UPDATE statement, already enough.
Then check an existing POST, you will see the CHECKBOX for pingback is disabled now.



By EVS

Leave a Reply

Please Login to comment
  Subscribe  
Notify of