Stop Trackback Spam from WordPress

If you have a WordPress blog site and there are lots of posts inside in your blog then you may face some problem about  WordPress trackback related spam. Because WordPress has the ability to receive and send pings/trackbacks from and to other sites.

There are many plugins around us to stop this trackback spam but Wodpress has their own way to stop this. There are two steps to stop Trackback Spam completely from your site.

Please follow the steps:

  • Login to your WordPress blog.
  • Go to Settings-> Discussion and then uncheck the box which says :”Allow link notifications from other blogs (pingbacks and trackbacks) ” . This won’t allow trackbacks in the new posts.

But all of your older posts still have the problem and people can spam your blog there. To disable trackback in older posts you can go to each and every post of yours and disable them ,but if you have quite a big blog like then there is a high chance that you are going to have some problems editing each and every posts. Here’s a simple solution on how it can be done in just one click.

  • Log in to your cpanel and go to phpMyadmin . Open the database of your blog and then run this query on the SQL tab :
        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';

Here, I have assumed that you are using the database prefix with ‘wp_’ for your wordpress database and if you are using any other prefix like sm_ ,then you should replace wp_ with sm_ .

The above query will help you in disabling trackbacks completely and from now on you don’t have to worry about trackback spam. So, enjoy and chill with wordpress blogging.

This post has already been read 13784 times!

Mehedi Hasan

Cool WordPress Developer having much agile experience to develop any kind of WordPress sites & plugins. Also good in troubleshooting, fixing & making any kind of tweaks for WP site.

More Posts

Mehedi Hasan

Cool WordPress Developer having much agile experience to develop any kind of WordPress sites & plugins. Also good in troubleshooting, fixing & making any kind of tweaks for WP site.

Share
Published by
Mehedi Hasan

Recent Posts

WP Share A Friend – A Way to Capture Lead

What is Lead Capture: In general sense lead capture designates a process or way of…

5 years ago

Unlimited Modal POPUPS on MouseClick

Introduction Unlimited Modal POPUPS on MouseClick: Everyone knows about popup during site visits and most…

5 years ago

WordPress Pregnancy Calculator Plugin

Brief about Pregnancy Calculator : This WordPress Pregnancy Calculator plugin allows users to display an…

5 years ago

Interactive Service Plugin with Hover Effects VC

Introduction About this Service Plugin: This Visual Composer Service Plugin works as an addon to…

6 years ago

WP Dynamic Query String

Introduction of Dynamic Query String : This plugin allows user to set dynamic query string…

6 years ago

How to make scroll PDF in iFrame for iPAD Safari

There is an occasional bug for iPhone and iPad even they are designed as well and…

7 years ago