WordPress has built-in capacity to send and receive pingbacks and trackbacks. Most of the blogger are annoyed because of this. Now day’s people use the automated tool to promote their blogs, these automated tools send irrelevant trackback to the websites. At itinfoz i receive about hundreds of trackbacks spam weekly so to stop these kind of black hat technique First thing I did was Disabled trackbacks and pingbacks from the Settings » Discussions page. Now the setting will work for the new post only and there are 100’s of post on my blog, making the new setting does not change the status on existing posts.
How to disable trackbacks and Pingbacks on existing WordPress posts?
Many spams can get through in the form of trackbacks or pingbacks .below is the simple feature which can be used to entirely turn off trackback and pingback from your WordPress blog.
Disabling Trackbacks and Pingbacks:
- Login to your Cpanel and then go to phpMyAdmin control applet then make a backup of database so we can restore the backup anytime, in case if you have to revert back. Now locate and select your WordPress database on the left from the database dropdown list.
- Now time to select the SQL tab from the navigation tabs at the top, Within the Run SQL Query box add the following code and click go: Update wp_posts set ping_status=”closed”
- Or execute the following query for old post:
| 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’; |
That’s it, you are done. Now onward all of the existing published WordPress posts will have trackbacks disabled.
Note: If you get an error just check your Database prefix on wp_posts from the database list and change the code accordingly.





Thanks for giving this awesome tutorial but this is only effective
for those who have full knowledge of coding and if we are not
familiar with coding then we have to stay away from this. On the
other hand we have some good plugins to do the same work.
Jass recently posted..Why you should have Facebook Page for your Marketing and Business
Thanks for the comment. Jass its an easy task, BTW if you feel hard to implement then WP plugins will surely help you out.