Title: Loyalty Links
Author: Jose Mortellaro
Published: <strong>2026년 2월 14일</strong>
Last modified: 2026년 10월 1일

---

플러그인 검색

![](https://ps.w.org/loyalty-links/assets/banner-772x250.png?rev=3461212)

![](https://ps.w.org/loyalty-links/assets/icon-256x256.png?rev=3461212)

# Loyalty Links

 작성자: [Jose Mortellaro](https://profiles.wordpress.org/giuse/)

[다운로드](https://downloads.wordpress.org/plugin/loyalty-links.1.0.1.zip)

 * [세부사항](https://ko.wordpress.org/plugins/loyalty-links/#description)
 * [평가](https://ko.wordpress.org/plugins/loyalty-links/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/loyalty-links/#installation)
 * [개발](https://ko.wordpress.org/plugins/loyalty-links/#developers)

 [지원](https://wordpress.org/support/plugin/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

## 설치

#### Automatic Installation

 1. Go to Plugins  Add New in your WordPress admin
 2. Search for “Loyalty Links”
 3. Click “Install Now” and then “Activate”

#### Configuration

 1. Navigate to **Settings  Loyality Links**
 2. Add domains to monitor (one per line) in the “Domain List” field
 3. Set “Retention Days” (how long to remember referrers)
 4. Optionally add test domains to verify functionality
 5. Click “Save Settings”

## FAQ

### How does the plugin track referrers?

The plugin uses JavaScript to read `document.referrer` on each page load and sends
it to a REST API endpoint via AJAX. If the referrer is from an external domain in
your monitored list, the endpoint records the domain, current timestamp, and increments
the visit count.
 This cache-friendly approach allows your HTML to be fully cached
while tracking happens client-side. The tracking request is sent asynchronously 
and doesn’t block page rendering, so it won’t slow down your page load times.

### Will this work with caching plugins?

Yes! The plugin is designed to be cache-friendly. It uses REST API endpoints to 
fetch approved domains dynamically, so your HTML can be fully cached while link-
breaking logic remains real-time.

### What happens to links that are broken?

Broken links remain visible on the page but:
 * Their `href` attribute is changed
to `#` * `pointer-events: none` is applied to prevent interaction * CSS classes `
is-broken-link` and `loyalty-links-broken` are added for styling * The original `
href` is stored in `data-original-href` attribute

### Can I test the plugin without waiting for real referrers?

Yes! Use the “Test Domain” field in settings to add domains for testing. Test domains
are never approved, so their links will always be broken regardless of retention
settings.

### Does the plugin affect internal links?

No. Internal links (same domain) are never modified. Only external links pointing
to domains in your monitored list are processed.

### What if I don’t add any monitored domains?

If your monitored domains list is empty, the plugin won’t track any referrers and
won’t modify any links. It’s effectively disabled until you add domains to monitor.

### How are domains normalized?

The plugin automatically removes the `www.` prefix and converts domains to lowercase
for consistency. Both `example.com` and `www.example.com` are treated as the same
domain.

### Can I use this with other link management plugins?

The plugin only modifies links to domains in your monitored list. Other external
links remain untouched, so it should be compatible with most other plugins. However,
test thoroughly if using multiple link-related plugins.

### What’s the performance impact?

Minimal. The plugin:
 * Loads JavaScript asynchronously * Uses REST API for dynamic
data (doesn’t block page rendering) * Tracks referrers client-side via JavaScript(
cache-friendly) * Runs cleanup on only 1% of requests to avoid performance impact

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Loyalty Links”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 
기여하였습니다.

기여자

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

[자국어로 “Loyalty Links”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/loyalty-links)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/loyalty-links/)는, [SVN 저장소](https://plugins.svn.wordpress.org/loyalty-links/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/loyalty-links/)
을 [RSS](https://plugins.trac.wordpress.org/log/loyalty-links/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.0.1

 * Added “Settings” link on the Plugins page (quick access to Loyalty Links settings)
 * Added “Documentation” link on the Plugins page (configuration guide on WordPress.
   org)

#### 1.0.0

 * Initial release
 * JavaScript-based referrer tracking via REST API (cache-friendly)
 * Visit count tracking for monitored domains
 * Dynamic link breaking based on referrer history
 * Admin settings page with domain management and visit counts
 * Configurable retention period
 * Test domain functionality
 * REST API endpoints for cache-friendly operation (approved domains and referrer
   tracking)
 * Performance optimizations (async loading, efficient DB operations)
 * MutationObserver for dynamic content support

## 기초

 *  버전 **1.0.1**
 *  최근 업데이트: **2주 전**
 *  활성화된 설치 **10보다 적음**
 *  워드프레스 버전 ** 5.0 또는 그 이상 **
 *  다음까지 시험됨: **7.1.3**
 *  PHP 버전 ** 7.4 또는 그 이상 **
 *  언어
 * [English (US)](https://wordpress.org/plugins/loyalty-links/)
 * 태그:
 * [external links](https://ko.wordpress.org/plugins/tags/external-links/)[link management](https://ko.wordpress.org/plugins/tags/link-management/)
   [links](https://ko.wordpress.org/plugins/tags/links/)[referrer](https://ko.wordpress.org/plugins/tags/referrer/)
 *  [고급 보기](https://ko.wordpress.org/plugins/loyalty-links/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/loyalty-links/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/loyalty-links/reviews/)

## 기여자

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/loyalty-links/)