Title: Internal Pingback Comments
Author: pontocinza
Published: <strong>May 3, 2026</strong>
Last modified: May 3, 2026

---

Search plugins

![](https://ps.w.org/internal-pingback-comments/assets/banner-772x250.png?rev=3521492)

![](https://ps.w.org/internal-pingback-comments/assets/icon-256x256.png?rev=3521492)

# Internal Pingback Comments

 By [pontocinza](https://profiles.wordpress.org/pontocinza/)

[Download](https://downloads.wordpress.org/plugin/internal-pingback-comments.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/internal-pingback-comments/#description)
 * [Reviews](https://wordpress.org/plugins/internal-pingback-comments/#reviews)
 *  [Installation](https://wordpress.org/plugins/internal-pingback-comments/#installation)
 * [Development](https://wordpress.org/plugins/internal-pingback-comments/#developers)

 [Support](https://wordpress.org/support/plugin/internal-pingback-comments/)

## Description

When a post is published or updated, Internal Pingback Comments scans its content,
finds all internal links, and creates a pingback-style comment on each linked post.
It mimics native WordPress pingback behavior but eliminates the need for XML-RPC
or outbound network requests.

Works with posts only. No settings page, no configuration.

**How it works**

The plugin parses post content with DOMDocument — not regex — so it handles real-
world HTML correctly: nested tags, encoded entities, relative and protocol-relative
URLs. For each internal link found, it inserts a pingback comment on the target 
post. The comment includes a short excerpt from the source post, with image captions(
figcaption) stripped so they do not bleed into the pingback text.

Duplicate detection is precise: the source permalink is stored as private comment
meta, and the plugin queries that meta before every insert. Republishing or updating
a post never creates duplicate comments. New links added to an existing post will
generate their own pingbacks on the next save.

**What the pingback looks like to your theme**

The comment is stored with `comment_type = 'pingback'` and auto-approved. Your theme
renders it exactly as it would render a native pingback. If your theme does not 
display pingbacks, the comment will be stored in the database but remain hidden 
on the front end.

### Disclaimer

This plugin is provided “as is”, without warranty of any kind. While best efforts
have been made to ensure reliability and security, the author is not liable for 
any damages or losses resulting from its use.

## Installation

 1. Upload the `internal-pingback-comments` folder to `/wp-content/plugins/`, or install
    it directly from the WordPress Plugins screen.
 2. Activate the plugin.
 3. Done. Pingbacks will be created automatically the next time you publish or update
    a post.

## FAQ

### Does this plugin use XML-RPC?

No. Comments are inserted directly with `wp_insert_comment()`. No XML-RPC, no outbound
network requests.

### Does it work with pages or custom post types?

No. This plugin processes posts only, on both the source and target side.

### Will it create pingbacks for posts published before activation?

No. It only processes posts published or updated after activation. To backfill an
older post, open it in the editor and save it again.

### What happens if I update a post and add a new internal link?

The plugin re-scans the content on every save. The new link will generate a new 
pingback. Removed links do not delete existing pingback comments.

### Will it create duplicate pingbacks if I save the same post multiple times?

No. Before inserting, the plugin checks for an existing pingback from the same source.
If one is found, the insert is skipped.

### Are pingback comments auto-approved?

Yes. Comments are inserted with `comment_approved = 1`. You can edit or delete them
individually from the WordPress Comments screen.

### Is it multisite-compatible?

The plugin works correctly within each site on a multisite network. It does not 
create cross-site pingbacks between subsites.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Internal Pingback Comments” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ pontocinza ](https://profiles.wordpress.org/pontocinza/)

[Translate “Internal Pingback Comments” into your language.](https://translate.wordpress.org/projects/wp-plugins/internal-pingback-comments)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/internal-pingback-comments/),
check out the [SVN repository](https://plugins.svn.wordpress.org/internal-pingback-comments/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/internal-pingback-comments/)
by [RSS](https://plugins.trac.wordpress.org/log/internal-pingback-comments/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Simplified: plugin now works with posts only, removing the settings page entirely.
 * Fixed: Stripped ‘figcaption’ blocks to ensure captions are excluded from the 
   pingback.
 * Fixed: Gutenberg’s double-save pattern no longer causes duplicate pingbacks within
   the same request.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **4 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [comments](https://wordpress.org/plugins/tags/comments/)[internal links](https://wordpress.org/plugins/tags/internal-links/)
   [pingback](https://wordpress.org/plugins/tags/pingback/)
 *  [Advanced View](https://wordpress.org/plugins/internal-pingback-comments/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/internal-pingback-comments/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/internal-pingback-comments/reviews/)

## Contributors

 *   [ pontocinza ](https://profiles.wordpress.org/pontocinza/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/internal-pingback-comments/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://pontocinza.com.br/apoiando-o-ponto/)