As an experienced webmaster of over 15 years, I‘ve seen my fair share of pingbacks. While they can sometimes get a bad rap, pingbacks can actually be very useful for cross-communication between websites…when properly configured.
In this detailed guide, I‘ll explain exactly what pingbacks are, how they work under the hood, and provide tons of tips for leveraging pingbacks effectively on your WordPress site. Let‘s get started!
Contents
What is a Pingback?
A pingback in WordPress is an automated notification sent from your site to another website when you link to their content in one of your posts or pages.
For example, if you mention an insightful article from Site B in your own blog post on Site A, WordPress will send a pingback request to Site B notifying them of the inbound link.
Pingbacks serve a similar function to trackbacks. The main difference is in the technical delivery method:
Pingbacks | Trackbacks |
---|---|
Use XML-RPC requests | Use a GET request with query parameters |
Initiated when content is published | Manually sent after publishing |
Native WordPress feature | Requires a plugin for most CMSs |
So in summary, pingbacks and trackbacks both notify site owners when someone links to their content. Pingbacks happen automatically while trackbacks are manual.
How Do Pingbacks Work?
The behind-the-scenes process for pingbacks involves a few steps:
-
You publish a new post on Site A with a link to an existing page on Site B.
-
WordPress sends an HTTP POST request with an
X-Pingback
header to Site B, indicating the inbound link. -
Site B receives the pingback ping and sends a XML-RPC request back to Site A.
Here‘s an example XML-RPC request that Site B would send:
<?xml version="1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>pingback.ping</methodName>
<params>
<param>
<value>
<string>http://site-b.com/post-linked</string>
</value>
</param>
<param>
<value>
<string>http://site-a.com/new-post</string>
</value>
</param>
</params>
</methodCall>
This lets Site A know that the link notification was received successfully. The pingback is then registered in the dashboard of Site A.
Enabling and Disabling Pingbacks
Pingbacks are enabled by default in WordPress. But you can easily disable them globally or on a per post basis:
Disable All Pingbacks
- Go to Settings > Discussion
- Uncheck the box next to "Attempt to notify any blogs linked to from the article"
This will stop all pingbacks from being sent site-wide.
Disable Pingbacks on a Single Post
When editing a post in WordPress, find the "Discussion" box and uncheck "Allow pingbacks & trackbacks on this page".
You can also use a plugin like Disable Pingbacks for more granular control.
When Should You Use Pingbacks?
Based on my experience managing sites, here are some instances when pingbacks can be beneficial:
- Linking to references and sources for research or quotes – allows attribution.
- Interlinking between your own sites to highlight related content.
- Connecting with influencers and resources in your industry.
- Linking to sites with engaged audiences interested in pingbacks.
And some cases when you may want to disable pingbacks:
- To prevent pingback spam, like links from ads and hostile sites.
- If you‘re linking to sites that discourage or disallow pingbacks.
- When linking to off-topic sites whose audiences won‘t care about notifications.
My recommendation is to enable pingbacks in general, but disable on a post-by-post basis if needed. Monitor for spam and excessive notifications.
Pingback Alternatives and Limitations
While native to WordPress, pingbacks do have some technical shortcomings to be aware of:
- Only sites with pingback enabled will reciprocate. Many don‘t support it.
- Link format must be an absolute URL – no anchor text allowed.
- Requests can be blocked by firewalls and security policies.
- No way to customize the notification or link preview.
Newer protocols like WebMention attempt to solve these issues and add richer linking metadata. Plugins like WebMention implement these open standards in WordPress.
So in some cases, alternatives like WebMention may be preferable if you want expanded functionality. But standard pingbacks still work well in most scenarios.
Troubleshooting Common Pingback Issues
If you‘ve enabled pingbacks but aren‘t seeing notifications come through, here are some common problems and fixes:
-
Expired X-Pingback header – Increase header expiry time in wp-config.php to 1-2 days.
-
Blocked XML-RPC – Check firewall settings on the sites. Unblock requests.
-
Incorrect link format – Make sure you‘re using absolute URL paths for links.
-
Disabled on recipient site – The target site may have pingbacks turned off. Verify in their settings.
-
Linking to non-existent pages – Double check that the content you linked to exists live on the site.
Final Tips for Managing Pingbacks
Based on my experience as a WordPress pro, here are my top recommendations for making the most of pingbacks:
-
Enable by default, but disable for links where a notification provides no value.
-
Monitor pingbacks for spam and disable on posts attracting malicious links.
-
Use relative URLs for inner site linking to avoid unnecessary self-pings.
-
Limit to reputable sites in your niche to build quality relationships.
-
Configure your theme to show minimal pingback excerpts to avoid clutter.
-
Reply to pingbacks when possible to foster community.
-
Consider a pingback plugin like Custom Post Pingbacks for more control options.
I hope this guide has helped explain what pingbacks are, how they work, and how you can effectively manage them on your WordPress site! Let me know if you have any other pingback questions.