
Do you use trackbacks and pings? Many people find them useless and asked me how they can get rid of them. Sure you can close trackbacks post by post, but this will consume a lot of time. Or you can use a good old SQl query, as shown in this article.

Do you use trackbacks and pings? Many people find them useless and asked me how they can get rid of them. Sure you can close trackbacks post by post, but this will consume a lot of time. Or you can use a good old SQl query, as shown in this article.
Simply run the following SQL query on your WordPress database, using the command line client or PhpMyAdmin. This will close pingbacks/trackbacks on all existing posts.
Don't forget to backup your database before using this query.
UPDATE wp_posts SET ping_status = 'closed';
If you like to know more about WordPress SQL queries, you should have a look to this article.
Thanks to Jeff Starr for this nice piece of code!
Leave a Comment