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

37 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
  • February 11, 2015 at 5:30 am
    Permalink

    Excellent beat ! I wish to apprentice even as you amend your web
    site, how caan i subscribe for a weblog website?
    The account helped me a acceptable deal. I were
    a little bit familiar of this your broadcast offered shiny transparent concept

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

  • March 13, 2015 at 3:59 pm
    Permalink

    He visto tu sitio y me parece de lo más interesante.
    No sólo pues lo que estás proponiendo tiene un extenso
    conocimiento (o bien cuando menos eso aparenta) sino más bien que la
    forma que posees de expresar tus ideas es genial.

    Espero que en algún instante podamos trabajar algo juntos o cuando menos que me des la oportunidad de recibir alguna visita
    tuya a mi weblog y me des tus puntos de vista. Al final del día quien sino más bien otro
    blogger para juzgar el trabajo de uno.

    Reply
  • March 18, 2015 at 12:58 pm
    Permalink

    I am really impressed with your writing skills and also with the layout on your blog.
    Is this a paid theme or did you customize it yourself?
    Anyway keep up the excellent quality writing, it is rare to see a nice blog like this one nowadays.

    Reply
  • March 18, 2015 at 1:09 pm
    Permalink

    Howdy! This is my first visit to your blog! We are a group of volunteers and starting a new project in a
    community in the same niche. Your blog provided us useful information to work on. You have done a outstanding job!

    Reply
  • March 18, 2015 at 1:13 pm
    Permalink

    I’d like to thank you for the efforts you’ve put in writing this blog.
    I really hope to view the same high-grade blog posts
    by you later on as well. In fact, your creative writing
    abilities has motivated me to get my own website now 😉

    Reply
  • March 18, 2015 at 3:07 pm
    Permalink

    Hello, I think your blog might be having browser compatibility issues.
    When I look at your website in Firefox, it looks
    fine but when opening in Internet Explorer, it has some overlapping.

    I just wanted to give you a quick heads up!
    Other then that, great blog!

    Reply
  • March 18, 2015 at 3:54 pm
    Permalink

    What i don’t understood is in reality how
    you are now not actually much more well-appreciated than you might be now.
    You’re so intelligent. You already know therefore significantly in the case of this
    topic, made me in my view consider it from a lot of various angles.
    Its like women and men don’t seem to be fascinated until
    it’s something to accomplish with Lady gaga! Your own stuffs nice.

    At all times care for it up!

    Reply
  • January 13, 2017 at 4:46 pm
    Permalink

    Hi! How to open link in new window? In the discretion of the plugin says: “They can be opened in a new window” … Help! (Thank you!)

    Reply
    • January 16, 2017 at 12:49 pm
      Permalink

      Enable the “Blank In” option, that will open your link in a new window.

      Reply
  • February 14, 2022 at 2:52 pm
    Permalink

    I’m now not certain the place you are getting your information, but good
    topic. I must spend some time finding out more or understanding more.
    Thanks for wonderful information I used to be searching for this
    information for my mission.

    Reply

Leave a Reply to Gabriel Cancel reply

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