I’m receiving hundreds of Pingbacks and Trackbacks to my blog and almost them come from spam website/service. I have to manually delete them in the Dashboard every time. Therefore I need to find a way to completely stop them.
Fortunately, WordPress has a global setting in the Dashboard that allows to disable pingbacks and trackbacks from other blogs. However, it’s just applied for new posts, you also need to stop pingbacks and trackbacks for old posts.
Below is 2 steps to completely disable Pingbacks and Trackbacks:
1. Turn off Pingbacks and Trackbacks for the old posts
You need to access to your WordPress database (via PhpMyAdmin) and run SQL command below to turn off Pingbacks and Trackbacks for all old published Posts and Pages:[text] UPDATE 4rd_posts SET ping_status=’closed’ WHERE post_status = ‘publish’ AND post_type = ‘post’;
UPDATE 4rd_posts SET ping_status=’closed’ WHERE post_status = ‘publish’ AND post_type = ‘page’;
- 1. Change my current table prefix 4rd_ with yours.
- 2. If you don’t know how to access your WordPress database, let contact your Hosting Provider support or refer to the Hosting KB, guide or documentation
2. Disable Pingbacks and Trackbacks from now on
This step will be done in the Dashboard and will disable pingbacks and trackbacks for all new posts or pages.
Let’s log in to the Dashboard with admin account, click on the Discussion link in the Settings panel on the left panel. On the right, un-check the “Allow link notifications from other blogs (pingbacks and trackbacks.)” option.
Now, all spam pingbacks and trackbacks will go away.
Good luck 🙂