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 in New Window Plugin


The Open in New Window Plugin Plugin uses JavaScript to target external links to a new browser window, leaving your blog page open.
Since it uses javascript, it targets more links than using a plugin that filter pages and rewrite the link. The plugin will find many links generated in scripts or pasted into posts and comments.
Due to the limitations of javascript it will not be able target links in iframes such as Adsense and some other affiliate links.


This plugin is free and I expect nothing in return. If you wisht to support my programming, buy my book:
Error Message Eyes: A Programmer’s Guide to the Digital Soul
Other plugins:
Permalink Finder Plugin
Open in New Window Plugin
Kindle This – publish blog to user’s Kindle
Stop Spammer Registrations Plugin
No Right Click Images Plugin
Collapse Page and Category Plugin
Custom Post Type List Widget


  1. Download the plugin.
  2. Upload the plugin to your wp-content/plugins directory.
  3. Activate the plugin.


Works fine

I am pleased with the functionality of the plugin. No problem whatsoever.

It just works!

There’s not much to say. I installed the plug-in and just like that external links opened in new tabs.

This shouldn’t be necessary since WordPress offers an “Open in new window” option when creating a link, but it doesn’t seem to work, so third party developers have make it work.

Read all 13 reviews

Contributors & Developers

“Open in New Window Plugin” is open source software. The following people have contributed to this plugin.




  • Major rewrite.
  • Uses script enqueue methods so WP loads the scripts.
  • Fixed some problems with the scripts. THey should compress correctly now.
  • set up so translations might work (but I doubt it).


  • Added security check.
  • broke up the program to reduce load overhead
  • added the first settings option to this plugin. Some files types, when found in local site, can be forced to open in a new window. These include: .pdf, .mp3, .jpg, .gif, .tiff, .png, .doc, .rtf, .docx, .xls, .wmv, .mov, .avi, .zip, .rar, .7z and .arc. Check off the option box in the settings. On by default.


Fixed bug in javascript that allowed some types to open in new window.


Added support to load certain file types in a new window. Disabled in wp-admin screens to prevent reported issues with the admin toolbar.


Now loading the script as a js file in order to cache the hits and speed page loads.


Stopped updating the title parameter for images.


Added javascript in a few more places, just in case. Tested on WP 3.1


HTTPS and FTP now open in new windows.


Prevented links that already have a target from being rewritten.


Fixed an issue with WordPress 3.0 alpha test.
Added a title attribute to links when when none exists. It uses the innerHTML to the link to display a title when you hover over the link.
Added a pingback link so you can add your blog link to my plugin users page. It’s a free inbound link for you, probably of little value.


Added a setup screen for feedback that the plugin is installed correctly


Fixed an issue with IE6. The current code works under IE6


  • Added support for links with url of javascript: so as not to open in new window.


  • Added onload event so as not to miss a few other links that might be also loaded in onload. = 1.2 =
  • Added support for links with url of javascript: so as not to open in new window.


  • initial release