跳到内容

Rel Nofollow

v1.4

Stefano · 2014年1月31日 上架

Adds rel="nofollow" to posts external links unless specified otherwise.

正在使用
600+
评分
5.0 / 5
累计下载
3.8 万
最近更新
2026年8月17日
4 条评价需要 WordPress 3.7+已测试到 7.1.5

贡献者

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 dofollows 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
});

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums