這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Rel Nofollow

外掛說明

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

使用者評論

2022 年 7 月 23 日 1 則留言
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!
2016 年 9 月 3 日 3 則留言
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
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Rel Nofollow〉的開發相關工作。

參與者

將〈Rel Nofollow〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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