Linux 软件免费装
Banner图

Link Angel — Automatic Internal Linking

开发者 ravenx25
更新时间 2026年11月22日 07:42
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

seo keywords linking internal links auto link

下载

1.0.3

详情介绍:

Link Angel turns mentions in your posts into internal links, so every new article is connected into your site's link graph without manual work. Link Angel is from Locker Forge, where the product page covers support and updates. Zero-config automatic mode. Activate the plugin and it starts linking exact mentions of your published post and page titles to those posts. Safe guards are built in: titles must have at least two words and six characters, titles made only of common words (like "About Us") are ignored, duplicate titles are never used, the front page and password-protected posts are excluded, and at most three links are added per page in total. There is no setup wizard. Keyword rules. Add your own keyword to URL rules with comma-separated variants for synonyms (for example "Ghostface, Ghost Face"). Rules take priority over automatic links. Targets can be full URLs or site paths such as /freddy-krueger/. Default rules. On activation a small default rule set is added, but only for rules whose target page is published on your site, so no dead links are created. Two example sets ship side by side: horror names — Michael Myers, Jason Voorhees, Freddy Krueger, Chucky (Charles Lee Ray), Ghostface (Ghost Face), Pinhead and Cenobites — and neutral site pages — Getting Started, Frequently Asked Questions (FAQ), Contact Us and Privacy Policy. Common human names are only linked as full names, so a bare "Michael" or "Jason" is never linked. Edit or delete any default rule under Link Angel > Keyword Rules. One shared link limit. Keyword-rule links and automatic title links draw from one budget: 3 links per page in total by default, adjustable under Link Angel > Settings. Safe HTML handling. Per-post control. A meta box on every post lets you disable auto-linking on that post, stop other posts from auto-linking to it, and add post-specific rules. Settings. Max links per page (shared by keyword and automatic links), open in a new tab, rel attributes, rule priority order, post types, CSS class and skip classes. Privacy. Link Angel makes no external HTTP requests, contains no tracking or telemetry and stores nothing about your visitors. There are no front-end ads or upsells. Made by Locker Forge — lean WordPress plugins and theme suites, built and supported by the developer.

安装:

  1. Upload the link-angel folder to /wp-content/plugins/, or install the zip from Plugins > Add New > Upload Plugin.
  2. Activate the plugin. Automatic title linking starts as soon as the first background build of the title index finishes, usually within a minute (it needs WP-Cron or a server cron job; the Keyword Rules screen also has a "Rebuild title index" button that queues a fresh background build).
  3. Optional: add keyword rules under Link Angel > Keyword Rules and adjust Link Angel > Settings.
If you use a page cache, clear it after activating so cached pages pick up the new links. When you change rules or settings, Link Angel asks LiteSpeed Cache, WP Rocket, W3 Total Cache and SiteGround Optimizer (whichever is active) to purge their whole page cache. Other page caches are not purged automatically; clear them by hand, or hook the linkangel/purge_page_cache action.

屏幕截图:

  • Settings screen.
  • Per-post Link Angel box.

升级注意事项:

1.0.3 Automatic linking keeps working while the title index refreshes, index coverage is always shown, more page caches are purged, and claims in the readme match the code. 1.0.2 Cenobites gets its own default rule, linking to its own page. 1.0.1 Renamed to Link Angel. One shared limit of 3 links per page, full-name default rules. 1.0.0 Initial release.

常见问题:

Do I have to configure anything?

No. Automatic mode is on by default. Keyword rules are an optional extra layer.

Will it link inside my headings or existing links?

No. Headings (h1 to h6), existing links, code and pre blocks, captions, buttons, form fields, scripts and styles are always skipped, as are all HTML attributes such as image alt text.

How are shortcodes handled?

Link Angel runs on the_content at priority 10, before WordPress expands shortcodes at priority 11. Shortcodes still in the content at that point, and everything between their opening and closing tags, are protected while linking and restored unchanged, so the output WordPress generates for them afterwards is not linked. This protection covers shortcode tags only. Anything already rendered to HTML before priority 10 is treated like normal post text and can receive links: dynamic blocks (WordPress renders them at priority 9), and shortcodes or markup that another plugin or theme expands on an earlier filter. Headings, existing links, code, captions, buttons and skip classes are still respected inside that HTML. To keep such output link-free, give its wrapper the no-linkangel class, add data-linkangel="off", or wrap it in <!-- linkangel:off --> and <!-- linkangel:on -->.

Can I keep part of a post free of links?

Yes. Wrap it in <!-- linkangel:off --> and <!-- linkangel:on -->, or give an element the class no-linkangel (configurable), or add data-linkangel="off" to it.

How do I stop linking on one post?

Tick "Disable auto-linking on this post" in the Link Angel box in the editor sidebar.

Does it slow my site down?

Your titles are kept in one cached index, grouped by their first word. For each word on a page, Link Angel checks only the indexed titles that begin with that word, so the matching work grows mainly with the length of the page rather than with the number of posts. It is not completely independent of site size: each linked page view loads the whole index in one database read (bigger on sites with many titles), and words that begin many titles (for example "The") have more candidates to check. The index is rebuilt in the background (WP-Cron) when posts are published, updated or deleted, never during a visitor's page view. While a rebuild is pending, the previous index keeps working, so new or renamed titles are linked once the rebuild finishes. If the index is missing or a rebuild is overdue, Link Angel shows a notice in the admin. Page views do not store anything; at most they queue that background job when one is due.

Does it phone home or track anything?

No. There are no external requests and no tracking of any kind.

How do I translate it?

The text domain is link-angel-automatic-internal-linking. A template is included at languages/link-angel-automatic-internal-linking.pot. To regenerate it run wp i18n make-pot . languages/link-angel-automatic-internal-linking.pot --slug=link-angel-automatic-internal-linking from the plugin folder with WP-CLI.

Developer hooks

  • linkangel/should_process (bool, WP_Post) decides whether a post is processed.
  • linkangel/linked_content (array, WP_Post) filters the result.
  • linkangel/default_rules (array) changes the default rule set added on activation.
  • linkangel/auto_target_types and linkangel/stopwords tune automatic mode.
  • linkangel/auto_index_limit (int) sets how many posts the title index reads, newest first. The default is 20,000, which keeps memory use bounded on very large sites; return 0 to index every eligible post. When the ceiling applies, the Keyword Rules screen shows the coverage ("covers X of Y eligible posts") and Link Angel screens show a partial-coverage notice.
  • linkangel/auto_index_batch (int) sets how many posts each index-build query reads (default 2000).
  • linkangel/purge_page_cache (action, array of purged cache names) fires after rule or settings changes, for other cache integrations.
  • linkangel/tip_url and the LINKANGEL_TIP_URL constant set the optional tip link.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0