Link Obfuscator par Benjamin Thiers

Link Obfuscator par Benjamin Thiers

Details
View on WordPress

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.

Details

Plugin code:
bthiers-link-obfuscator
Plugin version:
1.0.0
Outdated:
No
WP version:
5.8 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-06-01
Rating:
Times rated:
0
accessibility
affiliate-links
link-obfuscation
obfuscator
seo