內容簡介
Half Baked Link Injection 可讓你建立自動替換規則,當 WordPress 輸出文章或頁面內容時,將指定的關鍵字詞自動轉為超連結,適用於 SEO 優化、內部連結佈局,免逐篇手動編輯。
【主要功能】
• 以整詞比對方式自動將指定詞彙轉為連結
• 可依文章類型(文章、頁面)限定規則適用範圍
• 提供優先順序設定,避免規則重疊衝突
• 支援「僅首次」「每隔 N 次」「全部」等出現頻率控制
• 外部連結自動加上 target="_blank" 與 noopener noreferrer
• 不修改既有連結,自動跳過 script 與 style 區塊
外掛標籤
開發者團隊
原文外掛簡介
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 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 tags
Skips
