Link Cloaking Plugin Update

Some time ago I created a WordPress plugin that can cloak affiliate links automatically. Today I’m releasing a new version, with all-new feature(s)!

The main improvement I’ve implemented is “static link cloaking”. The previous version of the plugin could only cloak links that you’ve actually used in a post, which is inconvenient if you want to use the cloaked link anywhere else, like forums or e-mails, because the cloaked URL might change or stop working if you edited the post. This is still true for automatically cloaked links, but now there’s a new feature available – static links.

Static Links Are Different

  • Independent from the rest of your blog’s content – add any links and use them anywhere!
  • No numbers tacked on the end.
  • The number of hits is tracked!

Here’s an actual example of how a (static) cloaked link’s URL looks –
http://w-shadow.com/goto/GTrends/ (goes to my keyword research tool).

Using Static Links
You can add, remove or view the links in the Manage -> Cloaked Links tab. This page contains a form for adding new links and a list of existing cloaked links, if any. The list also shows the number of hits for each link. Note that the plugin counts all hits, including those generated by search engines and the like. This means that the number will probably be a bit higher than the actual amount of clicks the link received.

A link is defined by a name and a destination URL. The name is what you’ll see in the cloaked URL – in the example above it’s “GTrends”. The name shouldn’t contain any special symbols, like spaces, question marks, non-latin characters and so on. For best compatibility, use only latin letters, numbers and underscores in the name field. The name is case-insensitive and must be unique for each link.

The destination URL indicates the address to which the visitor will be redirected when he clicks the link. No surprises here – just make sure the URL is correct.

Adding static cloaked links is easy – just enter the name and URL in the corresponding boxes and click “Add”. The resulting cloaked URL will look similar to this – http://your_blog_address.com/more/MyLink/. “more” is a prefix that you can set in Options -> Link Cloaking and “MyLink” is the link’s name. You can also view the cloaked URL by clicking the “show cloaked url” thingy near each links destination URL.

To delete a cloaked link, click the “Delete” link in the corresponding row.

Download : WordPress Link Cloaking Plugin, ver. 1.1 (9 KB)

Installation Notes
After you’ve uploaded and activated the plugin, you must go to Options -> Permalinks and click Update Permalinks. This is necessary even if you have the previous version installed. The cloaked links won’t work if you don’t do this! Complete installation instructions and more information about this plugin are available in the original post.

Related posts :

104 Responses to “Link Cloaking Plugin Update”

  1. […] Update 19.09.2007 : vesrion 1.1 – now with static link cloaking! […]

  2. Mattg says:

    Hi,

    any chance you could shoot me an email please?
    I’d really like to have a chat with you about this link cloak plugin.
    🙂

    cheers,
    Mat

  3. White Shadow says:

    Email sent 🙂

  4. S.G says:

    Hi White Shadow,

    Your plugin is great, but after trying it on a WP 2.2.3 site, it doesn’t work. When I move my cursor over it, the URL still shows the affiliate ID and such.

    So far, it has only worked for WP 2.2.1 and maybe 2.2.2.

    I’ve not tried it on WP 2.3 but it probably won’t work too?

    S.G

  5. White Shadow says:

    This site runs on WP 2.3.1 and, as you can see, it works here. I also worked fine when I had 2.2.2. I’d guess it’s conflicting with one of your other plugins, maybe.

  6. na3s says:

    Hello!

    Great plugin. I had an idea I thought I would share with you, without actually knowing if there is a hook available for it. But here is the idea anyways:

    The ability to cloak links that are included in the template (or more specifically within the loop)

    This would allow the capability to automatically create the link by setting some post-meta data and have the link show up outside the post-entry and instead within the template. Just an idea!

    Thanks again for the great plugin. =)

  7. White Shadow says:

    Hey na3s, I’m glad you like the plugin.
    Unfortunately I’m pretty sure there isn’t a hook for that.

  8. Milos says:

    Is there any chance to make it work with custom fields?

    Thanks,
    Milos

  9. White Shadow says:

    Not in the foreseeable future, no.

  10. Afizi says:

    Hi, Thanks for your great plugin.. Unfortunately I’m unable to manage it work on my blog. I’m using wordpress version 2.3.3
    When I click on the link its only redirected to my home page. Kindly pls help. Thanks in advance.

  11. […] most recent version of the link cloaking plugin, though, adds what the author calls static cloaked links. These are what you want to use for […]

  12. brent says:

    does this work with wordpress 2.5
    have not gotten it to work

  13. White Shadow says:

    It should work in WP 2.5, at least it does for me. If you upgraded from 2.x to 2.5 you need to update permalinks (again) for the plugin to work. Also, make sure the “link cloaker” code is at the top of .htaccess (the cloaker-related part of the file is marked as such).

  14. White Shadow says:

    It should work in WP 2.5, at least it does for me. Just remember to update permalinks, and make sure the cloaker-related code is at the top of .htaccess.

  15. brent says:

    ok thanks
    does the code in the .htaccess file need to be in the wordpress area
    ‘# BEGIN WordPress” or before that

  16. White Shadow says:

    Typically it should be at the very top of the file, though it may vary depending on your configuration. It might also work if you put it right after the “# BEGIN WordPress” bit.

  17. Abel says:

    I installed version 1.2.2 on WP 2.3.1 but I couldn’t find the Manage -> Cloaked Links tab you mentioned. Did I miss anything? Thanks.

  18. White Shadow says:

    That’s very unusual. Is the other menu – Options -> Link Cloaking – also missing, or just this one? Are you sure the plugin is active?

  19. Abel says:

    The plugin is active and I can see “Options -> Link Cloaking.” I tested the cloaked links in my posts. They are fine. But I can’t see “Manage -> Cloaked Links” and the hits.

    I downloaded from http://w-shadow.com/files/link-cloaking-plugin.zip. Is the file correct?

  20. White Shadow says:

    The download link is correct. Just to be sure, I’ll reupload the file, and you can try downloading it again.

    Maybe you can access the page directly by going to :
    yoursite.com/wp-admin/edit.php?page=link-cloaking-plugin/wplc_link_cloaking_plugin.php

    There’s probably some conflict with another plugin…

Leave a Reply