rel=”external” in a New Window

By Alex Moss

★ 3.0/5 (1 ratings)10+ active installationsVersion 1.2.1

Opens a new window with rel="external" instead of having to use target="_blank" or target="_new"

Description

rel=”external” is now the XHTML valid version that informs search engine spiders that the link is external. However, using this does not open the link in a new window. target=”_blank” and target=”_new” does this, but is not XHTML valid.

This very simple plugin adds a small JS file to your header to let this happen!

Installation

You can install this in 2 easy steps without any need for configuration:

  1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin!

You can also visit the rel=”external” plugin page. You also have a setting to call the JS inline or as an external file – it’s up to you!

Changelog

1.2.1

  • Added options to use $ or jQuery to call script

1.2

  • Minified code
  • Added inline or external file call in settings