plugin-icon

Loyalty Links

제작자: Jose Mortellaro·
Conditionally break external links based on referrer history.
버전
1.0.1
최근 업데이트일
Feb 14, 2026
Loyalty Links

Loyalty Links is a WordPress plugin that implements a “give and take” approach to external linking. The plugin tracks which external domains have sent visitors to your site via referrers, and only allows links to those domains to remain functional. Links to domains that haven’t recently referred visitors are “broken” (href changed to “#”) while remaining visible on the page.

Key Features

  • Referrer Tracking: Automatically tracks external domains that send visitors to your site
  • Dynamic Link Breaking: Links to domains without recent referrers are automatically disabled
  • Selective Monitoring: Only monitor specific domains you choose – other external links remain untouched
  • Configurable Retention: Set how many days to retain referrer records (default: 30 days)
  • Test Mode: Add test domains to verify functionality without waiting for actual referrals
  • Cache-Friendly: Uses REST API endpoints for dynamic data, compatible with WP Rocket, WP Fastest Cache, and other caching plugins
  • Performance Optimized: Asynchronous script loading and efficient database operations

How It Works

  1. Track Referrers: When a visitor arrives from an external domain (in your monitored list), JavaScript sends the referrer information to a REST API endpoint which records the domain, timestamp, and increments the visit count
  2. Approve Domains: Domains that have sent referrers within your retention period are considered “approved”
  3. Break Links: Links pointing to non-approved domains have their href changed to # and pointer-events: none applied
  4. Real-Time Updates: Approved domains are fetched dynamically via REST API, ensuring cache compatibility

Use Cases

  • Encourage reciprocal linking by only allowing functional links to sites that link back to you
  • Create a “loyalty” system where sites that send traffic get link benefits
  • Test link management strategies without manual intervention
  • Maintain link quality by prioritizing domains that drive traffic
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.9.1
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.