[WordPress] 外掛分享: External Links – nofollow, noopener & new window

WordPress 外掛 External Links – nofollow, noopener & new window 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「External Links – nofollow, noopener & new window」是 2011-02-26 上架。
  • 目前有 90000 個安裝啟用數。
  • 上一次更新是 2025-04-16,距離現在已有 19 天。
  • 外掛最低要求 WordPress 4.2 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 有 244 人給過評分。
  • 論壇上目前有 7 個提問,問題解答率 100% ,不低,算是個很有心解決問題的開發者團隊了!

外掛協作開發者

webfactory |

外掛標籤

new tab | nofollow | noopener | new window | external links |

內容簡介

管理網站上的所有內部和外部連結,控制圖示、nofollow、noopener、ugc(用戶生成內容)、贊助和鏈接是否在新窗口或新標籤中開啟。

WP Links 插件在 v2 中得到了完全重建,具有許多新功能,例如 rel 的 noopener、ugc 和 sponsored 值;字體圖示、內部鏈接選項以及完整的 WPMU 支持。

連結掃描器-專業版功能

檢查網站上的每個單獨的連結!查看它是否失效,是否重定向,目標和 rel 屬性以及它確切鏈接到哪個頁面。此功能是「WP Links 」專業版插件的一部分。

特點

管理內外部鏈結
設置連結在新窗口或新標籤中開啟
添加 follow 或 nofollow(用於 SEO)
添加 noopener 和 noreferrer(用於安全)
添加 ugc(用戶生成內容)和 sponsored 值到 rel(Google 声明)
添加連結圖示(FontAwesome 和 Dashicons)
設置其他屬性,如標題和 CSS 類
掃描整個頁面(或僅限帖子、評論、小工具)
支援 SEO
連結掃描器-檢查網站所有連結-專業版功能
離開確認-在點擊外部鏈接時保護訪問者和流量-專業版功能
連結規則-為選定的連結組創建高級連結規則-專業版功能

還有更多...

網絡設置(WPMU 支持)
使用模板標記在特定內容中應用插件設置
設置數據屬性以更改單個鏈接的處理方式
使用內置的操作和過濾器實現您的特定需求

易於使用

啟用後,可以在插件管理頁面上設置所有內部和外部鏈接的選項。

即時處理

插件會在輸出時過濾並即時更改鏈接。真正的內容(帖子、頁面、小工具等)不會在數據庫中被更改。
當停用插件時,所有內容都將與之前相同。

GDPR 兼容性

我們不是律師。請不要把以下內容當作法律建議。
WP External Links 不跟踪、收集或處理任何用戶數據。沒有任何日誌或推送到任何第三方。我們也不使用任何第三方服務或 CDN。基於這一點,我們認為它符合 GDPR,但請不要把這當作法律建議。

喜歡這個插件嗎?給它評分以支持開發。

如果 SSL 或 HTTPS 出現問題,請嘗試使用我們免費的WP Force SSL插件。這是啟用 SSL 和修復 SSL 問題的好方法。

文檔

啟用後,可以設置所有內部和外部鏈接的選項。

數據屬性 "data-wpel-link"

被此插件處理的鏈接還包含數據屬性 data-wpel-link。
此插件可能將值設置為 external、internal 或 exclude,表示連結如何
被處理。

您也可以自己設置數據屬性。這樣可以強制指定某些連結的處理方式。
當您添加值 ignore 時,該鏈接將被跳過。

原文外掛簡介

Manage all external & internal links on your site. Control icons, nofollow, noopener, ugc (User Generated Content), sponsored and if links open in new window or new tab.
WP Links plugin was completely rebuilt in v2 and has lots of new features, like noopener, ugc and sponsored values for rel; font icons, internal links options and full WPMU support.
Link Scanner – PRO feature
Check every single link on your site! See if it’s broken or not, if it’s redirected, what’s the target and rel attribute and what page exactly it’s linking to. This feature is a part of the WP Links PRO plugin.
Features

Manage external and internal links
Open links in new window or tab
Add follow or nofollow (for SEO)
Add noopener and noreferrer (for security)
Add ugc (User Generated Content) and sponsored values to rel (Google announcement)
Add link icons (FontAwesome and Dashicons)
Set other attributes like title and CSS classes
Scan complete page (or just posts, comments, widgets)
SEO friendly
Link Scanner – check all links on your site – PRO feature
Exit Confirmation – protect visitors and traffic when external links are clicked – PRO feature
Link Rules – create advanced link rules for chosen link groups – PRO feature

And more…

Network Settings (WPMU support)
Use template tag to apply plugin settings on specific contents
Set data-attribute to change how individual links will be treated
Use built-in actions and filters to implement your specific needs

Easy to use
After activating you can set all options for external and internal links on the plugins admin page.
On the fly
The plugin filters the output and changes the links on the fly. The real contents (posts, pages, widget etcetera) will not be changed in the database.
When deactivating the plugin, all contents will be the same as it was before.
GDPR compatibility
We are not lawyers. Please do not take any of the following as legal advice.
WP External Links does not track, collect or process any user data. Nothing is logged or pushed to any 3rd parties. We also don’t use any 3rd party services or CDNs. Based on that, we feel it’s GDPR compatible, but again, please, don’t take this as legal advice.
Like the plugin? Rate it to support the development.
If you’re having problems with SSL or HTTPS try our free WP Force SSL plugin. It’s a great way to enable SSL and fix SSL problems.
Documentation
After activating you can set all options for external and internal links.
Data attribute “data-wpel-link”
Links being processed by this plugin will also contain the data-attribute data-wpel-link.
The plugin could set the value to external, internal or exclude, meaning how the
link was processed.
You can also set the data-attribute yourself. This way you can force how the plugin will process
certain links.
When you add the value ignore, the link will be completely ignored by the plugin:
Go to somedomain

