Your WordPress site is getting Trackback “pings” in Comments despite having comments and trackbacks disabled in Settings. Utilize phpMyAdmin to execute an SQL query to ensure their disablement.

Access phpMyAdmin for the chosen website and navigate to the WordPress database associated with the website.

zapier-image-284

Navigate to the SQL tab on the main menu:

zapier-image-285

The SQL query screen appears:

PHPMyAdmin-Trackbacks-image-286

Type or paste the following SQL statement into the query window, then press the “Go” button. This SQL query will update the database to ensure that the comment status is closed.

UPDATE wp_posts SET comment_status="closed";
phpMyAdmin-Trackbacks-image-288a

Upon pressing the “Go” button, you may see this confirmation message. Press “OK” to proceed.

phpMyAdmin-Trackbacks-image-289a


After pressing “OK,” a confirmation message will appear indicating that the SQL query was successful.

phpMyAdmin-Trackbacks-image-290

Repeat this operation with ‘pings’. Press the Show query box:

phpMyAdmin-Trackbacks-image-291

Enter the ping_status statement into the SQL query box:

UPDATE wp_posts SET ping_status="closed";

Press “Go” to run the SQL query:

phpMyAdmin-Trackbacks-image-292

Confirm the SQL update by pressing the “OK” button in the dialogue popup:

phpMyAdmin-Trackbacks-image-294

If the query is successful, a confirmation message will display:

phpMyAdmin-Trackbacks-image-295

If the query is not successful, an error message will display. Continue by following the prompts in the error message.

phpMyAdmin-Trackbacks-image-296

The error message states that the WordPress database was not selected. To correct the issue, select the wp_database-name on the left menu.

phpMyAdmin-Trackbacks-image-298

Once you’ve selected the database, press the SQL tab:

phpMyAdmin-Trackbacks-image-299

Then press “Go” to execute the query:

phpMyAdmin-Trackbackso-image-300

If you receive other errors indicating that your SQL query syntax is wrong, inspect your SQL statement to ensure it is valid syntax.

phpMyAdmin-Trackbacks-image-301

When you’ve disabled comments and trackbacks in your WordPress site’s settings, but you’re still receiving Trackback “pings” in the comments, refer to this documentation and execute these SQL queries to ensure that trackbacks are disabled globally.

Similar Posts