MQ ReLinks – wordpress plugin to redirect external links

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

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

  1. 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

  2. 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?

  3. I don’t know but plugin is not working any more. I have changed the host, but everything is the same.
    I haven’t changed anything.
    Can you drop me a word or two?

    Thanks

  4. 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.

  5. 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

  6. Pingback: Plugin Update – MQ ReLinks 1.2 | Silence is everything

  7. Pingback: Plugin Update – MQ ReLinks 1.2

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

  9. 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

  10. 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!

    1. 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.

  11. Pingback: Wordpress plugin Update – MQ ReLinks 1.6 - Silence is everything

  12. Wonderful items from you, man. I have understand your stuff prior to
    and you are simply extremely magnificent.
    I actually like what you’ve acquired right here, really like what you are saying and the best way through
    which you say it. You are making it enjoyable and you still care for to
    stay it sensible. I can not wait to learn much more from you.
    That is really a great site.

  13. Hi there, just became alert to your blog through Google, and found that it’s
    truly informative. I’m gonna watch out for brussels.
    I’ll appreciate if you continue this in future.

    Many people will be benefited from your writing.
    Cheers!

  14. This is the right webpage for anybody who wants to understand this topic.
    You know so much its almost tough to argue with you
    (not that I actually would want to…HaHa). You definitely put a fresh spin on a topic that’s been written about for a long
    time. Wonderful stuff, just wonderful!

  15. Pretty nice post. I simply stumbled upon your weblog and wanted
    to mention that I’ve truly loved browsing your weblog posts.

    After all I will be subscribing in your feed and I’m hoping you write again very soon!

  16. I have been exploring for a bit for any high quality articles or weblog posts in this sort of space .
    Exploring in Yahoo I finally stumbled upon this site. Reading this info So i am glad to show
    that I have an incredibly excellent uncanny feeling I came upon exactly what I
    needed. I such a lot without a doubt will make
    certain to do not omit this website and give it a look on a relentless basis.

  17. Appreciating the dedication you put into your blog
    and in depth information you provide. It’s great to come across a
    blog every once in a while that isn’t the same unwanted rehashed information. Excellent read!

    I’ve bookmarked your site and I’m adding your RSS feeds to my
    Google account.

  18. You are so awesome! I do not suppose I have read a single thing like this before.
    So wonderful to discover somebody with a few original thoughts on this subject.
    Seriously.. thank you for starting this up.
    This website is something that is needed on the internet, someone with some originality!

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top