Title: anyLink
Author: SivaDu
Published: <strong>September 9, 2013</strong>
Last modified: June 21, 2016

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# anyLink

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

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

 * [Details](https://pcd.wordpress.org/plugins/anylink/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/anylink/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/anylink/#installation)
 * [Development](https://pcd.wordpress.org/plugins/anylink/#developers)

 [Support](https://wordpress.org/support/plugin/anylink/)

## Description

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

## Screenshots

 * [[

## Installation

 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.

## FAQ

  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.

## Reviews

![](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/) July 26, 2024

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/) October 30, 2022

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

![](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/) July 18, 2020

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

![](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/) September 3, 2016

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

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/anylink/reviews/)

## Contributors & Developers

“anyLink” is open source software. The following people have contributed to this
plugin.

Contributors

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

[Translate “anyLink” into your language.](https://translate.wordpress.org/projects/wp-plugins/anylink)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/anylink/), check out
the [SVN repository](https://plugins.svn.wordpress.org/anylink/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/anylink/) by [RSS](https://plugins.trac.wordpress.org/log/anylink/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **0.3.1**
 *  Last updated **10 years ago**
 *  Active installations **100+**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/anylink/)
 * Tags
 * [seo](https://pcd.wordpress.org/plugins/tags/seo/)[short url](https://pcd.wordpress.org/plugins/tags/short-url/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/anylink/advanced/)

## Ratings

 4.2 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/anylink/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/anylink/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/anylink/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://dudo.org/)