plugin-icon

Half Baked Link Injection

De emrysh·
Automatically replace whole-word phrases with links when WordPress renders your content, without touching existing links.
Versión
2.0.8
Última actualización
Mar 4, 2026

Half Baked Link Injection lets you define simple rules that automatically replace whole-word phrases with links when WordPress renders post and page content.

It is designed for clean, predictable linking that stays out of your way. Rules are applied only to the_content, and existing links are never modified. This makes it useful for SEO hygiene, internal linking, and turning recurring terms into consistent references without editing each post manually.

How it works

Create one or more injection rules. Each rule includes: * A phrase (whole-word matching is always used) * A destination URL (internal relative links or external URLs) * Optional settings like case sensitivity, where it applies, and how often it triggers

When a post or page is displayed, the plugin scans only the text portions of the content and injects links where appropriate. It will not touch phrases inside existing <a> tags, and it skips script and style blocks to avoid breaking markup.

Targeting and control

Rules can be scoped and prioritized so you stay in control when phrases overlap or your site grows. * Post type targeting: apply a rule to Posts, Pages, or both * Priority ordering: lower numbers win when multiple rules could match the same spot * Tie-breaking: if priorities match, newer rules win

Occurrence options

Control how frequently each phrase is linked: * First * First + every Nth * Every Nth * All

This is useful when you want a light touch on long articles.

External links done properly

When a rule points to an external URL, the plugin: * Adds target="_blank" * Ensures rel includes noopener noreferrer * Lets you append additional rel tokens like nofollow or sponsored

Relative URLs stay relative and do not get target="_blank".

Built for safety and performance

  • No recursion into the_content
  • Processes content safely by splitting HTML and touching only text tokens
  • Skips existing <a> tags
  • Skips <script> and <style> blocks

Privacy and data

This plugin does not send any data off-site. Rules are stored locally in your WordPress database in a single option.

Uninstall

Uninstalling the plugin removes stored rules from your database.

Probado hasta
WordPress 6.9.1
Te puedes descargar este plugin para utilizarlo en tu sitio de .