PHPackages                             codemonauts/craft-redactor-nofollow - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. codemonauts/craft-redactor-nofollow

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

codemonauts/craft-redactor-nofollow
===================================

Craft CMS plugin to extends the Redactor's link module with the nofollow relationship attribute.

2.1.0(3y ago)331.4k↓43.7%1[1 issues](https://github.com/codemonauts/craft-redactor-nofollow/issues)MITJavaScript

Since May 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/codemonauts/craft-redactor-nofollow)[ Packagist](https://packagist.org/packages/codemonauts/craft-redactor-nofollow)[ RSS](/packages/codemonauts-craft-redactor-nofollow/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (2)Versions (7)Used By (0)

Redactor nofollow link plugin for Craft CMS
===========================================

[](#redactor-nofollow-link-plugin-for-craft-cms)

[![Icon](resources/nofollow.png)](resources/nofollow.png)

Plugin to add a checkbox to Redactor's link module to add the `rel="nofollow"` attribute to a link.

Background
----------

[](#background)

For a lot of sites it is important to set links to `rel="nofollow"`. Redactor provides an option to set **all**links to *nofollow*. However, this is often not required and also not the usual practice in SEO. With this plugin it is possible to enable this attribute for every single link individual within the link's edit modal.

Requirements
------------

[](#requirements)

- Craft CMS &gt;= 4.0.0
- Craft Redactor Plugin &gt;= 3.0.0

Installation
------------

[](#installation)

Open your terminal and go to your Craft project:

```
cd /path/to/project
composer require codemonauts/craft-redactor-nofollow
./craft plugin/install nofollow
```

You can also install the plugin via the Plugin Store in the Craft Control Panel.

Configuration
-------------

[](#configuration)

Add the new plugin to your Redactor config file:

```
{
  "plugins": [
    "nofollow"
  ]
}
```

You can configure whether the checkbox in the link dialog should be checked by default when adding a new link. Just add the following config to your Redactor config file:

```
{
  "linkDefaultNoFollow": true
}
```

The `nofollow` will be stripped in all Redactor fields by the HTMLPurifier, which is enabled by default. Instead of disabling the hole HTMLPurifier for a field, you should add the following line to the `config/htmlpurifier/Default.json`:

```
{
  "Attr.AllowedRel": [
    "nofollow"
  ]
}
```

With ❤ by [codemonauts](https://codemonauts.com)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~261 days

Recently: every ~245 days

Total

6

Last Release

1342d ago

Major Versions

1.0.1 → 2.0.02022-05-02

1.0.2 → v3.x-dev2022-12-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/539161?v=4)[codemonauts](/maintainers/codemonauts)[@codemonauts](https://github.com/codemonauts)

---

Top Contributors

[![kringkaste](https://avatars.githubusercontent.com/u/964698?v=4)](https://github.com/kringkaste "kringkaste (7 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginnofollowRedactor

### Embed Badge

![Health badge](/badges/codemonauts-craft-redactor-nofollow/health.svg)

```
[![Health](https://phpackages.com/badges/codemonauts-craft-redactor-nofollow/health.svg)](https://phpackages.com/packages/codemonauts-craft-redactor-nofollow)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k78](/packages/verbb-formie)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M73](/packages/nystudio107-craft-seomatic)[verbb/hyper

A user-friendly links field for Craft.

24153.5k14](/packages/verbb-hyper)[verbb/vizy

A flexible visual editor field for Craft.

4251.5k1](/packages/verbb-vizy)[verbb/comments

Add comments to your site.

13754.0k1](/packages/verbb-comments)[verbb/events

A full-featured plugin for event management and ticketing.

2312.1k](/packages/verbb-events)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
