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
- Download the link-cloaking-plugin.zip file.
- Unzip the file.
- Upload the `link-cloaking-plugin` folder to the `/wp-content/plugins/` directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- (Optional) Go to Settings -> Link Cloaking and modify the default settings to your liking.
- Re-save your permalink settings to insert the plugin’s link redirection code to the WordPress .htaccess file : go to Settings -> Permalinks and click “Save Changes”.
Download
Version 1.8.2 : link-cloaking-plugin.zip (10 KB)
Requirements :
- WordPress 2.8 – 3.0.1
mod_rewrite. If “pretty permalinks” work on your blog then you probably have this already.
OK, I took the plunge the other day and purchased Eclipse Link Cloaker because of the rss feeds I use on a lot of my sites and so far so good! There are a couple quirks or options I’d like to see built in but it does what it’s suppose to do and does it well. I can suck in feeds to my sites and the links look like they are part of the site. Sweet! I’m actually thinking of promoting Eclipse Link Cloaker as an affiliate. Anyway, that’s my review if it helps. Thanks.
Great, I’m glad it worked for you.
What additional options would you like to see? I’m generally very open to feature suggestions.
Well the one option that would be nice is to be able to shut off the cloaking for the blogroll (or links) widget. I post links to authority sites to show search engines that my site is not all about me
. Maybe it would be easier to tweak the code in wp rather tweaking your plugin. Either way, I still like it and it was worth the purchase.
Regards
Well, you could add the link domain names to the exception list (in Settings -> Link Cloaker).
Duh! You’re right. That’s what I’ll do. Thanks.
I am brand new to setting up wordpress sites. I see there are lots of challenges people have with the process, and yet I have been told this is quite essential for affiliate marketing. Is there a dummy proof way to PLUG IN or dummy instructions? Signed WP DUMMY
See Managing Plugins for detailed instructions on how to install plugins. You could also browse around the rest of WordPress Codex a bit, there’s a lot of useful information in there.
This plug-in rocks! Only wanted something to cloak my links and have my domain name first then the affiliate link come after. Just what I was looking for.
However, none of my sidebar links are cloaked. Is it possible to do that?
Thanks,
- Marc
The free version only cloaks links in posts. However, there’s a premium version that can cloak links in any part of your site, including the sidebar
[...] Link Cloaking Plugin [...]
I’m having trouble getting the plugin to work – it’s installed fine and I think I’ve configured it correctly, updated .htaccess etc.
When clicking on a cloaked link in the format “http://domain.com/goto/link/12/1″ I just get my 404 page.
Any ideas?
Take a look at the .htaccess and make sure the plugin’s code is at the top of the file. The cloaker’s code block is marked by the comment “Link Cloaking Plugin BEGINS”.
Perfect thanks! WordPress had added it’s own code above the plugin code.
Your free plugin works great, and I think I would like to purchase your paid version.
But I noticed on the free version that even though my links appear cloaked when you click on the link and are redirected to the affiliate page, the hop link appears in the URL.
Does this still happen with the paid version? It would be nice not to display any affiliate info.
Thanks
Billy
The paid version supports several different cloaking types, including one that lets you also cloak the address bar URL. You can find more information about the cloaking types on this page (scroll down to the “Cloaking Type” section).
[...] [...]
Thanks for this plugin, it has the features I have been looking for as a WP plugin that I need for a few blogs.
Other cloaking plugins have not lived up to their promises so far, so this is well appreciated.
May have to upgrade!
Awesome plugin, handle thousands of links across all my blogs, like a clockwork!
This is very good plugin. I like very much. Thanks so much.
Thanks for this plugin, used it and works correctly.
I’m going to try the free version first, but after reading some of the earlier comments about rss feeds, could you tell me if your paid plugin works with ebay rss feeds? I use simple pie to populate some of my blogs, but haven’t been able to cloak them. Google hates these links and the serps reflet their hate for them, especially since there are many of them.
I’d love to find a plugin that works with either simple pie, or rss feeds in general.
This was easy. Thanks White Shadow for a great FREE plug-in!
Uploaded it, activated it, saved my permalinks…
DONE.
Assuming the RSS feeds contain normal HTML links (as opposed to JavaScript widgets or IFrames disguised as links), they should work fine with the paid version.
I also use simplepie for my rss feeds from a ticket site and the plug-in (paid version) works great. See an example here:
http://atlantageorgiaconcerts.com/concerts/
Is this a problem from a Google perspective that the hop link stillshows in the url bar?
If the links are no-followed, Google most likely won’t care.
Really great tool! Thanks
It’s a hell of a plugin, if you are using wordpress for PPC landing pages it’s almost a must have!
[...] Link Cloaking Plugin [...]
Can someone post an example of the .htaccess file for this plugin.
For some reason my .htaccess is not being updated by wordpress even though it has write access with 666 when I save permalinks.
I even had to add the code for the permalinks manually.
Thanks!!