Title: Rel Nofollow
Author: Stefano
Published: <strong>جنوري 31, 2014</strong>
Last modified: دسمبر 6, 2025

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/rel-nofollow.svg)

# Rel Nofollow

 By [Stefano](https://profiles.wordpress.org/ste_95/)

[Download](https://downloads.wordpress.org/plugin/rel-nofollow.1.4.zip)

 * [Details](https://ps.wordpress.org/plugins/rel-nofollow/#description)
 * [Reviews](https://ps.wordpress.org/plugins/rel-nofollow/#reviews)
 * [Development](https://ps.wordpress.org/plugins/rel-nofollow/#developers)

 [Support](https://wordpress.org/support/plugin/rel-nofollow/)

## Description

When a post is saved, the plugin adds the rel=”nofollow” attributes to post external
links. The plugin also provides an apt checkbox to exclude a post from plugin’s 
action.

Links which already have a _rel_ attribute are just ignored, so you can set some
_dofollow_s are well.

By default, the plugin will only act on _posts_, no pages or other custom post types.
To include (some of) them, use a code like the following, for ex. by putting it 
in your theme’s _functions.php_:

    ```
    add_filter( 'rnf_post_types', function( $post_types ) {
        return array( 'post', 'page' ); #specify all desired CPTs, comma-separated
    });
    ```

## Reviews

![](https://secure.gravatar.com/avatar/4966e71d239295b06d087a23ddca0225421933afe3fc36bd06e4cd634f23135f?
s=60&d=retro&r=g)

### 󠀁[The only plugin that works well!](https://wordpress.org/support/topic/the-only-plugin-that-works-well/)󠁿

 [grantambrose](https://profiles.wordpress.org/crammy90/) جولای 23, 2022 1 reply

Thank you Stefano for creating this plugin. It works perfectly, doesn’t use JS and
actually updated the database. Fingers crossed you’re able to maintain it still 
because it’s very valuable. thanks again!

![](https://secure.gravatar.com/avatar/650cbbf2ca929fb742f910eeb93dab715527fc45c22c46a8d096db4913d13ae1?
s=60&d=retro&r=g)

### 󠀁[Best Plugin for Nofollow Tag in the Posts!](https://wordpress.org/support/topic/best-plugin-for-nofollow-tag-in-the-posts/)󠁿

 [prwings](https://profiles.wordpress.org/prwings/) جولای 30, 2020

This plugin does the nofollow tagging job perfectly. And the developer of this plugin
provides an excellent support.

![](https://secure.gravatar.com/avatar/b47c4cd81cde5dae7a75a501f1929582b6768407da6c7f177c4a1690422f3832?
s=60&d=retro&r=g)

### 󠀁[Most primitive but the only 1 that works](https://wordpress.org/support/topic/most-primitive-but-the-only-1-that-works/)󠁿

 [pmhub](https://profiles.wordpress.org/pmhubpmhubnet/) سپتمبر 3, 2016 3 replies

Hi, thanks for your Plugin. I tried 4 NoFollow plugins, all do not work. If they
all worked well, I do not have to write this comment on your plugin:-). Yours is
primitive and planted NOFOLLOW on all links, internal and external and needs lots
of manual clicks howevber it works. It also do not put NOFOLLOW in Widgets. I have
to do this manually to all widgets, which take about 1-2 hours I have to update 
all post (more than 500 post) one by one. Each needs 5 click, so about 3,000 clicks
later I completed my mission. More than a day work but the nofollow all all planted
in my HTML. However your plugin also planted INTERNAL LINKS with NOFOLLOW. I hope
this will be OK. UPDATE: I just realize that WP has a BATCHED Edit – you can edit
all 20 posts in one admin page with just one click. This feature enabled me to edit
50% of the work in a much faster way. One other great thing is that you can immediately
inactivate and delete this Plugin once you have completed your REL NOFOLLOW insertion
to all those links. Deleting this plugin will not affect the REL NOFOLLOW links.
Kudos to the author of this useful Plugin

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/rel-nofollow/reviews/)

## Contributors & Developers

“Rel Nofollow” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Stefano ](https://profiles.wordpress.org/ste_95/)

[Translate “Rel Nofollow” into your language.](https://translate.wordpress.org/projects/wp-plugins/rel-nofollow)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/rel-nofollow/), check
out the [SVN repository](https://plugins.svn.wordpress.org/rel-nofollow/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/rel-nofollow/) by
[RSS](https://plugins.trac.wordpress.org/log/rel-nofollow/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4 (2020/07/30)

 * Tweak: only include posts into plugin action (no pages or CPTs). To include other
   CPTs, see plugin description.

#### 1.3 (2019/08/29)

 * Tweak: considering links as internal if on the same hostname (eg. if WP is installed
   in www.hostname.com/wordpress, even links pointing to www.hostname.com are internal).
 * Fix: now adding rel nofollow even if a (different) rel attribute is already present,
   preserving it as well.

#### 1.2 (2017/01/09)

 * Fix: plugin not ignoring links which already had the rel attribute.
 * Tweak: bit of performance improvement.

#### 1.1 (2016/05/21)

 * New: adding the nofollow only to external links.
 * Tweak: declaring as static some class methods.

#### 1.0

Initial release

## Meta

 *  Version **1.4**
 *  Last updated **4 میاشتی ago**
 *  Active installations **800+**
 *  WordPress version ** 3.7 or higher **
 *  Tested up to **6.9.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/rel-nofollow/)
 * Tags
 * [links](https://ps.wordpress.org/plugins/tags/links/)[rel](https://ps.wordpress.org/plugins/tags/rel/)
   [seo](https://ps.wordpress.org/plugins/tags/seo/)
 *  [Advanced View](https://ps.wordpress.org/plugins/rel-nofollow/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/rel-nofollow/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/rel-nofollow/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/rel-nofollow/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/rel-nofollow/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/rel-nofollow/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rel-nofollow/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/rel-nofollow/reviews/)

## Contributors

 *   [ Stefano ](https://profiles.wordpress.org/ste_95/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/rel-nofollow/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2WDRMXGHWCCUY)