Janik Vonrotz


1 min read

Disable Trackbacks and Pingbacks in WordPress

This will disable trackbacks and pingbacks for all future posts, but not for existing posts.

Disable them on existing posts

This should disable them for all existing posts. Last step, pages.

Disable them on existing pages

Unfortunately I couldn’t find a way to do this in bulk, or via the "Quick Edit" screen, so you'll have to go through each page and manually uncheck the option under the "Discussion" tab. Or if you're able to access the MySQL server with phpMyAdmin or a MySQL CLI you can run this SQL statement. ```sql -- Globally disable pingbacks/trackbacks for all users UPDATE wp_posts SET ping_status = 'closed' ``` Don't be confused by the column name `wp_posts` it also contains pages. After completing these 3 steps, you should have no more trackbacks or pingbacks on your WordPress site.

Categories: Web development
Tags: pingbacks , solutions , trackbacks , wordpress
Improve this page
Show statistic for this page