Title: Local Links
Author: Robin Phillips
Published: <strong>2019 年 2 月 4 日</strong>
Last modified: 2026 年 2 月 4 日

---

搜索插件

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

![](https://ps.w.org/local-links/assets/icon.svg?rev=2024512)

# Local Links

 作者：[Robin Phillips](https://profiles.wordpress.org/avantman42/)

[下载](https://downloads.wordpress.org/plugin/local-links.4.10.zip)

 * [详情](https://cn.wordpress.org/plugins/local-links/#description)
 * [评价](https://cn.wordpress.org/plugins/local-links/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/local-links/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/local-links/#developers)

 [支持](https://wordpress.org/support/plugin/local-links/)

## 描述

This plugin was originally written for authors, but may be useful for others that
link to stores such as Amazon, Apple, and Kobo.

It will automatically edit links to various sites so that the user is directed to
their local site. It will work on existing links and new ones. Simply add links 
to your site as usual, and they will be rewritten on the fly to send your visitors
to their local site.

In addition, some tidying up of links is performed to remove extraneous junk. If
you have affiliate codes, the relevant code will be added to that store’s links.

Changes are only made in the user’s browser. WordPress posts and pages are not changed,
so if the plugin is deactivated or removed, they will return to their previous state.

Currently Supported Stores:

 * Amazon
 * Apple Books
 * Apple iTunes (audiobooks)
 * Kobo
 * Alibris
 * Google Play
 * AbeBooks
 * Barnes & Noble
 * Bookshop.org
 * OneBookShelf sites (DriveThruFiction, DriveThruCards, DriveThruComics, DriveThruRPG,
   Wargame Vault)
 * Smashwords

From version 4.1, Amazon Attribution links are supported. If a link has Amazon Attribution
tags, they will be retained. For more information about Amazon Attribution, see:
https://advertising.amazon.com/help?#GJXTJCLK4WTWTQWU

## 屏幕截图

 * [[
 * The settings page

## 安装

Some vendors require the [GeoIP Detection plugin](https://wordpress.org/plugins/geoip-detect/).
You may wish to install and configure that before continuing.

 1. Upload the plugin zip file using WordPress’ plugin installer, or install the plugin
    through the WordPress plugins screen directly (search for ‘Local Links Robin Phillips’)
 2. Optionally install, activate, and configure the [GeoIP Detection plugin](https://wordpress.org/plugins/geoip-detect/)
 3. Activate the plugin through the ‘Plugins’ screen in WordPress
 4. Use the Settings->Local Links screen to select which vendor links should be localised

## 评价

![](https://secure.gravatar.com/avatar/43d46312f5d19a152fa9064cc7620a561f004b653265f4019166affef9af1e33?
s=60&d=retro&r=g)

### 󠀁[Perfection!](https://wordpress.org/support/topic/perfection-104/)󠁿

 [anamelb](https://profiles.wordpress.org/anamelb/) 2023 年 4 月 7 日

My product pages look so much cleaner now! Added bonus that I can use affiliate 
links!

![](https://secure.gravatar.com/avatar/79a71257016b08907453058bd56b207365fdd1dae351ff7c170142b9d1408107?
s=60&d=retro&r=g)

### 󠀁[Simple and effective – just what I needed](https://wordpress.org/support/topic/simple-and-effective-just-what-i-needed-2/)󠁿

 [catherinepope](https://profiles.wordpress.org/catherinepope/) 2020 年 10 月 21
日

This is the plugin I’ve been seeking for a few years. It was very simple to set 
up and works perfectly. Thank you!

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/local-links/reviews/)

## 贡献者及开发者

「Local Links」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Robin Phillips ](https://profiles.wordpress.org/avantman42/)

[帮助将「Local Links」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/local-links)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/local-links/)，查看[SVN仓库](https://plugins.svn.wordpress.org/local-links/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/local-links/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/local-links/)。

## 更新日志

#### v4.10

 * Security improvements

#### v4.9

 * Users in Ireland now go to amazon.ie

#### v4.8

 * Bug fix: Bookshop.org affiliate links were not working properly.

## 额外信息

 *  版本 **4.10**
 *  最后更新：**2 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/local-links/)
 * 标签
 * [link](https://cn.wordpress.org/plugins/tags/link/)[links](https://cn.wordpress.org/plugins/tags/links/)
   [localise](https://cn.wordpress.org/plugins/tags/localise/)[localize](https://cn.wordpress.org/plugins/tags/localize/)
   [url](https://cn.wordpress.org/plugins/tags/url/)
 *  [高级视图](https://cn.wordpress.org/plugins/local-links/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/local-links/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/local-links/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/local-links/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/local-links/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/local-links/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/local-links/reviews/)

## 贡献者

 *   [ Robin Phillips ](https://profiles.wordpress.org/avantman42/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/local-links/)