Link Cloaking Plugin for WordPress

I’ve created a plugin for WordPress that can cloak outgoing links in your posts and/or pages.

Features

  • Choose what to cloak – all links, only the links you specify or no links at all.
  • Choose where to cloak – posts, pages or both.
  • Configure the URL – you can set the “prefix” part of the URL (see examples below).
  • Exception list – links pointing to domains in this list will not be cloaked. For example, this is useful if you have chosen to cloak all links but don’t want to cloak the links to your own domains.
  • Compatible with all browsers – the link cloaker plugin doesn’t use JavaScript so it will work even for visitors that have disabled JS.
  • “Smart” cloaking – relative, ambiguous or malformed URLs will not be cloaked. Better safe than sorry.
  • As of version 1.1, static link cloaking.

New! The premium version of this plugin is now available and includes several new features :

  • Cloak links in any part of your site, including the comment section and the sidebar.
  • Works with plugin-created links.
  • Five new cloaking types – for example, you can display the cloaked URL in a frame, or use a special redirect that hides the referrer.
  • Improved link management and click statistics.
  • Free automatic updates.
  • And more. Check out EclipseCloaker.com for complete details.

Examples

Here’s a link explicitly tagged for cloaking -
<a href="http://evil-guide.tripod.com/"><!--cloak-->A Cloaked Link</a>
And here’s what it looks like in the post – A Cloaked Link
If you have configured the plugin to cloak all links (the default) you don’t need the <!–cloak–> tag inside your links.

Installation

  1. Download the link-cloaking-plugin.zip file.
  2. Unzip the file.
  3. Upload the `link-cloaking-plugin` folder to the `/wp-content/plugins/` directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.
  5. (Optional) Go to Options -> Link Cloaking and modify the default settings to your liking.
  6. Re-save your permalink settings to insert the plugin’s link redirection code to the WordPress .htaccess file :
    • WP 2.7 and above : Go to Settings -> Permalinks and click “Save Changes”.
    • Older versions of WP : Go to Options -> Permalinks and click “Update Permalinks”.

Download

Version 1.4.1 : link-cloaking-plugin.zip (9 KB)

Requirements :

  • WordPress 2.2 – 2.9
  • mod_rewrite. If “pretty permalinks” work on your blog then you probably have this already.
Share :
  • Reddit
  • del.icio.us
  • Digg
  • StumbleUpon
  • DZone
  • Ping.fm
  • Sphinn
  • Twitter
Related posts :

584 Responses to “Link Cloaking Plugin for WordPress”

