Title: anyLink
Author: SivaDu
Published: <strong>2013 年 9 月 9 日</strong>
Last modified: 2016 年 6 月 21 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/anylink.svg)

# anyLink

 由 [SivaDu](https://profiles.wordpress.org/sivadu/) 開發

[下載](https://downloads.wordpress.org/plugin/anylink.0.3.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/anylink/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/anylink/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/anylink/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/anylink/#developers)

 [技術支援](https://wordpress.org/support/plugin/anylink/)

## 外掛說明

Anylink 是一款链接转换插件，它可以把长链接转换成短链接，也可以将外部链接转换成内部
链接，同时还可以隐藏真实的链接地址。它不会修改wordpress自带的数据库，也不会修改文章
中的任何内容，无论什么时候都不会影响到你数据的完整性。是同类软件中安全性较高、方便
灵活的轻量级软件。

Anylink allows you to covert the external links in your WordPress to internal links.
Of course, it’s automatically. It’s advantage
 is that Anylink Plugin doesn’t destroy
your data in WordPress, which means once you removed it, you needn’t do anything
to your posts.

Also, you can customise the style of the link, such as its length, component, etc.
You can customise the redirect type(http status) such as
 301, 307 as well.

Mainly feature:

 * covert external links to internal links, e.g. http://wordpress.org -> http://
   yourdomain/goto/a1b2
 * customise the redirect category, e.g. you can change “goto” in the link above
   to any word you like
 * allow you change the components of the slug, by default it’s 4 letters and numbers.
   e.g. a1b2
 * you can customise the redirect http status code, such as 301, 307

## 螢幕擷圖

[[

## 安裝方式

 1. Upload `anylink.zip` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Scan all your post for the first time.

## 常見問題集

  What to do after installation?

Once Anylink is installed in your wordpress, you need running scan for the first
time. Anylink will scan all your posts and grab all the
 external links.

## 使用者評論

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

### 󠀁[Great Works!](https://wordpress.org/support/topic/great-works-25/)󠁿

 [ililia](https://profiles.wordpress.org/ililia/) 2024 年 7 月 26 日

Great Plugins！ What is my indeed needed! Thanks. Any change to update it?

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

### 󠀁[非常好用](https://wordpress.org/support/topic/%e9%9d%9e%e5%b8%b8%e5%a5%bd%e7%94%a8-12/)󠁿

 [iwyc](https://profiles.wordpress.org/iwyc/) 2022 年 10 月 30 日

安装之后记得在“操作”选项卡里建立索引。

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

### 󠀁[这么牛逼的插件，居然没人评论？](https://wordpress.org/support/topic/%e8%bf%99%e4%b9%88%e7%89%9b%e9%80%bc%e7%9a%84%e6%8f%92%e4%bb%b6%ef%bc%8c%e5%b1%85%e7%84%b6%e6%b2%a1%e4%ba%ba%e8%af%84%e8%ae%ba%ef%bc%9f/)󠁿

 [fafa258](https://profiles.wordpress.org/fafa258/) 2020 年 7 月 18 日

这么牛逼的插件，居然没人评论？ 感谢插件作者。

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

### 󠀁[It doesn't work](https://wordpress.org/support/topic/it-doesnt-work-95/)󠁿

 [Lothar](https://profiles.wordpress.org/papercraftsquare/) 2016 年 9 月 3 日

all cloacked links are redirected to my homepage, instead of target links.

 [ 閱讀全部 5 則使用者評論 ](https://wordpress.org/support/plugin/anylink/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈anyLink〉的開發相關工作。

參與者

 *   [ SivaDu ](https://profiles.wordpress.org/sivadu/)

[將〈anyLink〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/anylink)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/anylink/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/anylink/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/anylink/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/anylink/)。

## 變更記錄

#### 0.3.1

 * 修复了上一个版本中一些问题

#### 0.3.0

 * 增加了白名单设置，所有白名单中的链接都不会自动生成内部链接，如果白名单中的是域
   名，则含有该域名的所有链接都不转换
 * 在发表文章界面增加了一个控制开关，如果该选项被选中，那么该文章中的所有链接都不会
   进行转换
 * 增加捐助选项，希望大家以各种方式支持anylink的持续开发

#### 0.2.4

 * 修复了使用第三方编辑器（如 UEditor）时造成的链接不能转换问题
 * 修复了在PHP5.5下出现的代码中断问题

#### 0.2

 * 增加了对评论中出现的链接的转换
 * 更新了部分代码
 * 优化性能，减少资源开支

#### 0.1.9

 * 修改了Javascript跳转方式，不再依赖于.htaccess配置文件
 * 优化了部分代码，性能得到一定提升

#### 0.1.8

 * Fixed a bug which cause fatal error
 * 修复了一个严重bug

#### 0.1.7

 * Fixed some bugs may cause links missing
 * optmized codes
 * add the option which allows you set attribute REL of a link
 * 为链接增加了rel选项功能
 * 代码优化
 * 修复了一个bug，该bug可能引起anylink把内链误判为外链

#### 0.1.6

 * Fixed some bugs cause 404 error
 * Fixed a bug which may cause collison with other plugins
 * 修复了一些可能会引起插件造成404错误的bug
 * 修复了与其他插件存在潜在冲突的bug

#### 0.1.5

 * Add a method anylink() you can call it anywhere. e.g. anylink( ‘http://dudo.org’,
   get_the_ID() ) you will get a coverted link
 * another example:
 * 增加了一个 anylink()方法，接受两个参数，第一个为需要转换的链接，第二个为文章ID，
   如果文章ID为空则默认为0
 * 使用方法如下

#### 0.1.4

 * Fully support custom post types.
 * You can custom which post types to be coverted which not.
 * Most important, you needn’t regenerate index once you change these settings
 * Change log in Chinese below 以下为中文更新内容
 * 增加了对自定义类型文章的支持
 * 允许用户通过后台设置哪些类型的文章进行转换，哪些不需要进行转换
 * 最重要的是每次你更改这些设置时都不需要重新生成索引。

#### 0.1.3

 * Fixed redirect problems, e.g. you can redirect url like http://dudo.org/…/url
   =http://…

#### 0.1.2

 * Fixed some bugs in previous version
 * Customed post type posts supported
 * Javascript to redirect a page is available now

#### 0.1.1

 * Fixed some bugs in v0.1
 * Both English and Chinese languages are now supported
 * POT file is supplied, so you can tranlate it into your own language as well

#### 0.1

 * Covert all the external links to internal links by default
 * Customise your link type
 * Customise redirect http status code

## 中繼資料

 *  版本 **0.3.1**
 *  最後更新 **10 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 3.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.5.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/anylink/)
 * 標籤:
 * [seo](https://tw.wordpress.org/plugins/tags/seo/)[short url](https://tw.wordpress.org/plugins/tags/short-url/)
 *  [進階檢視](https://tw.wordpress.org/plugins/anylink/advanced/)

## 評分

 4.2 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/anylink/reviews/)

## 參與者

 *   [ SivaDu ](https://profiles.wordpress.org/sivadu/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/anylink/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://dudo.org/)