MQ ReLinks is a wordpress plugin which allows you to easy redirect all external links in posts, pages, comments, author and widget links, without passing link juice.
In stead of a direct link to another site, the plugin will create a link to a out.php file that will redirect to the requested URL. They can be opened in a new window or in the same one.
You can configure the post, comment and author link options in the administration area.
A redirected link will look like this:
https://maiq.info/wp-content/plugins/mqrelinks/out.php?url=http://www.wordpress.org/
You can edit it to look like this:
https://maiq.info/out/http://www.wordpress.org/
To do so you have to edit the .htaccess file and add a line of code:

RewriteRule ^out/(.*)$ wp-content/plugins/mq-relinks/out.php?url=$1 [L] 

right after this part of code:

BEGIN WordPress
RewriteEngine On 
RewriteBase / 
RewriteRule ^index.php$ - [L] 

There are further instructions in the administration area.

Usage:

  1. Download, unzip, copy mqrelinks directory to your plugin folder.
  2. Go to your wordpress admin panel, click on Plugins and activate MQ ReLinks.
  3. Go to Options>MQ ReLinks and configure the plugin.
    1. Select your desired configuration.
    2. Edit the .htaccess file (if needed)
  4. Click Update.

Requires:

  • WordPress: 2.3 or higher

Compatible up to:

  • WordPress: 4.7.1

Release info:

  • Date: April 28th, 2008
  • Version: 1.0
  • Date: May 28th, 2009
  • Version: 1.1
  • Date: July 28th, 2010
  • Version: 1.2
  • Date: March 19th, 2012
  • Version: 1.3
  • Date: October 25th, 2014
  • Version: 1.4
  • Date: February 20th, 2015
  • Version: 1.5
  • Date: March 10th, 2015
  • Version: 1.6
  • Date: December 10th, 2016
  • Version: 1.7
  • Date: January 11th, 2017
  • Version: 1.8

Changelog:

=Changes in 1.1=

Updated to work with latest version of wordpress Added support for anchor links (Ex.: href=#top)

=Changes in 1.2=

Updated to work with latest version of wordpress Fixed support for anchor links (Ex.: href=#top) will not be redirected, but http://www.someothersite.com/#something will still work Added .htaccess support, now your links can look likehttp://www.maiq.info/out/http://www.wordpress.org/ In stead ofhttp://www.maiq.info/wp-content/plugins/mq-relinks/out.php?url=http://www.wordpress.org/

=Changes in 1.3=

Updated to work with latest version of wordpress Fixed/added support for javascript links (Ex.: href=javascript:void(0)) will not be redirected. Fixed/added support for image links; .jpg, .gif and .png links will not be redirected. You can enable/disable this feature in the administration area.

=Changes in 1.4= Added widget suport Updated to work with latest version of wordpress

=Changes in 1.5= Bug fixes, Updated to work with latest version of wordpress

=Changes in 1.6= Bug fixes, Updated to work with latest version of wordpress

=Changes in 1.7= Bug fixes, Updated to work with latest version of wordpress

=Changes in 1.8= Bug fixes, Updated to work with latest version of wordpress

Download:

Installation:

  1. Unzip the downloaded package and upload the MQ ReLinks folder into your WordPress plugins folder
  2. Log into your WordPress admin panel
  3. Go to Plugins and “Activate” the plugin. “MQ ReLinks” will now be displayed in your Options section
  4. Configure the plugin under Options -> MQ ReLinks

42 thoughts on “MQ ReLinks – wordpress plugin to redirect external links

Leave a Reply

Your email address will not be published. Required fields are marked *