How to Manage your Outbound Links in WordPress

Manage your links in WordPress

Creating unique URLs for your outbound links has many uses, such as unifying the appearance of all your links, creating easy-to-remember links, or gathering stats on how many clicks you get on each link.

In order to do this, you’ll want to use the WordPress plugin Redirection, which allows you to create 301 redirects for any URL you want. The brilliance of it is, the URL doesn’t have to actually exist for you to be able to use it, so you can make the link look like whatever you want.

For example, you could style all of your outbound links with a prefix and then a description of where the links goes. This is a tactic that I have employed on Do it With WordPress as a way of subtly indicating that any link with that the prefix /go/ is an outbound link. To get an idea of what I mean, here are some of my affiliate links, before I created redirections for them:

Instead of using the above, “ugly” links, I have created the redirections below that are much clearer about where they go:

To do it yourself, get the Redirection plugin installed and then go to the Settings page (under the Tools menu), where you’re presented with a dialogue box for creating new redirections. When you create a new redirection, you can leave off your domain name and just include what would follow the TLD (.com, .net etc.). So for example, to create the link that redirects to my HostGator affiliate link, I entered the information as follows:

Creating a new redirection link in WordPressIf you want to get into more advanced options, you can also set rules to redirect based on referrer (where the user came from), user agent (the browser used to view the page) or login status. You can also change what happens when the URL is used, such as diverting to a random post, or displaying an error message, but for a simple redirection.

Get stats about your redirections

Once you’ve created all of your URLs and started using them, you’ll start to see the hit counters rising and get some basic stats, such as the date each was last used and the IP addresses which have used them.

So, do you intend to use Redirection to unify the appearance of your outbound links? Or are you going to use it for one of its other uses?

8 thoughts on “How to Manage your Outbound Links in WordPress”

  1. kevin Chard says:

    Great article, this is a useful plugin for many bloggers!

    1. It really is. I find it handy for not having to remember particular links. For example, my Facebook URL is just rather than having to remember the specific vanity URL on Facebook etc. Very useful in many situations.

  2. Jasmine says:

    This is a really good plugin I must admit. It will make the URL look more friendly, not to mention easier to maintain at a central control panel. Good sharing!

  3. Adam says:

    Hi Dave,
    Thanks for the heads up on this plugin. I am very technical when it comes fine tuning my wordpress blog, but after reading this post, I am confident that I can use this plugin and stop using bitly. You have demonstrated this redirection technique very well, and I am eager to return for more insights. Maybe I will even get my head around rss? Thanks for sharing,


  4. Gabe says:

    I’ve been using “pretty links lite”, but the stats are always wrong and this one looks even better…I’m off to test it out thanks.

    1. Out of interest, how do you know that the stats on Pretty Links is wrong? I’d definitely recommend Redirection at any rate

  5. I also recommend Redirection. In addition to shortening referral & affiliate links, I use it to fix broken links that appear on my site from time to time.

  6. I have been using Pretty Lite link as well but I don’t think its working right. I just started a new blog and one of my outbound links says it has been hit 99 times but per Google Analytics I haven’t even had 99 visitors to the site in total! I might have to check this one out…thanks!

Leave a Reply