External Links in New Window / New Tab

설명

Opens external links in a new tab or a or new window. You can set URLs that should either be forced to open in a new window or ignored.

The plugin produces XHTML Strict compliant code and is search engine optimized (SEO).
This is done using JavaScript’s window.open()-function. It adds only a few lines of vanilla JavaScript to the page, and does not require any external libraries like jQuery.

Most other plugins perform a hack by altering the target parameter (i.e. <a href="http://somewhere.example" target="_blank">). That method is not XHTML Strict compliant.
This plugin handles the links client-side, which lets search engines follow the links properly. Also, if a browser does not support JavaScript, the plugin is simply inactive, and does not result in any errors.

If you need a more advanced plugin, with more options try our free WP External Links plugin.

Credits
Inspired by the Zap_NewWindow plugin by Tom Köhler.
The banner is a photo by Monja Da Riva.

Translations
Danish by Kristian Risager Larsen
Dutch by Paul Staring
Lithuanian by Vincent G
Other translations will be appreciated!

Known bugs
The plugin conflicts with other plugins that change the links’ `onClick´ attribute.

Original developer
Kristian Risager Larsen – kezze.dk

스크린샷

  • External links settings

설치

  1. Copy the plugin to /wp-content/plugins/
  2. Activate the plugin.
  3. Eventually, change the settings in Settings->External Links.

FAQ

How to disable this plugin?

Just use standard Plugin overview page in WordPress admin section and deactivate it or rename plugin folder /wp-content/plugins/open-external-links-in-a-new-window over FTP access.

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

후기

2024년 7월 20일
This one’s going to save me a good deal of time with my new writing process. Thank you for creating it.
2024년 7월 15일 답글 1개
It is working perfectly after installation. Don’t need any setup or configuration.
2023년 9월 2일
I never realized that creating links could be so simple. The recent upgrade to WordPress 6.3 made the slider harder to enable. This plug-in helps me avoid all that hassle. Turns out, I was working to hard before version 6.3! (It used to be in the same pop-up menu when you entered in the URL for the link. 6.3 now makes you create the link, then edit it, open an advanced menu and then finally enable the slider button.)
2023년 3월 28일 답글 1개
Me ha sorprendido gratamente lo sencillo y eficiente que es. Muchas veces los clientes que editan contenidos se olvidan de linkar correctamente los enlaces externos… así queda resuelto. Es genial
모든 75 평가 읽기

기여자 & 개발자

“External Links in New Window / New Tab”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“External Links in New Window / New Tab”(이)가 6 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “External Links in New Window / New Tab”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.44

  • 2022-11-22
  • minor security fixes

1.43

  • 2022-05-06
  • security fix reported by Automattic

1.42

  • 2021-01-30
  • added flyout menu

1.41

  • 2020-10-21
  • minor update

1.4

  • 2019-08-26
  • WebFactory took over development
  • minor fixes
  • 40,000 installs; 178,750 downloads

1.3.3

Verified compatibility with WordPress 5.0

1.3.2

Updated: Danish translation

1.3.1

Verified compatibility with WordPress 4.0
Added: Plugin logo for WordPress 4.0
Added: Dutch translation.

1.3

Added: Possibility to force and ignore user-defined strings in URLs. This feature has been requested.
Added: Lithuanian and Danish translation.

1.2

Added: Translation-ready.

1.1.1

Fixed: Deprecation warning (Thanks to boo1865)

1.1.0

Changed: Better practice for opening links. The plugin now uses the onClick-attribute instead of writing JavaScript directly into the href-attribute. This enables users to right-click the link and open in a new window/tab, save the target etc.

1.0.1

Fixed: Removes target attribute from links instead of setting the attribute to null. (Thanks to crashnet)

1.0

Fixed: Credits to Tom Köhler (Charset).
Fixed: Links.

0.9

Initial release.