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

NoFollowr

外掛說明

Summary

NoFollowr allows an administrator to easily see which external links are granting search-engine benefits upon another site. The administrator can toggle between allowing and disallowing this benefit with a single click. The change is instant and does not require a page reload, making the moderation of external links a breeze.

How it works

When logged in as an administrator, green “tick” and red “stop” icons appear next to all external links in a post indicating whether rel="nofollow" is currently applied to them. Simply click an icon to toggle between these two states and alter the link’s nofollow status. This change is applied to your database remotely, without requiring a page reload.

Why is this plugin useful?

The whole question of whether to use rel="nofollow" is a hotly debated one, and applying it (or not) across the board is not a good solution. You want to give credit where it is due and reward useful websites but, at the same time, you do not want to reward suspect websites that promote unethical or unscrupulous behaviour. Read more about how nofollow is extremely important when engaging in activism.

If you are not the sole author of your website or blog it can be very difficult to stay on top of which links are being followed. NoFollowr allows you to easily spot and alter which links receive your love, without spending time going back and forth between your site and the admin area to edit the posts manually.

螢幕擷圖

  • Click the green tick icon next to a link that goes to a dodgy website.
  • Admire the spinning animation for half a second or so.
  • The link now has a red icon, indicating rel="nofollow" is applied to it (and altered in the database). Search-engines will not count this link as a recommendation by you.

安裝方式

The easiest way to install NoFollowr is to do so from within your site’s admin area:

  1. Search for it from your admin plugin page and click “Install Now”
  2. From the resulting installation page, wait until you see the “Activate Plugin” link, then click it.

Otherwise, the installation process is as follows:

  1. Download NoFollowr
  2. Expand the zip archive and copy the entire folder named “nofollowr” to the /wp-content/plugins/ folder within your WordPress installation
  3. Login to the admin area of your site and go to the plugins section
  4. Find NoFollowr in the list and click its “Activate” link.

NoFollowr is now fully operational and requires no further setup. If you need more help installing the plugin I recommend you follow this step-by-step beginners guide.

使用者評論

2016 年 9 月 3 日
I’ve used this on a (slightly out of date) blog for a long time, and was a bit nervous reading comments about compatibility issues with new version of WP. However, I’m happy to report it still works flawlessly with WP 4.5.3 – does exactly what it sets out to do, very happy with it.
閱讀全部 5 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.2.0

  • Refactor PHP with automated tests to avoid future regressions. Refactor JS to use strict typing with Flow and write tests.

1.1.3

  • Use SVG icons for crisp rendering across devices. Refactor JavaScript and remove canvas animation in favour of pure CSS.

1.1.2

  • Update ‘stable tag’ field. Ensure updates are notified.

1.1.1

  • Use earlier array syntax for compatibility with PHP 5 versions earlier than v5.4.

1.1.0

  • Update code from PHP4 compatibility to PHP5 and PHP7 compatible syntax. Tested to work up to current WordPress version 4.7.3.

1.0.3

  • Bug Fix: Broken in WP 3.6. Add missing second argument for current_user_can(‘edit_post’) to fix. Slightly alter NoFollowr’s jQuery selector to omit unneeded tag selector.

1.0.2

  • Bug Fix: Similar to the bug fix in v1.0.1. Found other attribute selectors that should use double quotes. May increase compatibility with various jQuery versions.

1.0.1.2

  • Another attempt to update tag correctly

1.0.1.1

  • Attempt to update tag correctly

1.0.1

  • Bug Fix: jQuery attribute selector needed double quotes to work with latest jQuery versions included with recent WordPress updates. Fixes the never-ending spinner issue. Fix typo in docs.

1.0

  • Upload to WordPress Subversion repository for listing in the official plugin directory

0.6.4

  • Add version to CSS and JS elements’ query string so updating will not run into cache issues

0.6.3

  • Disables handler on click so only one alteration is sent at a time
  • Deletes the alteration’s revision to avoid cluttering up the database

0.6.2

  • Now works with post_type ‘any’. Previously didn’t work on ‘page’ type posts

0.6.1

  • Minor JS bug fix related to when post contains multiple links that have the same href

0.6

  • Change CSS class names to be more unique, eg. “.nofollow” now “.nf-nofollow”
  • Use CSS sprites for images
  • Animated Ajax spinner via HTML5 canvas with fallback image for non-canvas browsers
  • JS and CSS now served minified

0.5

  • Added WordPress version check code to alert any incompatibility upon installation.
  • Now tested to work back to WordPress v2.7

0.4

  • Extend JavaScript support back to jQuery 1.3
  • Now tested to work in WordPress v2.8.3

0.3

  • Made adding and removing nofollow attribute much more robust. Now honours existing rel attribute as this is allowed to be a space-separated list
  • Refactored JS for similar reasons

0.2

  • Add changelog.txt
  • Revise initial version numbers to pre v1.0

0.1

  • Initial release
  • Launch of nofollowr.com