{"id":1004,"date":"2010-09-24T06:15:52","date_gmt":"2010-09-24T06:15:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/open-external-links-in-a-new-window\/"},"modified":"2025-12-03T19:28:55","modified_gmt":"2025-12-03T19:28:55","slug":"open-external-links-in-a-new-window","status":"publish","type":"plugin","link":"https:\/\/mk.wordpress.org\/plugins\/open-external-links-in-a-new-window\/","author":9070621,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.45","stable_tag":"1.45","tested":"6.9.4","requires":"4.0","requires_php":"5.2","requires_plugins":null,"header_name":"Open External Links in a New Window","header_author":"WebFactory Ltd","header_description":"","assets_banners_color":"d8c392","last_updated":"2025-12-03 19:28:55","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/extend\/plugins\/open-external-links-in-a-new-window\/","header_author_uri":"https:\/\/www.webfactoryltd.com\/","rating":4.5,"author_block_rating":4.5714285714286,"active_installs":30000,"downloads":489917,"num_ratings":76,"support_threads":0,"support_threads_resolved":0,"author_block_count":1,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"kezze","date":"2010-10-20 12:34:10"},"1.0.1":{"tag":"1.0.1","author":"kezze","date":"2012-05-23 12:45:43"},"1.1.0":{"tag":"1.1.0","author":"kezze","date":"2011-03-16 16:58:37"},"1.1.1":{"tag":"1.1.1","author":"kezze","date":"2011-06-06 21:49:51"},"1.2":{"tag":"1.2","author":"kezze","date":"2012-05-23 13:05:14"},"1.3":{"tag":"1.3","author":"kezze","date":"2012-05-26 09:41:19"},"1.3.1":{"tag":"1.3.1","author":"kezze","date":"2014-09-05 03:02:50"},"1.3.2":{"tag":"1.3.2","author":"kezze","date":"2017-11-02 10:47:09"},"1.4":{"tag":"1.4","author":"WebFactory","date":"2020-10-01 17:23:43"},"1.41":{"tag":"1.41","author":"WebFactory","date":"2020-12-05 14:56:07"},"1.42":{"tag":"1.42","author":"WebFactory","date":"2022-03-09 15:47:52"},"1.43":{"tag":"1.43","author":"WebFactory","date":"2022-11-03 13:27:31"},"1.44":{"tag":"1.44","author":"WebFactory","date":"2025-04-16 11:10:46"},"1.45":{"tag":"1.45","author":"WebFactory","date":"2025-12-03 19:28:55"}},"upgrade_notice":{"1.3.1":"<p>Wordpress 4.0-compatibility, and Dutch translation.<\/p>","1.3":"<p>In Settings-&gt;External links, you can now specify URL&#039;s that should be either forced to open in a new window, or ignored.<\/p>","1.2":"<p>Added: Translation-ready.<\/p>","1.1.1":"<p>Fixed: Deprecation warning.<\/p>","1.1.0":"<p>Better practice for opening links. Please upgrade.<\/p>","1.0.1":"<p>Minor bugfix.<\/p>","1.0":"<p>Ready for production.<\/p>","0.9":"<p>Initial release<\/p>"},"ratings":{"1":7,"2":3,"3":0,"4":0,"5":66},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2145083,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2145083,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":547996,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1.0","1.1.1","1.2","1.3","1.3.1","1.3.2","1.4","1.41","1.42","1.43","1.44","1.45"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2691557,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"External links settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[9888,175,28224,18994,7570],"plugin_category":[59],"plugin_contributors":[78032],"plugin_business_model":[],"class_list":["post-1004","plugin","type-plugin","status-publish","hentry","plugin_tags-external-links","plugin_tags-links","plugin_tags-new-tab","plugin_tags-new-window","plugin_tags-target-blank","plugin_category-utilities-and-tools","plugin_contributors-webfactory","plugin_committers-talextech","plugin_committers-webfactory","plugin_support_reps-gordano","plugin_support_reps-talextech"],"banners":{"banner":"https:\/\/ps.w.org\/open-external-links-in-a-new-window\/assets\/banner-772x250.jpg?rev=547996","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/open-external-links-in-a-new-window\/assets\/icon-128x128.png?rev=2145083","icon_2x":"https:\/\/ps.w.org\/open-external-links-in-a-new-window\/assets\/icon-256x256.png?rev=2145083","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/open-external-links-in-a-new-window\/assets\/screenshot-1.png?rev=2691557","caption":"External links settings"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>The plugin produces XHTML Strict compliant code and is search engine optimized (SEO).\nThis is done using JavaScript's <code>window.open()<\/code>-function. It adds only a few lines of vanilla JavaScript to the page, and does not require any external libraries like jQuery.<\/p>\n\n<p>Most other plugins perform a hack by altering the <code>target<\/code> parameter (i.e. <code>&lt;a href=\"http:\/\/somewhere.example\" target=\"_blank\"&gt;<\/code>). That method is not XHTML Strict compliant.\nThis 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.<\/p>\n\n<p>If you need a more advanced plugin, with more options try our <a href=\"https:\/\/wordpress.org\/plugins\/wp-external-links\/\">free WP External Links<\/a> plugin.<\/p>\n\n<p><strong>Credits<\/strong>\nInspired by the <a href=\"http:\/\/www.zappelfillip.de\/2005-12-05\/zap_newwindow\/\">Zap_NewWindow<\/a> plugin by <a href=\"http:\/\/www.zappelfillip.de\/\" title=\"His website is mostly in German\">Tom K&ouml;hler<\/a>.\nThe banner is a <a href=\"http:\/\/www.flickr.com\/photos\/monja\/1367946568\/in\/photostream\/\">photo<\/a> by <a href=\"http:\/\/www.monja.it\/\">Monja Da Riva<\/a>.<\/p>\n\n<p><strong>Translations<\/strong>\nDanish by <a href=\"https:\/\/kristianrisagerlarsen.dk\">Kristian Risager Larsen<\/a>\nDutch by <a href=\"http:\/\/www.collectief-it.nl\/\">Paul Staring<\/a>\nLithuanian by <a href=\"http:\/\/Host1Free.com\">Vincent G<\/a>\nOther translations will be appreciated!<\/p>\n\n<p><strong>Known bugs<\/strong>\nThe plugin conflicts with other plugins that change the links' `onClick\u00b4 attribute.<\/p>\n\n<p><strong>Original developer<\/strong>\nKristian Risager Larsen - <a href=\"http:\/\/kezze.dk\">kezze.dk<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Copy the plugin to \/wp-content\/plugins\/<\/li>\n<li>Activate the plugin.<\/li>\n<li>Eventually, change the settings in Settings-&gt;External Links.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20disable%20this%20plugin%3F'><h3>How to disable this plugin?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='how%20can%20i%20report%20security%20bugs%3F'><h3>How can I report security bugs?<\/h3><\/dt>\n<dd><p>You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. <a href=\"https:\/\/patchstack.com\/database\/vdp\/open-external-links-in-a-new-window\">Report a security vulnerability.<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.45<\/h4>\n\n<ul>\n<li>2025-08-04<\/li>\n<li>minor code fixes<\/li>\n<\/ul>\n\n<h4>1.44<\/h4>\n\n<ul>\n<li>2022-11-22<\/li>\n<li>minor security fixes<\/li>\n<\/ul>\n\n<h4>1.43<\/h4>\n\n<ul>\n<li>2022-05-06<\/li>\n<li>security fix reported by Automattic<\/li>\n<\/ul>\n\n<h4>1.42<\/h4>\n\n<ul>\n<li>2021-01-30<\/li>\n<li>added flyout menu<\/li>\n<\/ul>\n\n<h4>1.41<\/h4>\n\n<ul>\n<li>2020-10-21<\/li>\n<li>minor update<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>2019-08-26<\/li>\n<li>WebFactory took over development<\/li>\n<li>minor fixes<\/li>\n<li>40,000 installs; 178,750 downloads<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<p>Verified compatibility with WordPress 5.0<\/p>\n\n<h4>1.3.2<\/h4>\n\n<p>Updated: Danish translation<\/p>\n\n<h4>1.3.1<\/h4>\n\n<p>Verified compatibility with WordPress 4.0\nAdded: Plugin logo for WordPress 4.0\nAdded: Dutch translation.<\/p>\n\n<h4>1.3<\/h4>\n\n<p>Added: Possibility to force and ignore user-defined strings in URLs. This feature has been requested.\nAdded: Lithuanian and Danish translation.<\/p>\n\n<h4>1.2<\/h4>\n\n<p>Added: Translation-ready.<\/p>\n\n<h4>1.1.1<\/h4>\n\n<p>Fixed: Deprecation warning (Thanks to <a href=\"http:\/\/wordpress.org\/support\/topic\/plugin-open-external-links-in-a-new-window-doesnt-work?replies=2#post-2152292\">boo1865<\/a>)<\/p>\n\n<h4>1.1.0<\/h4>\n\n<p>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.<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>Fixed: Removes target attribute from links instead of setting the attribute to null. (Thanks to <a href=\"http:\/\/wordpress.org\/support\/topic\/plugin-open-external-links-in-a-new-window-target-attribute-left-empty?replies=2#post-1813522\">crashnet<\/a>)<\/p>\n\n<h4>1.0<\/h4>\n\n<p>Fixed: Credits to Tom K&ouml;hler (Charset).\nFixed: Links.<\/p>\n\n<h4>0.9<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Open external links in a new window or new tab. SEO optimized and XHTML Strict compliant.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1004"}],"author":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webfactory"}],"wp:attachment":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1004"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1004"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1004"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1004"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1004"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}