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. codemonauts/craft-redactor-nofollow

ActiveCraft-plugin

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

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

2.1.0(3y ago)330.2k↓34.2%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 1mo 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 75% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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

1251d 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

[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.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/redactor-tweaks

Provide some tweaks for Redactor.

1791.6k](/packages/verbb-redactor-tweaks)[nystudio107/craft-richvariables

Allows you to easily use Craft Globals as variables in Rich Text fields

2523.1k2](/packages/nystudio107-craft-richvariables)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.3k](/packages/verbb-footnotes)

PHPackages © 2026

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