WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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. 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: 3.3.2
Last Updated: 2012-5-26
Downloads: 44,269

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says 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