Title: Link Obfuscator par Benjamin Thiers
Author: Benjamin Thiers
Published: <strong>2026 年 6 月 1 日</strong>
Last modified: 2026 年 6 月 1 日

---

搜索插件

![](https://ps.w.org/bthiers-link-obfuscator/assets/icon-256x256.png?rev=3556319)

# Link Obfuscator par Benjamin Thiers

 作者：[Benjamin Thiers](https://profiles.wordpress.org/bthiers/)

[下载](https://downloads.wordpress.org/plugin/bthiers-link-obfuscator.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/bthiers-link-obfuscator/)

## 描述

**Link Obfuscator par Benjamin Thiers** hides specific URLs from SEO bots and crawlers.
The anchor text is visible immediately on page load (with configurable color and
underline). The actual `<a href>` tag is only injected on the first human interaction—
Google never sees the URL.

This is ideal for:

 * Affiliate links you don’t want indexed or followed
 * Private or partner URLs
 * Any link you want to keep out of search engine results

#### How it works

The URL is encoded server-side (base64, charcode, ROT13, hex, or chunk redirect).
A `<span>` with ARIA attributes (`role="link"`, `aria-label`) is rendered in its
place. On the first mouse, touch or keyboard interaction, JavaScript decodes the
URL and injects the real `<a>` tag — making it fully accessible to human users while
remaining invisible to crawlers.

#### Features

 * 5 obfuscation methods: Base64, CharCode, ROT13, Hex, Redirect
 * Shortcode `[linkobf_link]` and native Gutenberg block
 * Configurable link color and underline per link
 * Custom CSS class assignable to each link
 * Accessible: `role="link"`, `aria-label`, keyboard navigation (`tabindex`)
 * Built-in shortcode generator in the settings page
 * No external dependencies, no tracking

#### Accessibility

Each obfuscated link renders as a `<span>` with `role="link"` and `aria-label`, 
so screen readers announce it correctly. Keyboard users can tab to it and activate
it with Enter or Space. This meets RGAA and WCAG 2.1 Level AA requirements for links.

#### Privacy

This plugin does not collect, store or transmit any personal data. It is fully compatible
with GDPR requirements. No cookies are set.

## 区块

该插件提供了 1 个区块.

 *   Obfuscated Link

## 安装

 1. Upload the `bthiers-link-obfuscator` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **Settings > Link Obfuscator** to use the shortcode generator.

## 常见问题

### Does this work with the Gutenberg block editor?

Yes. A native block called “Obfuscated Link” is available directly in the block 
editor. Search for it by name in the block inserter.

### Which obfuscation method should I use?

Base64 is the default and works well for most use cases. All methods are decoded
client-side via JavaScript — choose based on your preference. None of them are cryptographically
secure; the goal is to prevent crawlers from indexing the URL, not to protect sensitive
data.

### What do crawlers see?

They see a `<span>` with text and ARIA attributes. No `href`, no URL. Example:
 
My link

### Does it work if JavaScript is disabled?

No. The link injection relies on JavaScript. If JS is disabled, the visitor will
see the anchor text but won’t be able to click through. This is expected behavior
for an obfuscation plugin.

### Is it compatible with caching plugins?

Yes. The obfuscation is done server-side at render time. The resulting HTML is static
and cacheable. The JavaScript injection happens client-side on interaction.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Link Obfuscator par Benjamin Thiers」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Benjamin Thiers ](https://profiles.wordpress.org/bthiers/)

[帮助将「Link Obfuscator par Benjamin Thiers」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bthiers-link-obfuscator)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial release.
 * Shortcode `[linkobf_link]` with 5 obfuscation methods.
 * Native Gutenberg block.
 * Settings page with shortcode generator and live preview.
 * RGAA/WCAG accessibility compliance.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**4 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **7.0.7**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/bthiers-link-obfuscator/)
 * 标签
 * [accessibility](https://cn.wordpress.org/plugins/tags/accessibility/)[affiliate links](https://cn.wordpress.org/plugins/tags/affiliate-links/)
   [obfuscator](https://cn.wordpress.org/plugins/tags/obfuscator/)[seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/bthiers-link-obfuscator/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/bthiers-link-obfuscator/reviews/#new-post)

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

## 贡献者

 *   [ Benjamin Thiers ](https://profiles.wordpress.org/bthiers/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/bthiers-link-obfuscator/)