Pages: « 110 11 12 13 14 15 16 17 18 19 [20] Show All

  1. 555
    Diapers says:

    Does the plugin work with the latest version of WordPress – 3.0? Thanks.

  2. 556
    Stefano pepi says:

    yes . now it works. You must install the version 1.8

  3. 557
    Ghufron says:

    I’m using Link Cloaking now but it has not work on my blog (www.ghufron.com). this is the cloaked link: http://www.ghufron.com/produk/affiliate/.

    I’ve tried deactivating all plugins installed on my blog, but the problem still continue.

    Please tell me by email when you have correct the problem

    Thank you!
    Ghufron

  4. 558
    White Shadow says:

    Make sure your .htaccess contains the plugin’s code. If not, try updating your permalinks.

  5. 559
    Ghufron says:

    Thank you for replying my comment…

    Ok, how do I update my .htaccess?

    Below are the lists of my .htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^www.ghufron.com$ [NC]
    RewriteRule ^(.*)$ http://www.ghufron.com/$1 [L,R=301]

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    Thank you so much for your supports

  6. 560
    Ghufron says:

    Hi! I really glad tonight because as you say, I found the .htaccess update on Permalink menu.

    So, I say thanks very much…cihuyyyyyy!!!!!!!!!

  7. 561
    Mike says:

    Hey White Shadow,

    I like your plug in. Does the link always have to show the numbers at the end. Is there anything we can change in the .htaccess file.

    I know you said in the recent post about creating static links to say whatever but I tried that and when you hover the mouse over the link it still shows http://domain.com/prefix/Link_Text_Here/12/34

    Can show me what I’m doing wrong? Maybe I need to update the permalinks after I change the setting.

    Thanks
    Mike

  8. 562
    White Shadow says:

    @ Mike :

    When you create a static link, it gives you a unique cloaked URL for that link. Click “show cloaked url” in the links table to display it. Then you need to manually replace your original, uncloaked links with that URL – it’s not done automatically in the free version.

  9. 563
    Mike says:

    Hey White Shadow,

    Thanks, I finally figured that out. I also had another small problem I figured out. I use a add on domain and it would chunk out when viewing http://domain.com/subdomain/prefix/Linktext/12/4.

    I have my ad on domain in general settings to go straight to my addon as a real domain. So every time I use selective cloaking, it would spit out the whole link when viewing it such as http://www.domain.com/addon.com/prefix/12/4.

    I have to remove the first part every time and it works.

    Thanks
    Mike

  10. 564
    Linda says:

    I tried all of the “fixes” in WP 3.0… did the htaccess code, saved permalinks, etc etc… still not working in WP 3.0 and yes, I have version 1.8 installed.

    Now what???

  11. 565
    mavra says:

    not working, im getting 404 error. I even updated permalinks, .htaccess & plugin settings, but still getting 404.
    im using wordpress 3.0..
    whats wrong?

  12. 566
    David says:

    Love the plug-in and it works great on the first site I tried it on, but on this second site it is not working the same. It is indeed cloaking all the links, but the links in the last paragraph I have listed in the Exception box, yet they are still being cloaked. I tried deactivating and reactivating, deleting and re-installing, and updating the Permalink structure, but I still get the same result. What else should I try?

  13. 567
    White Shadow says:

    Make sure you only enter the domain name in that box, not the entire URL. For example, “something.com” will work, but “htt://something.com/” and “http://something.com/page.html” will not.

  14. 568
    David says:

    I did that also. It is strange because when I used the plug-in on another site, about 6 days ago, it worked perfectly, even with the http:// prefix, but when I checked the site last night after having problems with my new site, I noticed that all the links were cloaked. I went in just now and removed the http:// from all the domains and the links are still showing up a cloaked.

    I finally gave up last night and did selective cloaking, which is not quite as easy since there are more links that I want to cloak than not cloak, but it works. Not really sure what else to try at this point.

    If I have an image that contains a link, is there a way to cloak that image link?

  15. 569
    White Shadow says:

    Hmm, it should’ve worked. Could you send me a few examples of the mistakenly cloaked links + a screenshot of your settings page? ( whiteshadow at w-shadow dot com )

    Most image links can indeed be cloaked. You need to insert the selective cloaking code right after the image tag, but before the closing </a> tag.

  16. 570
    David says:

    Okay, email just sent. Thanks!

  17. 571
    Donna Ferr says:

    HI ,

    I just downloaded the free version today, installed it and activated it on my website.

    None of my links were cloaked so I am sure I left out a step or did something wrong.

    I don’t quite understand the instructions regarding the permalinks. I already had permalinks set to a custom setting, /%postname%/ .

    So, I am not sure what to do now at this point in order to get this to work.

    Here are your instructions from above:

    Re-save your permalink settings to insert the plugin’s link redirection code to the WordPress .htaccess file :

    * WP 2.7 and above : Go to Settings -> Permalinks and click “Save Changes”.

    I did everything after the *, but no links were cloaked.

    Can you help me with this please?

  18. 572
    White Shadow says:

    That’s strange. Perhaps selective cloaking has somehow become enabled? Go to Settings -> Link Cloaking and make sure the “Cloak all links” option is ticked.

    Also, could you show me some examples of the links that should be cloaked but aren’t?

  19. 573
    Donna Ferr says:

    Hi White Shadow,

    Thanks! “Cloak all links” is checked.

    I noticed that links within posts ARE cloaked. But links in my “links” area are not cloaked nor are the links in widgets that are in my side bar. The widgets contain are affiliate banner links with pictures imbedded. Is your plugin set to cloak those types of links?

    Here is an example of a link that did not cloak in my links side bar area:

    http://www.frrco.com/123268

    But this same link IS cloaked when it appears in a post.

    Any ideas here?

    I appreciate you taking the time here to help me with this.

  20. 574
    White Shadow says:

    The free version of the plugin only cloaks links in post/page content. If you want to cloak sidebar widgets and such, you need to get the premium version ;)

  21. 575
    Donna Ferr says:

    Thanks! I do like how it works on the posts. I might just have to buy the premium version then!

    :-) Donna

  22. 576
    Mike says:

    Hi,

    Thanks for this plugin, its really great. I’m having a problem though that I haven’t seen having read through all the comments. The link cloaking plugin works fine for the posts on my site, however, when I create any static Cloaked Links, I get a 404? Seems odd as it should work for static links if the normal cloaked links work ok, any ideas? I have my permalinks changed, and the re-write section is at the top of my .htaccess file, and still 404′s on the static links, any ideas? I have a number of WP installs, and all act in the same manner, seems odd, can you help?

    Here’s an example URL that isn’t working:

    http://www.ancient-words-of-wisdom.com/wordpress/recommends/Test-Link/

    But if you look on the homepage, there are working cloaked links there…

    Thanks,

    Mike.

  23. 577
    White Shadow says:

    This is a bug. I’ll have the fix out in a few hours.

  24. 578
    Mike says:

    Great, wonderful support, thanks for this, I look forward to the fix!

    Thanks,

    Mike.

  25. 579
    goprak-gopek says:

    Thanks all this info and download.zip
    Regard
    Keep blogging

  26. 580
    AVC Web Hosting says:

    I don’t have a problem with paid plugins vs free but you got to realize the free ones work very well. I do have a problem with over priced software and I don’t think many people will pay your price. Should have been less then half of that amount. Why is it worth so much in your mind? Pretty graphs of clicks? Google Analytics? naw, sorry no big deal.

    I think the single thing that would tempt me is something you are not offering – it is something I have had a lot of trouble with.

    Updates and compatibility.

    If you where to give out an iron clad guarantee that you would accept the responsibility to stay on top of every wordpress update and make certain your plug-in was updated for the new version of wordpress out it would go a long way in my mind to assure me I was doing business with some one who realizes they have some responsibility after they take my money.

    Without an iron clad guarantee I am buying a shiny new plug-in that will degenerate until it is worthless to me when you tire of supporting it in a few years. Then go off in another direction to pursue other things. You imply support and free updates but you do not state it boldly.

    I own a small ISP and web hosting business and I know about customer support. I am the smallest ISP/web hosting company in our area and I have the best customer support of any local company I know of. I allow my customers to contact me ANY TIME they need my help.

    I make a commitment to my customers. If I supply your broadband or host/build your website I will be there for you no excuses. The other companies simply wimp out on support. After 5:30 you get an answering machine with them. I answer the phone and help people no matter when or where I am and no matter what I am doing.

    COMMITMENT to SERVICE and SUPPORT. No substitute….

    ###

  27. Hiho and thanks for this nifty tool!
    Is it possible that it has a little problem with WP3.0 MultiSite installations?
    Install, settings, updating permalinks: all pretends to work fine without any error messages, but cloaked URLs all end up as 404s…
    Bug or feature? ;-)
    Cheers
    Martin

  28. 582
    White Shadow says:

    MultiSite mode isn’t officially supported by the plugin, so… more like “feature suggestion” ;) It’s on my to-do list.

  29. 583
    Les says:

    Hi there!

    Thanks for an amazing plugin. However, I’ve run into a problem that I can’t seem to solve.

    I’m trying to use the plugin to cloak Ebay links. These links are supposed to direct users to relevant parts of eBay.

    Now when I enter the URL contained in the link into the browser directly, it goes properly to the search results I’ve defined in the link. But when I activate the plugin, all my links now go incorrectly to the eBay home page.

    I’ve tried everything to get these to work properly, but to no avail. Do you know how I can get it to work?

    Any help would be greatly appreciated. Thanks!

  30. 584
    White Shadow says:

    Could you show me a few example links?

Pages: « 110 11 12 13 14 15 16 17 18 19 [20] Show All

Leave a Reply