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.



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

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://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 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.


30 de octubre de 2022
3 de septiembre de 2016
all cloacked links are redirected to my homepage, instead of target links.
Read all 4 reviews

Contributors & Developers

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


Translate “anyLink” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



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


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


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


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


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


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


  • 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把内链误判为外链


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


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


  • 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 以下为中文更新内容
  • 增加了对自定义类型文章的支持
  • 允许用户通过后台设置哪些类型的文章进行转换,哪些不需要进行转换
  • 最重要的是每次你更改这些设置时都不需要重新生成索引。


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


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


  • 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


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