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

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

  • June 15, 2008 at 2:17 pm
    Permalink

    I got fun stuff blog. One of the categories is blog and site of the day. As you can imagine I got many outbound links to other sites and blogs. Do you think that your plug in will work automatically on all of them and this is the right way to lower outbound links and in the same time not to cut presentation of great sites and blogs? You can contact me on my e-mail.
    Thanks

    Reply
  • July 21, 2008 at 3:47 am
    Permalink

    Hi,

    For some reason, the out.php does not redirect. I have to add a get function.

    Thanks for the plugin.

    What about the blogroll? Any intention to add that into the option?

    Reply
  • August 21, 2008 at 9:42 pm
    Permalink

    I dont know but plugin is not working any more. I have changed the host, but everything is the same.
    I havent changed anything.
    Can you drop me a word or two?

    Thanks

    Reply
  • August 25, 2008 at 7:56 pm
    Permalink

    I did, but everything is the same. Is there some requirement I should ask from host? It’s obviously, because it was working great on previous host.

    Reply
  • August 25, 2008 at 8:54 pm
    Permalink

    Can you be more specific about what`s not working? The whole thing? Look at the links, doese it rediredt them to out.php?

    Reply
  • August 27, 2008 at 10:28 am
    Permalink

    Ok, so the out.php is not redirecting, that`s from the php settings on your server. Fortunately all you have to do is download the plugin again from wordpress and replace all the files. You don`t have to reinstall it, just replace the files.

    Cheers

    Reply
  • August 27, 2008 at 6:37 pm
    Permalink

    Yes, now is working fine with new files.
    Thanks

    Reply
  • September 14, 2008 at 5:50 am
    Permalink

    thanks a lot. that is what i was looking for.

    Reply
  • Pingback:Plugin Update – MQ ReLinks 1.2 | Silence is everything

  • Pingback:Plugin Update – MQ ReLinks 1.2

  • April 8, 2011 at 7:34 pm
    Permalink

    Does this type of redirect pass any pagerank to the linked website?

    Reply
  • August 27, 2011 at 4:00 am
    Permalink

    hi,
    thanks for this :)) very nice 🙂
    but i get /out/javascript:void(0) links now :/ — mabe you can implement a check for this.
    thanks

    Reply
  • March 13, 2012 at 11:42 am
    Permalink

    hello;

    thanks for this plugin firstly. i have a situation. is there a possibility to remove outgoing links on images? because when i click on the image hosted on a different site, it does not load on lightbox.

    i want to exclude jpg and png extensions from relinks. is it possible?

    best regards

    Reply
  • March 13, 2012 at 2:48 pm
    Permalink

    Hy!
    Please help me!
    I install you plugin and the redirect look like this:”my domain/out/old link” and the Google chrome say: “Oops! This link appears to be broken.” 🙁
    I try to reinstall for a few times soo, and I try to rewrite something htacces to redirect to my domain, but I can’t 🙁
    In fapt, I want to make to disappear from my images wich I imported with rss the link to another sites.
    Can you help me? Thanks!

    Reply
  • March 19, 2012 at 3:10 pm
    Permalink

    Updated the plugin to work with javascript links and image links, enjoy! don`t forget to donate 😛

    Reply
  • March 29, 2012 at 7:43 pm
    Permalink

    It’s not working:(
    I update the plugin and I have only image link option,not with javascript link…:(

    Reply
    • March 29, 2012 at 9:31 pm
      Permalink

      go to the contact page and mail me with the link to the site it is not working on

      Cheers

      Reply
    • May 21, 2012 at 4:57 pm
      Permalink

      Posted on Hi there, I discovered your blog by the use of Google at the same time as sieachrng for a similar matter, your web site came up, it looks great. I’ve bookmarked it in my google bookmarks.

      Reply
  • Pingback:Wordpress plugin Update – MQ ReLinks 1.6 - Silence is everything

Leave a Reply

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