Black Friday 40% off yearly and lifetime plans · 18d left Ends in 18d09h23m Claim 40% off
Performance48 docs

How to Disable Self Pingbacks in WordPress

Disable self-pingbacks in Classic Monks. Prevents WordPress from pinging your own site when you link to your own content.

By Founder & Lead Developer

Last updated

2 minutes

Key takeaways

  • Single toggle, no nested options
  • Quick WordPress optimization with one click
  • No configuration required (just enable/disable)
  • Does not affect core WordPress functionality
  • Reversible (disable to restore default behavior)

What Is this feature?

Disable Self Pingbacks in Classic Monks prevents WordPress from sending pingbacks to your own site when you link to your own content in a post. This is one of many WordPress optimization features available in the Performance tab.

Why You Need It

WordPress sends a pingback to your own site when you link to your own content in a new post. This creates unnecessary notifications and HTTP requests.

How to Enable this Feature in WordPress

  1. Step 1

    Navigate to Settings

    Click into the Classic Monks plugin settings in your WordPress dashboard.

  2. Step 2

    Go to the Performance Tab

    Click on the Performance menu, then click the WP Optimizations subtab.

  3. Step 3

    Enable the Feature

    Toggle on the feature.

    Disable self pingbacks toggle enabled

  4. Step 4

    Save Changes

    Click Save Changes.

  5. Step 5

    Test

    Clear your browser cache and visit the frontend. Verify the feature is working as expected.

Configuration Options

Option Description Default
This feature Master toggle. Off

No nested options.

What Gets Affected

  • The feature behavior: enabled as configured
  • The site performance: improved as described

What Does NOT Get Affected

  • The WordPress admin: unchanged
  • The site content: unchanged
  • The plugin functionality: unchanged

Common Use Cases

Cleaner comments

Self-pingbacks create unnecessary comment notifications and clutter. Disabling them keeps the comment section clean.

Performance

Self-pingbacks trigger HTTP requests. Disabling them removes this overhead.

Developer integration

This feature registers 1 WordPress hook in xmlrpc-pingbacks.php:

Actions:

  • pre_ping calls cm_disable_self_pingbacks() (Prevents self-pingback generation)
// Hooked in xmlrpc-pingbacks.php
add_action( 'pre_ping', 'cm_disable_self_pingbacks' );

The feature modifies WordPress behavior by registering or removing hooks. Disabling it reverses those changes and WordPress returns to its default behavior.

Before you enable this feature

  1. Test on staging first to verify no conflicts with your theme or other plugins
  2. Check dependent plugins that may rely on the functionality being modified
  3. Monitor after enabling for any unexpected behavior on the frontend

How it works under the feature

This feature runs during the WordPress initialization phase. When enabled, its PHP code registers hooks that modify specific WordPress behaviors. The changes are non-destructive and reversible.

No database schema changes are made. The feature state is stored as a boolean value in the wp_options table and can be toggled at any time from the admin settings.

Troubleshooting

2 problems and how to fix each one.

The feature is not taking effect

Cause: The toggle is off, or a caching plugin is serving the old page.
Fix: Verify the toggle is on. Clear all caching layers.

The feature breaks another plugin

Cause: Another plugin depends on the functionality that this feature disables.
Fix: Disable this feature if it breaks another plugin. The features are designed to be toggled independently.

Was this doc helpful?

Your answer tells us which docs to fix first.

Still stuck? Ask on the forum or email help@classicmonks.com.
Joy Chetry
Written by the person who built it

Joy Chetry

Founder & Lead Developer, Classic Monks

Joy is the founder of Classic Monks and GoodMonks Solutions, a web development agency that builds WordPress and WooCommerce sites for clients. Classic Monks grew out of the agency's own need to consolidate 20 to 30 separate plugins into one core stack.

Follow this doc on a real site.

Open a private WordPress site with Classic Monks, WooCommerce and Bricks Builder installed, and follow this doc step by step. Free for 24 hours, no card.

280 docs, written by Joy Chetry 15 day refund window