WordPress.org

Plugin Directory

Open external links in a new window

Opens all (or specific) external links in a new window. XHTML Strict compliant and search engine optimized (SEO).

Opens external links (starting with http:// or https://) in a separate browser window (or tab). You can also specify certain URLs that should either be forced to open in a new window or ignored. The plugin produces XHTML Strict compliant code and is also search engine optimized (SEO). This is done using JavaScript's window.open()-function.

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.

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.

Requires: 2.0 or higher
Compatible up to: 4.0.5
Last Updated: 2014-9-5
Active Installs: 20,000+

Ratings

5 out of 5 stars

Support

0 of 4 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,5,5 100,2,2
100,1,1 100,1,1
0,1,0
100,1,1 0,1,0
80,5,4 100,4,4
100,1,1
83,6,5
100,1,1
67,3,2 100,1,1
100,3,3
100,2,2
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
50,2,1
100,1,1