Affiliate Links Manager for WordPress

walm25With this plugin you can:

  • Create simple URL redirects like or
  • Track clicks in your Google Analytics account.
  • Reduce load on your server — this plugin handles redirects in a very efficient way.

Requirements: I tested the plugin with WordPress 4.1.1 and PHP 5.5. It has also been tested with versions down to WordPress 3.1 and PHP 5.3. It may still work with older versions. Your site must be using pretty permalinks. To get click tracking, your site must be pre-configured with Google Analytics.

Note on Updated Version 1.2

I took over management of this site and discovered that WinkPress has a plugin! Updates have been made to make the plugin easier to understand and URL validation strictness has been lessened quite a bit to allow for non-www URLs.

However, I have not yet gotten access to the WordPress repository to allow for the usual update method within the admin area. To use the updated version, you will first need to uninstall your current version, and then delete it. Otherwise you will get a “folder already exists” error when you install the new version. No worries, because the links you have already set up will still be stored in the database.

Download WALM 1.2 here. (You can right-click and select “Save link as…” to bypass your download manager if you want.)

Then in your admin area, go to Plugins>>Add New, and click the “Upload Plugin” button at the top of the page. Click the “Choose File” button and navigate to where you downloaded v1.2.

Select the file and click “Open”. You will then click “Install Now”. The new version will be installed, and you can activate it. You will find all your links are still there, and hopefully the plugin will be more friendly to your URLs.

Thanks to M.K. for creating such a great plugin. It’s much more complicated on the inside than it is on the outside!

How to Use

The plugin menu is found under “Links” in your WordPress admin sidebar. Simply go to “Add an affiliate link” page by clicking on Links>Affiliate Links from your admin menu.








Enter a human-friendly name for your link. Enter the original affiliate link that you get from the vendor. Enter a short link. Click the “Add link” button.

WALM Add Link

Now your short link will redirect to your original affiliate link. And when your short link appears on your WordPress site, the clicks it receives will be tracked in Google Analytics.

The plugin will notify you when you try to do something undesirable with your short links, but just in case, here are two things you need to keep in mind:


For performance reasons, your short link must be at least two levels. First level for your trigger (see below) and second level to identify the specific affiliate info of the Original Link you put in.

Bad: (Does not allow WALM to work.)


Also good:


If you have a web page on your WordPress site whose permalink begins with, say, articles — like, do not use the word articles as the first level of your short links.

That is, a short link like would be bad. This would cause conflicts with already existing category slugs, tag slugs and any other type of slug.

How Tracking Works

Whenever you enter a new short link, the plugin saves the first level as a “trigger.” For example, in the trigger is /a/. The plugin will save as many triggers as you are using in your affiliate links.

Now in your WordPress site, when you link to any page using a URL that has a trigger in it, the plugin will add some JavaScript to your <a> tag to track clicks in Google Analytics.

So, if you have a link like:

<a href="">affiliate link</a>

The plugin will transform it into:

<a onclick="javascript:_gaq.push(['_trackPageview','/a/product/']);" href="">affiliate link</a>

And that’s how clicks are recorded in your Google Analytics account.

(Credit: I got the content scanning and tracking code from Google Analytics for WordPress by Yoast. It is my favorite Google Analytics plugin and it is the one I use in combination with Walm.)

This is how the Google Analytics report will look: (Mizagorn note: these are a bit dated and I will get them changed when I can, but the info is good for an idea.)


And this is how your affiliate links will be listed inside WALM:


Hovering over the double right arrow on each row in the Destination column will show you what your original vendor link is.


If you have questions, bug reports, or feature requests — post in the comments.

(If you wanna say thanks, I’d really love it if you linked to WinkPress from your site.)


Download from »»

