內容簡介
- 這個外掛是一個簡約的反向連結追蹤工具,基於分類法。
- 外掛會維護一個分類法,用來記錄哪個文章連結到哪個文章。這個分類法大部分是看不見的,但透過 REST 可以存取。
- 當文章被發佈、排程或更新時,反向連結分類法會自動更新。
- 反向連結數量分類法同樣可以追蹤每個文章有多少反向連結。
- 使用者介面
- 反向連結分類法可以在「查詢迴圈區塊」中使用,用於創建動態的「這裡的連結」區塊。
- 反向連結數量分類法可以在管理介面上用於篩選顯示的文章,這是一種方便查找沒有或只有少數反向連結的文章的方式。
- 管理介面的文章清單中對於每篇文章都新增了一個「建議反向連結」功能,可以找到具有相同標籤和分類的文章,並且這些文章尚未與該文章連結。
- 管理介面的文章清單中還有一個「反向連結」欄位,顯示該文章的反向連結數量。點擊欄位將顯示反向連結。該欄位可以進行排序。該欄位還顯示了外向連結的數量,也可以點擊。
- 這個外掛添加了一個 WP-CLI 命令「backlinks」,其中包含對文章進行重新掃描(全部或指定)、獲取總體狀態、顯示連結到和從單個文章的連結,以及根據分類和標籤生成其他連結建議的子命令。
- 設定頁面非常基本,但可以設定作用的文章類型和選擇的文章狀態。
請注意,稍後更改這些參數很可能需要使用 WP-CLI 的「backlinks rescan」命令進行完整重新掃描。
外掛標籤
開發者團隊
原文外掛簡介
This plugin is a minimalist backlink tracker. It keeps track of all internal links between posts using taxonomies.
The plugin maintains a taxonomy of which posts links to which. The taxonomy is mostly invisible, but available through REST.
The backlink taxonomy is updated automatically whenever a post is published, scheduled or later updated. By registering the outgoing links of all posts it is easy to find the incoming links for any one post.
User Interface
The plugin most works behind the scenes, scanning posts for internal links whenever the posts are updated.
The backlink taxonomy is available for the Query Loop block, which can be used to create a dynamic “What links here” block.
The backlink_count taxonomy can be used to filter the displayed posts on the posts lists of the admin interface. This is a handy way of finding posts with no or few incoming links.
The admin posts list has a “Suggest Backlinks” added for each row, which will find posts with shared tags and categories, that are not already linked from the post. If there are shared public custom taxonomies, they will be used too.
The admin posts list also has a ‘Backlinks’ column available, showing the number of backlinks for the post. Clicking on the column will show a list of the backlinks. The column is sortable. The column also shows the number of outgoing links, also clickable.
A management page under the Tools menu can show the backlinks status of all posts, with columns for incoming and outgoing links, and commands for rescanning or ‘un-scanning’ posts.
The settings pages is rather basic, but allows the setting of post types to operate on (default posts and pages), and post statuses to select on (default published and scheduled).
Un-scanned posts, for example just after activation of the plugin or after a change of settings, are scanned in the background at bit at a time. During normal usage there should never be a backlog of un-scanned posts.
The Backlinks Taxonomy plugin works with custom post types, and will use available custom taxonomies for backlink suggestions.
WP-CLI interface
The plugin adds a WP-CLI command ‘backlinks’ with several sub-commands.
There are commands to:
Show all outgoing and incoming links for a single post;
Show backlink suggestions for a single post;
Show the overall status of the backlink counters;
Rescan individual posts for links;
List all un-scanned posts.