Action “wpel_link”
Use this action to change the link object after all plugin settings have been applied.
add_action( 'wpel_link', ( $link_object ) {
if ( $link_object->is_external() ) {
// get current url
$url = $link_object->getAttribute( 'href' );

// set redirect url
$redirect_url = '//somedom.com?url='. urlencode( $url );
$link_object->setAttribute( 'href', $redirect_url );
}
}, 10, 1 );

The link object is an instance of WPEL_Link class.
Action hook “wpel_before_apply_link”
Use this action to change the link object before the plugin settings will be applied on the link.
You can use this filter f.e. to ignore individual links from being processed. Or change dynamically how
they will be treated by this plugin.
add_action( 'wpel_before_apply_link', function ( $link ) {
// ignore links with class "some-cls"
if ( $link->has_attr_value( 'class', 'some-cls' ) ) {
$link->set_ignore();
}

// mark and treat links with class "ext-cls" as external link
if ( $link->has_attr_value( 'class', 'ext-cls' ) ) {
$link->set_external();
}
}, 10 );

Filter hook “wpel_apply_settings”
When filter returns false the plugin settings will not be applied. Can be used when f.e. certain posts or pages should be ignored by this plugin.
add_filter( 'wpel_apply_settings', '__return_false' );

See FAQ for more info.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「External Links – nofollow, noopener & new window」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


2.3 | 0.10 | 0.11 | 0.12 | 0.20 | 0.21 | 0.30 | 0.31 | 0.32 | 0.33 | 0.34 | 0.35 | 1.01 | 1.02 | 1.03 | 1.10 | 1.20 | 1.21 | 1.30 | 1.31 | 1.40 | 1.41 | 1.50 | 1.51 | 1.52 | 1.53 | 1.54 | 1.55 | 1.56 | 1.60 | 1.61 | 1.62 | 1.70 | 1.80 | 1.81 | 2.32 | 2.35 | 2.40 | 2.42 | 2.43 | 2.45 | 2.46 | 2.47 | 2.48 | 2.50 | 2.51 | 2.55 | 2.56 | 2.57 | 2.58 | 2.59 | 2.60 | 2.61 | 2.62 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.1.0 | 2.1.1 | 2.1.2 | 2.1.3 | 2.2.0 | trunk |

延伸相關外掛(你可能也想知道)

  • External Links in New Window / New Tab 》這個外掛可以在新分頁或新視窗中開啟外部連結。您可以設定強制開啟新視窗的網址或忽略某些連結不開啟新分頁。, 此外掛程式產生的代碼符合 XHTML Strict 規範...。
  • Open in New Window Plugin 》「在新視窗開啟」外掛透過 JavaScript 技術,將外部連結指向新的瀏覽器視窗,同時保留您的部落格頁面。由於使用 JavaScript,此外掛能夠處理更多的連結,比起...。
  • Open Links In New Tab 》對於網站內部或外部連結管理感到困擾嗎?使用這個外掛程式,可將網站內部連結設定為新分頁開啟,並將外部連結設定為新分頁開啟。您可以選擇要將內部連結或外...。
  • Easy External Links 》Easy External Links 是一個 WordPress 的 SEO 友好型外部連結管理外掛。, Easy External Links 目前的目標是標準化外部連結的格式,並創造一致的頁面 SEO。,...。
  • WP Open Comment Links in New Window 》WordPress評論對於一個博客非常重要,讓使用者能夠互動。評論是使用者對博客更感興趣的原因之一。, 但是,評論中的所有連結(URL)在同一個窗口中打開可能會...。
  • New Page Link 》New Page Link 外掛程式會讓你的頁面中的所有超連結在新分頁中開啟。您還可以在具有特定類別名稱的超連結上添加 rel=”nofollow”。您可以將外部超...。
  • External Links to New Window 》這個外掛可以自動地為您所有的文章和頁面中的所有外部連結新增打開新視窗的功能,解決了手動更改的麻煩。, 此外掛使用標準 HTML,不會在您已經使用大量 JavaS...。
  • rel=”external” in a New Window 》rel=”external”是現在符合XHTML標準的版本,它告訴搜尋引擎蜘蛛該連結為外部連結。但使用此設定並不會在新視窗中開啟連結。target=”_blank...。
  • New Tab Redirect Plus 》新標籤重定向增強版可以讓您的留言訪客鏈接在新標籤或新窗口中打開。換句話說,點擊時不會完全離開您的網站,而是在新的標籤中打開。, , 此外,此外掛還會在...。
  • Comment Link Manager 》CLM 外掛程式允許 WordPress 管理員對使用者在他們的部落格留下的連結有更多的控制。管理員可以移除除了特定數量評論的使用者以外,所有留言中作者的連結。此...。
  • Affiliatize Me 》總結:這個外掛可以在網站上搜索指定設定中的域名來添加你的聯盟 ID,並在被點擊時將這些鏈接在新選項卡中打開。該外掛生成符合XHTML Strict標準的代碼,並且...。
  • Comment Links New Tab 》Comment Links New Tab可以讓你的評論作者名稱鏈結在新的標籤或視窗中開啟。換句話說,當點擊時,它們將在新的標籤中開啟,而不是完全離開您的網站。, 這將增...。

文章
Filter
Apply Filters
Mastodon