Quantcast
Channel: WordPress Experts
Viewing all articles
Browse latest Browse all 33

How to Close Trackbacks On all Posts At Once In WordPress!

$
0
0

how-to-disable-trackbacks-and-pingsIf you’ve had a WordPress blog set-up and running for a while, you will probably have trackbacks mixed in with the real comments especially those posts and pages which have linked often by you and others. WordPress has the ability to receive and send pings/trackbacks from and to other sites.

Trackbacks have been a feature on Typepad for more than a decade, created by our Founding Fathers to allow bloggers to keep track of who links to their posts and helping to build a growing community. Unfortunately, spammers have abused the Trackback feature, using it to insert spam links on blogs – a phenomenon that we know many of you have experienced lately.

As a result, many blogging services have stopped supporting Trackbacks entirely over the past few years, and Typepad is amongst the most recent to phase out the feature. We know you’re tired of dealing with spam. So, today we are going to share with you how you can easily close trackbacks on all posts at once.

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

Thanks to Jeff Starr for this nice piece of code!

The post How to Close Trackbacks On all Posts At Once In WordPress! appeared first on WordPress Experts.


Viewing all articles
Browse latest Browse all 33

Trending Articles