116 comments. You can post one, too!

  1. Steven

    Any update on removing the validation? Never looked like you got round to it :-(

  2. When I turn the plugin on all internal links disappear. I don’t just mean the link stops working, any text that is part of the link is no longer in the post.

    I have no affiliate links set up. All external links are unaffected. All internal links in the sidebar and menus remain unaffected.

    Any ideas?

    • I have similar problem any solution? WP 4.1.1

    • Mizagorn

      Hi Marcin,

      First wanted to apologize for the out of date content. I have just taken over management of the site and I’m working on a modern version with updated content coming soon.

      In the meantime… This site itself is running the plugin on WP 4.1.1. Do you have Pretty Permalinks set up?

      Also, I find that the plugin version on this site is 1.1, which is not available in the WordPress repository. I have no idea (yet) how to get that updated, but I can upload the newer version somewhere for you to access if you want to give it a try.

      Let me know what I can do to help, and we’ll see if we can get this working for you! ;-)

    • Steve

      Hi Mizagorn! Would love to try the updated version – has the data validation been fixed?


    • Wow thx for fast reply i will check this during weekend and give some more info about my problem :)

    • Mizagorn

      Steve and Marcin:

      Here is a link to what is supposed to be version 1.1. I have not yet had time to take a look at the code (however, if this does not work for you guys, then I will make it a priority).

      WALM 1.1 (Hint: Right-click and select “Save link as…” to bypass your browser download manager if you want to.)

      If this doesn’t work for you, then please uninstall it and re-install the 1.0 version via the WordPress repository.

      I installed the updated version on two other sites, but they both give me a “Cheatin’ Uh?” error page when I go to Links>>Link Categories. Note: Although deleting this plugin only deletes the files and not any database entries, it might be a good idea if you have the ability to back things up first. Which is a good idea regardless. However, I “downgraded” the 1.1 version back to the 1.0 version and did not lose any entries. Still says I’m trying to cheat, though! :-?

      My tests were on two different themes by two different vendors, and this was a big “issue” with WordPress v3.2 and up for a *lot* of themes and plugins (mainly about media uploading), so I will need to research that if y’all have problems in that regard. However, as I said, it is working fine on this site.

      If either of you could provide details as to error messages then I would be greatly obliged!

      In the meantime, if you have a chance, please take a look at this same article (minus our current comments) on the new site I am creating, and let me know if you think it will be a better experience for everyone. It is not finished, of course (or it would already be live lol). ;-)

      WinkPress Staging Area

    • Mizagorn

      Wow, always something to learn in the world of WordPress.

      I had assumed, because most sites I’ve worked on don’t have it, that the entirety of the “Links” admin menu was created by WALM. That is not the case. Only the “Affiliate Links” option pertains to the plugin.

      That vastly narrows the scope of our problems, eh? The “Link Categories” issue I mentioned is not relevant to this plugin. There are just a few files to look at to get updated where needed.

      So, again, as any developer would ask (especially since this site is not having any issues so I have no idea what to look for), please let me know what messages or actions you see that are wrong so I can track it down and get it fixed for you. This might help others having the same issues as well!

    • Steven

      Hey Mizagorn!

      Good work with the new site – looks great!

      The issue I was having was that it was coming up with the following error:
      “Your original link doesn’t look like a real link:*****/******/****”

      With some tweakin, I’ve worked out that a link has to have the “www” and no “-” in order for it to work:*****/******/****”
      The link above will save correctly but obviously won’t link to the correct page that I want it to.

      So if these constraints were removed from the plugin, then it would work for the URLs that I have :-)

    • Mizagorn

      Great Steve! Awesome info, and I know pretty much where to look for that. Your help is very much appreciated. (And thanks for the kind comment as well!)

      I will take a look and let you know. I don’t know exactly how long it will take, but I suspect 2-3 hours. So maybe you will have something nice waiting for you in the morning, unless you are in another time zone (Central USA here) or you are a night owl like me. ;-)

    • Steven

      I’m in Australia so it’s still early here :-)

      Thanks for the great support!

    • Mizagorn

      OK, here is version 1.2. It reduces the strictness of the URL validation and adds some helpful hints and styling.

      WALM 1.2
      (This is the same link I posted above, so if you downloaded it earlier, you will need to do so again. This is so the plugin will have the same name.)

      You will need to uninstall your existing plugin, and then install this version using the “upload” function (or you will get a “folder already exists” error). I haven’t gotten around to getting access to updating the plugin in the WP repository yet. Deleting and manually installing the plugin will not erase any links you have already set up.

      I did not look at the missing link text that Clare posted about when starting this comment thread. If it continues to be an issue I will take a look.

      I tested this with your affiliate link example. Let me know if you have any issues or suggestions! Thanks very much for the help.

    • Steven

      Worked a treat! Cheers – would definitely get it updated on :-)

    • Mizagorn

      Awesome, thanks Steven. :)

  3. Just wondering if anyone has tried this on wp multisite?

    Seems to work OK for me as Super-Admin, and I can see the plugin in the dashboard of all other user accounts. However, it’s not visible in the dashboard for other users on their own sites?

    Anyone come across this and manage to work it out?



  4. Hello!
    I’m trying to add some links, but I keep getting a “Your original link doesn’t look like a real linka” error. It’s VERY much a valid link but the plugin won’t let me save the link. Any help is greatly appreciated! ( a link to the screenshot-
    ALSO, couldn’t make my comment cool. Got a 404 page :(

  5. You really make it seem so easy with your presentation
    but I find this matter to be really something that
    I think I would never understand. It seems too complex and
    very broad for me. I am looking forward for your next post, I will
    try to get the hang of it!

  6. Steven

    “Your original link doesn’t look like a real link” – I’ve noticed a few other comments and it said that this would be rectified in a new version but that was over a year ago. I get this issue too :(

  7. dwxxx

    I’m testing this plugin under nginx + wordpress. Pretty permalinks is enabled and working (the test articles I created use them correctly), however the affiliate links just gives me a 404 error. Is there anything special or different I need to do within nginx to get this working?

  8. tyr0n


    How can I apply this plugin to custom coded content. I’m referring to the google link tracking part. The code is inside the index.php template file and shows a table with som links.

  9. Jack

    Would it be possible to add a feature which would count how many clicks each link had overall?

  10. yann

    Is there a way to import links ?
    I have a lot of link to import (250) and don’t want to do it one by one.


  11. The plugins doesn’t work anymore on my website

    Links comes on error 404 page :

    can you help me ?

  12. Thanks for this. I’ve been looking for a plugin like this for awhile!

  13. Ohhh… Great, I thought this kind of link improvement only available on premium themes like Genesis or thesis, but now I can have the same.

    But if anyone looking for other alternative, you can use to short your affiliate link, click statistic also provided there.

    Thanks a lot M.K :)

  14. Hello,

    I tried to edit one of my links (because I made a failure). Now in WALM it looks okay but the link doesn’t work, the wrong first link still seems to work.

    Can you help me please?

  15. Mike

    I would like to know if it’s possible to sort, or put the affiliate in some type of alphabetical order? I have more than 100 affiliate and trying to find one can be difficult.

    • Mike, All your links with WALM will always be on one page. You can simply use Ctrl+F on your browser to find the link that you want. The links are ordered by “modification date”.

  16. Richard

    Thank you for this fine peace of affiliate software. After some basic changes by a representative of Host provider to my .sql, I realized that affiliate link manager stopped working.

    My configuration ::
    – Shared hosting
    – I requested some help to get the www. prefix before my domain names
    – Hostgator rep. changed 2 setting in my .sql database ::
    * wp_options – > Siteurl and
    * wp_options – > Home
    from to

    Thats it. My wish granted.

    However since that day, my goal conversions within google analytics aren’t being measured anymore. I tried uninstalling your plugin and reinstalling it again, but to no avail. I believe the plugin entries remain in the database. So I guess uninstalling the plugin is not going to help.

    Any suggestions to solve? I don’t have a backup of the .sql as my backups go 10 days back and it was probably about two weeks later that I realized that it wasn’t working.

    Your help is appreciated,

    • Hi Richard, What’s your website?

    • Richard

      That is

    • Which links on this page are supposed to be tracked?

    • Richard

      Well I am using one affiliate link on the page. For instance you’ll find the image “of lees meer” next to the CTA, which anchors “”. This link utilizes your plugin.


    • When you view links within the admin screen of WALM, they display with the “www”, correct? What you need to do is go back to the content of your pages and change the affiliate links to include the “www” and it’ll start tracking again.

    • Richard

      I actually tried that with a test affiliate link, which did include www, before. GA did not track this link either. Seemed like the obvious solution though.

      However, within GA I had set IP filter, which removed hits from my own IP address. Didn’t think about that one. This could have been the reason, why I wasn’t seeing any results from the tests I was doing. I turned the filter off now and will come back to you asap!

    • Richard

      Hi M.K. I tested it. Internal links are tracking within GA. WALM links are not… I rechecked the links and all seem setup in the right manner.

    • M. K.

      Richard, I just checked the source code of your page. The Analytics code snippets are inserted correctly. You should begin to see affiliate link clicks as pageviews in Google Analytics. I noticed that you’re using a plugin called Ninja Google Analytics, which is inserting the tracking snippet in the footer, while the recommended place for the code snippet is the header, actually. Consider switching to Yoast’s Google Analytics for WordPress.

    • Richard

      I actually did get some GA hits on the affiliate links. This was however
      way below the actual number of hits. I have now installed Yoast GA
      for wordpress and hope to some useful results. Ill get back on the results.
      Thanks for your time and insight!

    • Richard

      GA & WALM is working like a charm now. Excellent piece of work!

  17. Willem

    Good evening,

    What is the benifit of this plugin? In your other article you explaine that Google analytics by yoast also can track outbound links?

    Kind regards,


    • Willem, Link redirection and tracking combined into one.

    • Willem

      Hope I can bother you again. I looked up the internet what you can mean with link redirection but I can not totally understand what you mean.

      When I put links on my website I want to track how much traffic I generate for that website. So the simple option is to track outbound links with Google analytics plugin from yoast. This will track it as events.

      I think your plugin tracks it like fake pageviews? But in GA plugin by yoast is also this option:

      You do not need to enable this to enable outbound click tracking, this changes the default behavior of tracking clicks as events to tracking them as pageviews. This is therefore not recommended, as this would skew your statistics, but is sometimes necessary when you need to set outbound clicks as goals.

      Is this nog the same like your plugin?

      Hope you can help me out. I want to use your plugin for the commercial links, but I there is no benefit (i understand) it makes no sense to use it.

      Kind regards,


    • Yoast’s plugin doesn’t do redirections, and it doesn’t work without a redirections plugin.

      Through a redirection plugin, you can setup a link like “” to forward to product website. Then you’d tell Yoast’s plugin to track all links that begin with “/out/”.

      Think of WALM as mainly a simple redirections plugin that’s optimized for affiliate links.

  18. Similar to Shane above, posted 6/28/11, we’ve been seeing the exact same issue – internal links not being displayed on the site. However, when we isolated the issue to WALM, we noticed that WALM supports 3.1, and we’ve been upgraded to 3.3.

    Will there be an update to WALM soon to support 3.3 and/or is this issue WP version specific? Disabling WALM fixes the issue, but we would like to get it back up and running.

    Thanks for your help!

    • Nick, The replies to Shane’s comment mention that if you just add one link to WALM, the problem goes away. If you activate WALM without adding any links, it’ll cause problems. It’s a minor bug.

  19. I’m not 100% sure I have this setup correctly… I am not seeing any of the affiliate links inside google analytics…

    We have many reps that are selling our services, and need to track the traffic they generate, and the pages that are clicked on when someone uses their link..

    The first think I’m trying to get working is here: it should redirect to here:

    which it does, but then I don’t see anything inside google analytics to indicate that..

    Thanks in advance for helping a newbie!! ;-)


    • Hi Chris, The link will only be tracked if it appears on a page that’s part of a WordPress site where the plugin is installed. If a rep gives out this link in an email newsletter, for example, it won’t be tracked. Let me know what page on your site the affiliate links appear.

    • I’m not 100% sure I’m using this correctly…. I really hope this solution will work for me!! What I’m trying to do is have a link that when people “GET” to the site via the link, everywhere that person goes on the site is tracked inside google analytics…

      I have the plugin installed on the site, and I have a link setup:

      I have setup this link that I’m trying to get people to use

      It’s setup in your plugin and re-directs to this link:

      it appears to be working correctly, but doesn’t seem to show up inside google analytics…

      Any help would be GREATLY appreciated!! Thank you so much for your help!

      Chris Behnke

    • I put up a quick page that shows some screenshots of google analytics and the URL setup in the plugin…


    • Chris, The purpose of the plugin is that if you have affiliate links on your site (as an affiliate marketer), the plugin will track when visitors click on your affiliate links, so that you know how many visitors you send to a vendor.

  20. Hi, I have been using AFM for some time now but today when I add a link to my website I get the following message: http1 not working. Is this just temporary?

  21. brian

    Hey M.K., great plugin.

    I’ve got a problem though… I use WALM with Google Analytics for WordPress too, but I want to track my outbound clicks with events, like GAW does it. But since WALM uses pageviews, it is overriding GAW’s functionality and my links actually have the pageview tracking code. How can I let GAW be in charge of all my tracking? or what would you suggest to solve my necessity to track clicks with events?


    • M. K.

      Hi Brian, I track everything as pageviews, not events. Events are limited and don’t provide as much information. For example, with Events, you cannot see the navigation path that lead to your affiliate link being clicked. I think you have to set GAW to track outbound clicks as pageviews to get WALM and GAW to work together.

  22. Hi!

    I recently went to the GA to find our tracking, (we use /aff/ as our 1st level) and I didn’t see any hits, even though I know there were a few. After a bit of reading, I have a question.

    Does WALM work in widgets? My affiliate links are 125×125 ads. I know they are clicked on, but I’m not seeing the javascript inserted when I view the site.


  23. Hey, where do I find the tracking info for the links in GA? I can’t seem to find it?

  24. Hey, do you know of any issues with the plugin and not letting images show up in a post? I am having a problem with no images in the post itself, although they still show up in the excerpt. I deactivated all plugins and it ended up being this one, even if all plugins were off besides it. Turn it off and they show up. I use the catalyst theme.

  25. Hi,

    First of all I love your plugin works great and simplifies a lot of headaches. I am glad I found in early on in my website developement as it saved me lots of time and headaches going back and changing all the links.

    My question to you is I would like to add the nofollow attribute to all my href links and i installed a plugin to do this for me but it is not showing up in my code. Does your plugin actually achieve this function for google natively ? I am thinking of uninstalling your plug in and then running the one that assigns the nofollow and then reactivating yours . If I do this will all my old short links be deleted ?

    Thanks in advance. Sorry for my beginner knowledge in this field.

    • Hi Jenny, WALM doesn’t add a nofollow attribute to affiliate links. My own experience with SEO has shown me that worrying about nofollow attribute is unproductive. Almost 99% of links on WinkPress main content don’t include nofollow.

      Anyway, the order of activation, reactivation of plugins shouldn’t matter. You can try uninstalling WALM and see if this allows your other plugin to work.

  26. Just FYI and you may have mentioned this somewhere (?) but until I added my first link, any images that utilize the wp-slimbox 2 plugin “disappeared” from the page. Perhaps it’s because it uses javascript to lookup images and link to a lightbox? Anyways, it works fine after I added the first link to the WALM.

    • Hi Holly, You’re right. No plugin should have such a problem. I will make sure this issue is resolved with the next update. Thanks!

  27. Hi, I use affiliate links manager on one of my websites already and it works great.
    When I added it to the above website, html within my webpage wouldn’t function correctly although everything was ok on the admin side. When I tried to upload it and view the source on the actual site the images and links weren’t showing up. I had to deactivate affiliate links to get the page to view correctly.
    Any idea what the problem could be and why it would work on one of my wordpress sites and not the other?

  28. Antti

    Great work but I have some issues with Tradedoubler links

    Original link form :*******)a(1******)g(1*********)

    After affiliate links manager :*******a1*******g1*******

    So brackets are stripped away.

    Do you have any solution or can you advise me what I need to change?

    • Antti, I tried your link on my website (replacing the asterisks with random numbers) and the brackets were fine. Your problem is probably related to your PHP installation being incompatible with the aggressive filtering that WALM performs on links. As stated earlier, I’ll remove the link validation filters on the next update. Until then, I’m afraid there is no solution—unless you wanna go into the database, like Phill, and fix the links manually in there. Thanks!

  29. Hi there. Fantasic plugin. Where can I send you a donation to say thanks?

    I have a problem with the Google Analytics tracking – I can’t get it to work. I have Google Analytics set up and running with the Google Analytica plugin. I have added links into WALM and then created a page with example links in it.


    For some reason the tracking javascript is not added to the links when the page is saved. I simply see the standard link in the page source.



    I’m using the default wordpress editor.

    Do you have any suggestions about why it may not be working?

    Have you had reports of the tracking code insert failing due to conflicts with other plugins?

    Thank you!

    Oh… by the way – the url parser also won’t accept affiliate links that have a subdomain in them. i.e.:

    • Phill, I have no idea what’s causing this.

      I added in WALM. Then went to WordPress editor and entered:


      I published the page and when I looked at the source code, I saw:


      The JavaScript code is added, no problem. So, I’m thinking, like you said, there might be a conflict with another plugin you have. But I haven’t had reports of any conflicts.

      As for the affiliate link with subdomain, it should work fine if you have a newer PHP version installed on your server. But I will do away with this buggy parser completely in the next update. I was told that most popular PHP apps avoid using the built-in PHP filters because they’re poorly supported in many web host environments. So, it’ll be the user’s responsibility to make sure their links are well formed.

      Let me know if you get more information on this problem.


    • Thanks for the fast reply.

      Yes, I suspect that it will be a plugin conflict. I couldn’t disable all the plugins on that particular site as it was already live. I’ll make a backup of it over the next few days and test the plugins then. I’ll let you know what I found out.

      Also strange on the PHP parser. I’m running PHP 5.2.17. Does it require a later version of PHP than that to work? Not a big deal at the moment – I just jumped into phpmyadmin and updated the links directly in the database :)

      Do you have a donate button or paypal address I can send a small donation?

      Thanks again!

    • Oh yeah, going into the database and updating the links, that should work, lol!

      WALM uses a built-in feature in PHP to validate the links, and this feature seems to have had problems around version 5.2.13. The issue you’re experiencing maybe related.

      I’m currently working on content for the membership plugin section, but once that’s done, I’ll get back to fixing WALM. I’ll remove this problematic link validation feature and I’ll add a few other cool features and enhancements.

      Here’s my Donation Link. Thanks a lot! :D

  30. So basically if we club WALM and SEO smart link then we get Affiliate Ninja plugin. Cool.

    Thanks for sharing it.

    • I have Ninja Affiliate, but I use WALM because having accurate click tracking is critical to me. Ninja Affiliate built-in click tracking isn’t reliable.

      Here’s an example of why click tracking is just crucial to any affiliate marketer:

      Last month I sent 150 unique real-human visitors to a vendor and generated 16 sales.

      I’m very confident in these figures because they’re recorded by Google Analytics with the help of WALM. Google Analytics automatically discards clicks from spambots and other web-crawlers, so I know my stats aren’t cluttered with BS.

      Then this month, by the 20th, I notice that I’ve sent 130 unique visitors to the same vendor and generated no sales at all, so I contact the vendor and tell them “guys, last month was 150 uniques, and 16 sales. This month so far, 130 uniques and no sales, what’s up with that?” They reply, “Oh sorry, there was a glitch in our tracking system, here’s the commission for 16 sales and any new sales will now be tracked. Thanks for alerting us!”

      Without accurate tracking, this wouldn’t have been possible.

  31. Alok


    Thanks for creating this wonderful plugin.

    But for some reasons, this doesn’t seems to be working for me. I get a 404 page not found. I tried disabling all the plugins but still no good. I don’t need click tracking, just a redirection.

    Any clues what could be wrong?



    • M.K.

      When do you get the 404 error, when you try to follow an affiliate link that’s created by WALM or when you try to access a post on your blog? If it is when you try to access a post, then WALM is not the problem–some other plugin or setting is. If the problem happens when you follow an affiliate link by WALM, then make sure that you have pretty permalinks enabled in WordPress.

    • Alok


      This is happening when I follow the affiliate link.

      I double checked and pretty permalinks is enabled. I am using the /%year%/%monthnum%/%postname%/ format.



  32. Hi M K,

    I have the same problem as others have noted here with regards to the links disappearing once the page has been published. I also installed pretty permalinks, but once I did that all my pages just had a 404 error. So I deactivated pretty permalinks, and I still had the same problem. I then deleted the page I was working with, and created a new one, and the page is shows up fine this time, but I still have the same problem with the hyper link not showing up.

    I know you are doing your best to come up with a update that will solve this problem, but could you or Jimk ( if he’s still around) give step by step instructions on how he did what he did to solve this problem please?

    I’ve tried to figure it out for myself, but I can’t.

    I still don’t get why the pretty permalink plugin is needed, and what it does? I know it’s supposed to make the link pretty, but I can’t see why it’s needed with your plugin and I would have thought that your plugin on it’s own would have done this is the permalink structure is set correctly. ( but I’m no programmer…obviously)

    If it should be installed before WALM or after, or if it makes any difference? I’ve tried activating and deactivating the plugins in different orders and still get the same problem.

    If you aren’t able to give me step by step instructions on how to overcome the disappearing hyper links do you have a rough time scale on when a new version of the plugin will be released please?

    Many thanks


    • M.K.

      Hi Paul, Thanks for your comment. The Pretty Link plugin is not required. What is needed is what WordPress calls “pretty” permalinks. And you do that in the settings of WordPress (See this page). Sorry about this confusion, I’ll try to re-write the description above to make this clearer.

      As to all your links disappearing upon activating WALM, the solution is simple. At least add one affiliate link and WALM will start to function correctly. If you have WALM installed, but no links added, it will cause the issue of making all your links disappear. Obviously this is another bug that I need to fix in the next release. I really can’t say when exactly I’ll get to releasing a public update for the plugin–maybe in a month, a couple of months, or so…

    • Paul

      Hi MK,

      Thanks for the quick reply. I had actually added four links to WALM and tried hyper linking one in a post when I had the problem. However, things are even worse now because I can’t even get to see if my links will show up because every time I go to post a new page I just get a 404 error.

      I have been changing the permalink structure a few times to see if I could get the bloody thing to work. I’m not bothered about my site ranking for any keywords ( competitive niche, so using paid and other traffic) so I just want the permalink structure to look good. So I was quite happy with /%postname%/, but now that or /%catergory%/%postname%/ or even the later but with year instead of catergory won’t allow my pages to show up. Any ideas on why this is happening, or what I can do would be much appreciated. What a frustrating sunday…wasted. Ah well, if this internet marketing thing was easy, everyone would be doing it:)

      What permalink structure is the best to use for WALM?

      Does it only work with certain ones?

      Many thanks

    • M.K.

      %postname% for permalink structure is fine. WALM is not picky when it comes to permalink structures, you can use whatever you want.

      Your 404 errors could be the result of conflicting plugins that are trying to resolve your URL queries.

  33. Hi,

    thanks for the great plugin!

    I have one problem though. Some of my affiliate links have brackets in them: ) and (, but the plugin strips those away and the actual affiliate link does not work without them. Is there anything I could do about it?

    I have to use deep linking in the affiliate links and that’s why the affiliate links have brackets.

    • This link validation feature of WALM seems to be causing problems for people. I’ll release an improved version soon without link validation. I’m afraid that until then, there isn’t much that can be done. Sorry.

    • OK, thanks anyway! Looking forward to getting the improved version.

  34. i’m getting the same message as the guy before….”your original link doesn’t look like a real link”
    what could be the issue?

    • Are you trying to use hyphens in your links? As with the guy before, there is a bug in certain versions of PHP that causes this error for hyphenated links.

    • yep. so is there a way to correct this? contact the affiliate for an unhypenated link?

    • The bug is present in only a couple of older versions of PHP. You could contact the vendor for a non-hyphenated link or update to the latest version of PHP.

      I will include a solution to this problem in the next release. Thanks!

  35. I have to say this is an awesome plugin. Lightweight and does its job.

  36. I installed your Affiliate Links Manager Plugin. I think it’d be great for my site.

    I’ve been having some problems, though. Whenever I installed your plugin, no links on my site showed up. For instance, say I hyperlinked to our “Contact” page using the anchor text “contact us”. When i look at the website after I’ve updated this, the text simple doesn’t show up and neither does my link.

    Why is this? What do I have to fix?

    I’m using the “pretty permalinks” already.

    • M.K.

      Hi Shane, No one has reported such a problem before. It is possible that your issue is caused by another plugin — not Walm. So, deactivate Walm and see if the problem persists.

    • JimK

      Hey MK,

      Thought I would take a minute and share something I discovered with your plugin bud. I was experiencing the same issue as Shane, in which I spent about 3 hours ( a bit ashamed to admit honestly) trying to figure out why my entire site was not showing any of my INTERNAL site links. Just like Shane the link and text to the link would simply disappear on the live page or post, even though they looked fine in the editor. Spent quite a while trying to figure out as I thought it was something in the template files. I thought, let me try and disable my plugins one at a time and see what happens. Sure enough upon disabling the WALM plugin, bam, all my links show up!!

      Mind you I have used this plugin on another site and loved it, so I dug a little deeper. Turns out if you do not have ANY redirects or links setup in the plugin, this is what happens. Maybe it is related to the WordPress version, I don’t know. I am NO programmer:-) I first uninstalled and re installed fresh version of plugin, links again disappeared, then I add a redirect inside plugin’s option panel and bam problem goes away.

      Anyways bud, love your plugin so I thought I would take a minute to share so you can give others that may experience this the easy fix……….USE THE PLUGIN!!


    • M.K.

      Thank you JimK!! I was at a mental roadblock trying to figure out what caused Shane’s problem. This problem, however minor and manageable, is still caused by a fault in Walm. I’ll fix it in the next update. Thanks again!

    • Shane


      i’ll try it right away – i figured it’d be something simple

      thanks for the feedback guys!

  37. Raza

    Does it work with piwik instead of Google Analytics?

    Secondly, what I want to track are my ads appearing on other websites while the landing page is on an affiliate website.

    On my site I have and it redirects to If I use in the ad on, will it track the traffic going from to ?

    • M.K.

      Hi Raza, No, unfortunately it’s not possible to use Walm to track ads appearing on other sites — even if the ads are yours. For the link to be tracked it must appear on the same site where your Google Analytics Javascript snippet is loaded. And Walm only works with Google Analytics. It doesn’t support piwik or any other analytics solutions.

  38. Jase

    Hi there,

    I am loving Walm, however it looks like it doesn’t like hyphens!

    When I put in an “original link” that has a hyphen in the domain name, I receive the error “Your original link doesn’t look like a real link”.

    Any thoughts?

    • M.K.

      Hi Jase, I just tried with a link that contains hyphens and it worked fine. I’ll email you to discuss what the problem could be…

    • M.K.

      Turns out it’s a bug in some older versions of PHP that’s preventing URL validation from working properly. Newer versions of PHP should work fine.

  39. VBK

    Looks Nice ! Will Check it :)

  40. Paul

    I don’t want to use Google Analytics. Do I still have to use a minimum of 2 levels?

    • M.K.

      Hi Paul, The use of two levels is for performance reasons. It helps the plugin query your database faster to find the original destination of the short link quicker. So, the answer is yes, you need two levels even if you don’t want to use Google Analytics for tracking.

  41. Joe

    I have a question on the plugin. I want to allow someone to post an ad on my blog and have the ability to track how many times that ad was clicked on. This looks like it will do that but want to confirm this plugin do what I need? Also I saw a plugin called “pretty link lite” is that the “pretty permalinks” you reference in the instructions above?

    Thank you

    • M.K.

      Hi Joe, You can use Walm to track clicks on links that are created with Walm. For example, go to Walm’s “add link” screen and make a short link for your ad, say, Now whenever John uses that link within your site, Walm will track the clicks.

      Pretty permalinks and the Pretty Link plugin are two different things. No, you don’t have to use the Pretty Link plugin.

  42. Ron

    Trying to use WALM and the affiliate links I made on my site to be shortlinks .. are on :
    The MBAM link you see on that page gets a 404 error when clicked
    when it should link to :

    I must be missing something, or its not working for me.
    PS, also noticed one would not want the Google Analytics Plugin Running at the same time as the Analytics Code plugin from Qualtiy Point, or you end up duplicating your stats.

    • M.K.

      Ron, you need to be using something other than the default permalinks.

      With your current permalink setup, WordPress doesn’t see requests outside of the directory where it is installed. That’s why no plugin will be able to handle requests going to, say,

      I’m afraid the only solution is to switch to pretty permalinks.

      That’s not to say it’s impossible to accommodate default permalinks users, but default permalinks aren’t very popular. And switching to pretty permalinks can provide other SEO and functionality benefits.

      For example, with pretty permalinks, you’ll be able to handle 404 errors with plugins. Currently, you can’t do that.

      Thanks for bringing this up. I’ll update Walm information to list “pretty permalinks” as a requirement.

  43. Malika

    Does this plugin give you the ability to turn particular keywords into the affiliate link like the ninja affiliate plug in?

    • M.K.

      Nope, Walm doesn’t do this. I used to love this feature in other plugins but after having actually used it, I found myself not liking it so much. If you must have it though, try the free version of SEO Smart Links.

Leave a comment

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

Read this to make your comment cool.