
內容簡介
Magic Linking 是一款強大的內部連結管理外掛,能在編輯時提供內部連結建議,並允許用戶輕鬆添加連結。它還能追蹤連結歷史,並報告孤立頁面、連結不足或過多的頁面,以及損壞的內部連結,幫助提升網站的SEO表現。
【主要功能】
• 提供內部連結建議,簡化連結添加過程
• 追蹤連結歷史,支持撤銷與重做
• 報告孤立頁面與連結狀況,提升內容質量
外掛標籤
開發者團隊
② 後台搜尋「Magic Linking – Internal Links」→ 直接安裝(推薦)
原文外掛簡介
Magic Linking suggests internal links while you write, adds the one you choose without touching anything else, and keeps a history so you can undo it. It also reports which of your entries are orphans, under-linked, over-linked or have broken internal links.
It works entirely on your server, with no artificial intelligence, no account, no key, no external service and no limits.
In the editor
Outbound suggestions: a Magic Linking panel in the block editor (and a box in the classic editor) proposes phrases of the text you are writing that could link to other entries of your site. Each suggestion shows the phrase with the anchor text highlighted in the editor, the destination and the reason.
One click to link: press Link and the link is added in the editor itself, on that phrase only. It is part of your unsaved changes until you save, and you can undo it with the Undo button of the card or with the editor’s own undo.
Inbound suggestions: the same panel lists other entries whose text mentions the one you are editing and could link to it. Pressing Link writes the link in that other entry, see “How and when it changes your content”.
Only the entries and block types where a link can be inserted safely are proposed. Paragraphs and lists are always used; headings, quotes and tables are left alone unless you turn them on in Settings (or a developer allows them with a filter).
Dismiss: a suggestion you do not want can be dismissed for good, from either side, and restored with Undo.
How and when it changes your content
Nothing is changed until you press Link on a suggestion. There are no automatic changes and no background rewriting.
For the entry you have open, the link is inserted in the editor; saving is up to you.
For inbound suggestions, the link is written into the other entry on the server. Before saving, Magic Linking checks that the rest of that entry stays exactly as it was: only the link is added. If the check fails, it writes nothing and tells you why. WordPress keeps a revision of the entry as usual.
Every change is recorded in History, where you can undo it and redo it. Links you add from the editor panel are listed there too once you save the entry; Magic Linking only records them. Undo removes only that link; if the text around it was edited since, it tells you instead of guessing.
An entry that is open in someone’s editor is never modified from the server.
Links already written in your content are never removed or rewritten, except to undo a link Magic Linking added or when you fix a broken link from its list.
History
Every link Magic Linking changes is listed with who did it, when, where and the anchor text: links added from an inbound suggestion, links you add from the editor panel (they appear once you save the entry; Magic Linking only records them, and marks them as undone if you remove them and save) and fixes made from the broken links list.
Changes are grouped by entry, newest first, with a date on each one. Filter by status, source or title, switch to a view by batch, and undo or redo one change, all the changes of an entry, or a whole batch.
Undo and redo from the screen or with WP-CLI (wp magic-linking history undo --post=
The history is kept 90 days by default; you can choose 30 days, a year or forever.
Report
Orphan pages: entries that no other entry links to.
Under-linked pages: entries with some inbound links, but fewer than you consider enough (2 by default, you can change it).
Over-linked pages: entries with more internal links than one for every 100 words (you can change that too). A short text may always have one link.
Broken internal links: links to an entry that is in the trash, is a draft or private, or does not exist. The complete list, with the anchor text and the reason. Fix each one from the list: change its destination to another published entry, or remove the link and keep its text. Magic Linking checks that nothing else in the entry changes, and you can undo it from History.
Numbers for every entry: inbound, internal outbound, external and broken links.
Filters, search by title, sorting, pagination and CSV export of the view you are looking at.
Also
WP-CLI: analyse the site, print reports and manage the history from the terminal.
Multilingual: the language of each entry comes from WPML, Polylang or, if you use neither, from the site language. Suggestions never link entries of different languages.
Made for big sites: the analysis and the index of suggestions are built in the background in small batches with Action Scheduler (bundled), and every entry is updated when you save it. Suggestions for an entry are calculated in a few milliseconds even with thousands of entries.
Light: no scripts, no styles and no database queries from this plugin on your public pages.
Private: no external services, no telemetry, no cookies, no email requests, no notices outside its own screens.
What it does not do (in this version)
It does not use artificial intelligence. When it does, it will be only through the AI client and the Connectors screen that WordPress itself provides, never with keys or credit of its own, and always optional.
It does not check links over the network: a link is “broken” when it points to an address on your own site that leads nowhere, according to WordPress. Links to other sites are counted, not checked.
It does not suggest or add links automatically while you are away. Every link is a click of yours.
How links are counted
Only the links written inside the content of each entry are counted. Links in menus, widgets, theme templates or blocks that are pulled from somewhere else are not, so your home page or a page that is only linked from the menu can appear as an orphan.
Content that a page builder keeps outside the normal post content is not read. If your builder saves rendered HTML in the post content, it is read.
Inbound = how many different entries link to this one, counting only links that work. Outbound = internal links to other pages of your site; every appearance counts. A link to the same entry, to a file (uploads, PDF, images) or to mailto: and tel: addresses is not counted.
Category, tag, author, date and search pages, the home page and feeds are valid destinations and are never reported as broken.
Tracking parameters (utm_*, gclid, fbclid…) and anchors (#…) are ignored when matching a link to an entry.
Roadmap
Next: several phrases per destination and adjustable anchor text, automatic rules and, optionally, help from the AI connectors that WordPress already provides. None of that is in this version.
Support and documentation
Documentation and news: https://magiclinking.com
Questions and bug reports: use the support forum of this plugin on WordPress.org.
External services
Magic Linking does not connect to any external service.
Privacy
Magic Linking does not collect, store or send personal data. It stores, in your database, the addresses and anchor texts of the internal links found in your own content, a word index of your entries used for suggestions, counts per entry and a history of the links it has added or fixed, including those you add from the editor panel (which user, when, which entry and the text of the paragraph that changed, so it can be undone). The pairs (entry, target) of the suggestions you dismiss, with the user and the date, so they are not proposed again. It does not set cookies.
Third-party libraries
Action Scheduler (WooCommerce) 4.2.x, GPL-3.0-or-later, bundled in vendor/woocommerce/action-scheduler/. Used to run the analysis and the index in the background.
