[WordPress] 外掛分享: GT Link Manager

首頁外掛目錄 › GT Link Manager
WordPress 外掛 GT Link Manager 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.4+ PHP 8.0+ v1.5.3 上架:2026-03-20

內容簡介

GT Link Manager 是一款高效能的品牌連結管理外掛,專為 WordPress 設計。它將連結儲存在自訂資料庫表中,並在初始化時快速解析重定向,確保網站在擁有數千個連結的情況下仍能保持快速。

【主要功能】
• 快速直接重定向,無需載入完整佈景主題
• 支援 301、302 和 307 重定向類型
• 可設定 rel 屬性以符合 SEO 要求
• 支援 noindex 標頭以防止搜尋引擎索引
• 分類與標籤功能,組織連結
• 管理員列表可搜尋、過濾和批次操作

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「GT Link Manager」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

GT Link Manager is a high-performance branded link manager for WordPress. It stores links in custom database tables (not custom post types), resolves redirects early on init, and keeps your site fast — even with thousands of links.
Your links follow a clean URL pattern: yoursite.com/go/your-slug (the prefix is configurable).
Official Page & Documentation
Why GT Link Manager?
Most link management plugins use custom post types, which means every redirect loads the full WordPress template stack. GT Link Manager takes a different approach — it intercepts the request early, looks up the slug in a UNIQUE-indexed database column, sends the redirect header, and exits. No theme loading, no unnecessary queries.
Key Features

Fast direct redirects — resolves links on init (priority 0) via direct DB lookup, no CPT overhead
301, 302, and 307 redirects — choose the right redirect type for SEO, temporary, or method-preserving redirects
Rel attribute controls — set nofollow, sponsored, and ugc per link for proper SEO attribution
Noindex support — sends X-Robots-Tag: noindex header to prevent search engines from indexing redirect URLs
Categories and tags — organize links into categories with parent/child hierarchy and free-form tags
Full admin list table — search, filter by category/status, sort by any column, and perform bulk actions
Quick Edit — update URL, slug, redirect type, rel, category, and status inline without leaving the list
Activate / Deactivate — disable a link without deleting it; inactive links stop redirecting but stay in the database
Trash and restore — soft-delete links to trash with the option to restore or permanently delete
CSV import and export — import links from CSV with column mapping preview, or export filtered links; includes LinkCentral and Pretty Links compatible presets
Block editor integration — a toolbar button lets you search your links and insert them directly into post content
Branded URL preview — see the full branded URL as you type, with one-click copy
Click stats — can be activated to track link clicks
Developer-friendly — actions and filters for redirect interception, URL modification, capability control, cache TTL, and more

Developer Hooks
GT Link Manager provides a comprehensive set of hooks for customization:

gtlm_before_redirect — action fired before redirect (use for click tracking or logging)
gtlm_redirect_url — filter to modify the destination URL
gtlm_redirect_code — filter to modify the HTTP status code
gtlm_rel_attributes — filter to modify rel attribute values
gtlm_headers — filter to modify redirect response headers
gtlm_prefix — filter to override the URL prefix
gtlm_capabilities — filter to override the required user capability
gtlm_cache_ttl — filter to set object cache TTL for link lookups

Source Code
The block editor assets (blocks/link-inserter/build/) are compiled from the source at blocks/link-inserter/src/ using @wordpress/scripts. The full source code is available in this plugin and on GitHub at https://github.com/wpgaurav/gt-link-manager.
To build from source:
cd blocks/link-inserter && npm install && npm run build

延伸相關外掛

文章
Filter
Apply Filters
Mastodon