JNofollow — Native Nofollow Plugin for Joomla 4 & 5
JNofollow manages the rel and target attributes for external links in your Joomla content. With a single toggle you can enforce site-wide rel="nofollow noopener noreferrer" and optionally target="_blank"—while still allowing precise exceptions where needed.
Key Features
- Automatic rel/target for external links: adds
nofollow,noopener,noreferrerand (optionally)target="_blank". - Flexible “rel” strategy: keep existing
rel(extend it) or overwrite it entirely. - Domain whitelist: treat selected partner domains as internal so they remain follow.
- Domain blacklist: always force
rel="nofollow"for specific domains (overrides any bypass). - Per-link bypass (optional):
- If a link already has
rel="noopener"/noreferrer/ugc/sponsored(and nonofollow), it stays follow. - Links with chosen CSS classes (e.g.,
follow) stay follow. data-follow="1|true|yes"keeps the link follow.- Optional: remove an existing
nofollowwhen a bypass rule matches.
- If a link already has
- Article switches:
- Exclude entire article:
- Exclude a section:
… - Backward compatible tokens:
…
- Exclude entire article:
- Clean output: minimal overhead, tidy HTML.
Quick Examples
Enforce site-wide
<a href="https://example.com">Link</a>
becomes
<a href="https://example.com" rel="nofollow noopener noreferrer" target="_blank">Link</a>
Keep a single link as follow (bypass enabled)
<a href="https://partner.tld" rel="noopener">Partner</a>
— no nofollow is added.
Whitelist a domain
Add partner.tld to the whitelist → links to that domain are treated as internal.
Compatibility
- Joomla 5: compatible; tested with PHP 8.1–8.4 (Joomla requires ≥ 8.1).
- Joomla 4: compatible; tested with PHP 8.0–8.4.
- Note: Joomla 3 and older are not supported.
Why JNofollow?
- Sensible, secure defaults (
noopener/noreferrer). - Fine-grained control via whitelist, blacklist, and per-link bypass.
- Lightweight, performance-minded, clean HTML output.