nnnn

Simple Link Cloaker

UPDATE 7-23-09. Apologies for having one release right on top of the other. Fixing one problem (malformed ‘from’ addresses were causing .htaccess file problems) caused another – slashes being stripped from ‘from’ addresses. Both issues have been fixed in the 1.3.2 release.

PLEASE be aware that the plugin will ’sanitize’ your ‘from’ address. It will strip out any illegal characters, convert spaces to dashes, and convert the address to lowercase. You will need to use the finalized version in your post links.

Update: have fixed a couple of issues that users have pointed out ( thanks very much Geoff and Francisco! ). New version is uploaded to the repository as of 4pm today; should be available for upgrade within 45 min or so. Thanks for your patience!

So here it is, the Simple Link Cloaker plugin for your affiliate WordPress blog. Or for whatever  you want to use it for.

While its usage is simple, explaining it is not. I will attempt to document how to use it below, but it might be easier to scroll to the bottom and watch the short video tutorial I made (rather, was going to make – coming soon as soon as I get software to work. ugh).

Download the plugin here: Simple Link Cloaker for WordPress

In general, this is what you do:

  1. Write your post, highlight your anchor (link) text, then click the ‘link’ button (assuming you’re using the Visual Editor).
  2. In the Link URL box, enter the link address without your blog URL, starting with a slash.
  3. Add your other link goodies like ‘target’ or ‘class’, click Insert.
  4. Finish and publish your post.
  5. Go to Settings -> Simple Link Cloaker.
  6. In the Add New section, enter the Link URL you just used into the left box.
  7. Enter your affiliate link in the right box.
  8. Click “Add Cloaked Links”.
  9. Done.

Example: suppose we want to link to a Clickbank product, and we want to use the URL http://ilikewordpress.com/go/i-like-this-product, and the Clickbank hoplink is http://myclickbank.twitterlist.clickbank.com. In the left-hand box, we’d enter <strong>/go/i-like-this-product</strong>. Notice there is no ‘http://’ or other URL parts in this box, just the part of the URL <strong>after</strong> your regular blog address. Then in the right box we’d type the Clickbank hoplink. Click the “Add Cloaked Links” button, and the redirect code will be added to your .htaccess file.

Super easy.

Here is a screenshot of the settings page after I added a redirect (click the image to view full-size):

slc-management-page

If you notice an error after you’ve added a redirect, repairing it is easy. Just click in the box that needs correction, make your edit, then click the Update button. You can also delete the whole redirect by clicking the checkbox, then the Update button.

Finally, you can, if you wish, delete ALL of your stored redirects by clicking the button at the bottom. You’ll get one chance to change your mind, then *poof*, they’re all gone.

Download the plugin here: Simple Link Cloaker for WordPress

Here’s a short tutorial video: (well, there will be as soon as my screen cap program starts working :( . Stay tuned)

673 Total TweetBacks: (Tweet this post)

{ 7 trackbacks }

Cloak Your Links to Protect Your Commissions | Heaven's AllXClub Headquarters
June 9, 2009 at 4:55 pm
Plugins Installed At My WP Blog : CODE NAME: UNTARA
June 12, 2009 at 1:33 pm
Make Money From Home Blogging | Plugin Worpress - Must Haves For a Successful Blog
October 13, 2009 at 10:59 pm
Top 1000 WordPress Plugin Authors « Metode de promovare
November 6, 2009 at 12:19 pm
Simple Link Cloaker for WordPress
January 12, 2010 at 9:20 am
Simple Link Cloaker Plugin For Wordpress — Jack Nguyen - Online Marketing Blog
January 22, 2010 at 8:54 pm
Top wordpress plugin for your blog | Web development
January 23, 2010 at 11:43 pm

{ 104 comments… read them below or add one }

1 baron May 26, 2009 at 2:54 am

Works great, thank you

Reply

2 Steve May 27, 2009 at 9:48 am

Thanks much, glad you could use it!

Reply

3 Geoff May 28, 2009 at 8:02 am

You’ve got a couple of bugs with this. For example adding a new link seems to replace one of the existing ones. Also the link to this page (http://ilikewordpress.com/simple-link-cloaker) doesn’t work if you click it from the top of the setting page in wp-admin.

Reply

4 Steve May 28, 2009 at 8:09 am

Ouch. Thanks, Geoff. I’ll take a look.

Reply

5 Geoff May 28, 2009 at 8:30 am

That’d be great, your plugin is just what I want – a nice simple way of doing some redirects, but the way your form handles additions isn’t working. If you fill in two of the URL boxes, click submit, then do it again – it just replaces the 2 you made.

Reply

6 Steve May 28, 2009 at 9:45 am

The fix is in – and sorry for the problems; something I should have caught in testing (actually, I thought I’d fixed it, obviously not).

Changes are uploaded to the WP Plugins repository; you should be seeing notification of available upgrade on your Plugins within the hour.

If you don’t, let me know and I’ll post the updated zip.

Reply

7 Shakti Carola Navran May 28, 2009 at 2:10 pm

I like to see the video to know I can make sense of this…

Reply

8 Steve May 28, 2009 at 3:08 pm

I will try and get it up this evening for you, sorry for the delay.

Reply

9 Free bets July 15, 2009 at 2:50 pm

This is perfect. Its exactly what i’ve been looking for. Ive just set up my site and found out that link cloaking is teh way forward so this is just what i need. many thanks

Reply

10 Mike Melvin July 21, 2009 at 8:37 am

Hi Steve,
I’m very new to WordPress and I’m trying to get your
plugin to work. You say to
“click the ‘link’ button (assuming you’re using the Visual Editor).”
I’m using the editor provided by WordPress and nothing comes
up for me.
Help!!!
What am I doing wrong?
Mike

Reply

11 Steve July 21, 2009 at 11:06 pm

Don’t know what you’re doing wrong exactly. When you click the link button from within the post editor ( the icon that looks like a chain link ) you should see a dialog box open in the middle of your screen with several input areas. If you’re not seeing that, make sure you have javascript turned on in your browser.

Reply

12 Mike Melvin July 22, 2009 at 4:27 am

Thanks Steve, that was the piece I was missing.

Reply

13 Patrick July 23, 2009 at 2:55 am

Hey Steve,

thanks for your great plugin,
unfortunately it dropped all slashes in my cloaked links after the 1.3.1 update. and it’s not possible to add new slashes to my links.

Reply

14 Patrick July 23, 2009 at 3:07 am

…wordpress version 2.8.2 and link cloaker 1.3.1

thank you for your feedback :)

Reply

15 Steve July 23, 2009 at 7:28 am

Patrick, so sorry about that. I’d been having so many reports of malformed ‘from’ addresses causing .htaccess errors that I felt something needed to be done – so I employed one of WordPress’s post title filters in the 1.3.1 release.

THEN I learn of your issue :)

So I released 1.3.2 which now allows forward slashes in the ‘from’ address.

Sorry for your troubles.

Reply

16 Patrick July 23, 2009 at 11:40 am

Thank you Steve! works like charm (again) :D

17 James Moralde July 24, 2009 at 12:45 am

Before I install any plugin in my blog, i always test it on my portable testing website (from a flash drive using MoWeS portable) with a url like http://127.0.0.1/testwebsite. Perhaps, this plugin works only in the real website environment because all I get after a ‘cloaked’ link is clicked is a ‘file not found’ page.

Reply

18 Steve July 24, 2009 at 9:50 am

James, it depends on how you have your portable stuff set up. When you hover over a cloaked link are you seeing the proper address (http://yourblogname.com/your-new-link)?

Also, be aware that the redirects are done from an apache .htaccess file, not within WordPress itself. If you’re not running a compatible server locally as a test platform, testing it the way you’re doing probably won’t work.

Reply

19 Josh July 27, 2009 at 7:15 am

Hey Steve,

Thanks for developing this plugin.

I can’t, however, seem to find the “simple link cloaker” under the settings. Do you have any idea of why this happens?

Thanks,
Josh

Reply

20 Steve July 27, 2009 at 8:04 am

Josh, don’t know why you wouldn’t be seeing it. When you activate the plugin, it sets up an options page under the settings menu.

First thing to do (ALWAYS the first thing to do when you’re having WordPress problems) is to clear your browser cache, shut down then restart your browser. Then see if the problem still exists. Sometimes browser caches get so clogged up you start seeing javascript collisions, train wrecks, things like that.

Reply

21 Susan July 28, 2009 at 12:18 pm

This is a great idea – thanks!

I’m an ABC kind of person. Using your example:

a. what is the exact URL in the post link URL
b. what is the exact entry on the left side of the cloak link
c. what is the exact entry on the left side of the cloak link

The affiliate link I am using is
http://windsaw.bluesky.hop.clickbank.net/?type=nohop

How would I enter that.

Reply

22 Steve August 7, 2009 at 12:03 am

Susan, sorry for the delay in answering your question.

The post link URL ( I’m assuming you’re speaking of the popup box to insert a link in a post ) would be either the full URL you want your visitor to see, i.e. http://mywebsite.com/prettylink or just /prettylink.

The left side will contain just /prettylink
The right side contains the full URL you want the visitor to go to, in your case, http://windsaw.bluesky.hop.clickbank.net/?type=nohop

Hope this answers your question.

Reply

23 Louis July 30, 2009 at 4:38 pm

When i activated the plugin I get this message:

Your .htaccess file does not appear to be writable. If you are unable to make the file writable by the server, you will need to copy/paste the redirect rules to your htaccess file manually. See below for rules.

How do I fit this?

Thanks

Reply

24 Steve August 7, 2009 at 7:37 am

Just copy the block of text that’s shown under the rewrite rules section to the top of your .htaccess file.

To make your file server-writable and avoid having to copy/paste, change the file permissions for the .htaccess file to 664 or 666.

Reply

25 Zach August 6, 2009 at 11:51 pm

I keep getting this
Not Found
The requested document was not found on this server.

Web Server at answersurveysformoney.com

here is my htaccess file

# BEGIN SLC
Redirect 302 /123 http://www.wsbmarketing.com
Redirect 302 /zach http://wsbrm.com
# END SLC

I have tryed different url forms

I am using plesk for windows server 8.6

Thanks in advance
Zach

Reply

26 Steve August 7, 2009 at 12:05 am

Zach, I think I mentioned in the post that I haven’t had the opportunity to test this on a Windows server.

It appears that your server isn’t recognizing the .htaccess file.

Have you tried setting up permalinks through your dashboard? Do permalinks work?

Reply

27 brillie August 11, 2009 at 6:04 am

Hi many thanks… I used it to my website movie-holic.net

Reply

28 Tony August 13, 2009 at 3:16 am

Hi Steve,

Have just installed you plug-in on my site and it looks like a real beauty! Well done on creating such a simple, easy to use cloaking plug-in.

Thanks heaps and keep up the good work.

Reply

29 Sham August 14, 2009 at 9:10 am

Hi Steve,

Looks like your plugin may not work with PHP 5.2.9 or 5.2.10

Cos I have 2 sites…different servers…one is PHP 5.2.9 and the other is 5.2.6.

It works in the former and NOT in the latter….

I’m not sure, but just what I think. I could not get your plugin to work on the server with PHP 5.2.9

Reply

30 Sham August 14, 2009 at 9:11 am

Oops…mistake in the 2nd paragraph. This is to confirm…that I find it does not work with PHP 5.2.9 and above…

Reply

31 Steve August 14, 2009 at 9:22 am

Interesting – thanks for the heads up. Guess it’s time to upgrade my dev machine’s PHP, eh? LOL

Sham, if you read this, did you have any error reporting turned on? Can you tell me what doesn’t work or if there were any error messages?

Reply

32 Sham August 14, 2009 at 9:40 am

Hi Steve,

Thanks for a fast response! :)

Well, I’m trying to see the difference in server specs between the two servers (one is on an older configuration and the other is newer – obvious to see which is which). I think the server with PHP 5.2.9 has the latest Unix configuration, and both servers are Cpanel….

That’s all I’m seeing for now.

I’ll try to get to the error reports and see if anything shows, although I’m not a coder, so not sure what to look for :)

Well, if you can, try testing out your plugin on the latest Cpanel server configuration and see if you get the same thing. I’m getting Page Not Found (cos my aff link is going nowhere…)

But thanks for making this plugin, I used your plugin cos the other one by w-shadow doesn’t work with WP 2.8.4 anymore.

Cheers

Reply

33 Steve August 14, 2009 at 10:51 am

I’m getting Page Not Found (cos my aff link is going nowhere…)

Ahhh…now we’re getting somewhere. On the plugin’s Settings page, are you seeing the “I can’t write to the .htaccess file” message? The only reason I know of that you would be getting a Not Found error is because the .htaccess file isn’t being updated, or it isn’t being updated properly.

Would you mind sending me the contents of your .htaccess file? You can copy/paste it into the form on my contact page, or paste in a reply to this comment if that doesn’t bother you.

Reply

34 Sham August 14, 2009 at 11:04 pm

Hi Steve,

I don’t see any message saying “Cannot write to the htaccess file” on the Settings page. It’s working fine on that. My htaccess file is also showing # BEGIN SLC, followed by the redirect lines, and then # END SLC

So nothing seems wrong there.

But when I test the cloaked link…it doesn’t redirect me anywhere, except to a Page Not Found – on my WP site. Yet on the other server (with the slightly older setup and PHP 5.2.6) it works fine….

Reply

35 Steve August 14, 2009 at 11:13 pm

Would you mind sending me the redirect lines that are in your .htaccess file? If you like, you can email them to me at steve at ilikewordpress.com or send them thru my contact form.

If the redirects are being correctly written to the htaccess file, differences in PHP versions are immaterial. Once the redirects are stored in the file, PHP has nothing to do with it; redirects and other directives in .htaccess are server functions.

Do you have pretty permalinks set up on the WP install that’s not working?

Reply

36 Sham August 14, 2009 at 11:41 pm

Yeah, I have pretty permalinks set up. Everything seems alright. I’ve sent you the redirect lines in your contact form. Thanks.

Reply

37 Krista August 18, 2009 at 2:01 pm

I downloaded the plugin and it is working awesome! However I have one question is there a way to no follow all of the cloaked links so google doesn’t index the cloaked links?

Thanks
Krista

Reply

38 Steve August 18, 2009 at 4:39 pm

You’ll have to do that yourself in your post editor; the plugin doesn’t build the link for you. Click the HTML button on your editor, find the link you just created. Within the opening <a> tag, put rel="nofollow". Poof, you're done.

Reply

39 Laurie Pipenur August 18, 2009 at 9:20 pm

This plugin looks like it is just what I’ve been looking for, but I get this error message when I access the plugin under “Settings”. I can’t find the solution to this problem anywhere. I use Dreamhost for my hosting. Can anyone help?

Simple Link Cloaker v. 1.3.2 ~ Redirect List

Your .htaccess file does not appear to be writable. If you are unable to make the file writable by the server, you will need to copy/paste the redirect rules to your htaccess file manually. See below for rules.

Reply

40 Steve August 18, 2009 at 9:49 pm

Laurie, that’s pretty easily solved.

Using your FTP client or Dreamhost’s file manager, locate the .htaccess file on your server. It will be at the ‘root’ of your WordPress installation. If you see the wp-admin, wp-content, and wp-includes folders, you’re in the right spot.

If you don’t see the .htaccess file ( look carefully, it begins with a period character), then check the settings on your FTP client or the file manager; make sure the option to ’show hidden files’ is enabled.

You’re going to change the file permissions for the .htaccess file so that the server can write to the file. You’ll need read the help file for your FTP client to find out how to do this. With FileZilla, for instance, you right-click on the file and pick ‘Permissions’.

Make a note of the existing permissions number, then change the permissions on the file to 644. Reload the Settings page for the plugin. If you still see the ‘unwritable’ message, try 664. The idea is to use the lowest number that will allow write access to the server. If you want more information on what you’re doing, google ‘chmod’.

If 664 doesn’t work, keep going up this list: 666, 764, 766, 776, 777. You really want to try and stay away from the 7xx permissions if at all possible, but sometimes you’ll have no choice.

NOTE:
If you DO have to use 777, I recommend that you add your redirects, then change the permissions back to 644 (or whatever they were to begin with) as a security precaution.

Reply

41 mark August 20, 2009 at 4:12 am

Hi,
I have changed the cmod to 777 for the .htaccess folder and I still get the error message of .htacces is not writable. So, can I just fill in the redirects and copy and paste them to the .htaccess folder. Do I do this for each new redirect?
Thanks

Reply

42 Vince August 24, 2009 at 7:52 am

Thanks for the great plugin.

I’d like just to confirm it can cloak a link that has the ‘?’ (without quotes) like this:
http://www.offerX.com/?aid=810799

I can’t really test it live with this offer because the order page doesn’t give any clue about the affiliate like with Clickbank.

Reply

43 Steve August 25, 2009 at 5:33 pm

It should work fine. You can, though, test it fairly easily.

Open up your fav text editor and enter this:

< ?php
echo "This is a test page. The contents of GET are:<br/><br/>";
print_r( $_GET );
?>

Name the file test.php and upload it to the root of your wordpress install.

Make a new redirect or temporarily change your existing one. Use the destination http://yourwordpressdomain.com/test.php?aid=810799

You should end up on the test page with the “This is the test page” text and under it you should see something like

Array ( [aid] => [810799] )

If you see that, you'll know it's working ok.

Reply

44 Vince August 25, 2009 at 5:39 pm

Thanks Steve!
I try it now and will let you know.

45 Glenn August 25, 2009 at 2:30 pm

I’m new at WP, and am having a bit of trouble following the process to use this. Did you ever make a video demo yet?

Thanks,

Reply

46 Steve August 25, 2009 at 5:36 pm

Glenn, I haven’t, sorry. Been incredibly busy lately. Do you have a specific question or just having general difficulties?

Reply

47 baydog August 25, 2009 at 10:01 pm

Would be nice if there was an additional field available to name the link.. eg. LinkName

ie. LinkName, From Link, To Link..

Reply

48 Steve August 27, 2009 at 8:55 pm

Look for that in the next release, good suggestion. Thanks!

Reply

49 Glenn August 26, 2009 at 11:01 am

here is an example of what I’m having trouble figuring out.

In the column on the left I’m putting;

star-trek/st1

Then the code I have for the whole link in the right column is the following:

So, I guess my question is what part of the code do I change, and do I need to make it something like;

http://everythingforhalloween.com/star-trek/st1

Thanks for the help. I hear this plug-in works well.

Reply

50 Laurie August 27, 2009 at 6:41 pm

Will SLC cloak a Commission Junction (or any other) link that has an image link associated with the affiliate information? I separated these two parts and just cloaked the affiliate information and it works fine. I am using the cloaked link in a blog that I am trying to optimize and I don’t know if Google will object to the image link or not.

Reply

51 Steve August 27, 2009 at 8:54 pm

Usually those images are for tracking purposes and not wrapped with a link.

There’s no reason why SLC wouldn’t work that way. A link is a link is a link is a link…no matter if the anchor is text or image.

Reply

52 Laurie August 28, 2009 at 7:28 pm

Tried cloaking the entire link and got a 500 Internal Server Error. Now I can’t login to to anything. Is there an easy way to get back in or do I have to reinstall?

53 Glenn August 28, 2009 at 7:51 pm

Laurie,

I had the same exact problem. The Server did not like the code the way it was put in. I had to call my service provider and they restored the most recent save. then it worked fine. But I could not do it myself.

I’m still trying to figure out how to use this. I’m pretty new at this.

Reply

54 Laurie August 28, 2009 at 8:05 pm

Hi Glenn,

Thanks for the reply. Not exactly what I wanted to hear. So far I edited my .htaccess file and removed the bad link. I can get back to my website and that seems to be fine. However, when I try to login, I don’t get the login screen, but get taken directly to my home page minus my content.

Does anyone know how I can get my login screen back?

Laurie

Reply

55 Steve August 29, 2009 at 12:55 am

NO!! DO NOT REINSTALL!!

The issue is only in the htaccess file and the way you tried to cloak the link.

Copy/paste the contents of your htaccess file to me in an email, send to steve at ilikewordpress.com

56 Glenn August 29, 2009 at 12:42 pm

Steve, I’m trying to get a handle on how to use this. Please let me know if I’m right.

The example below is a link to a picture and specific costume on my site.

If I replace the part that says:

http://www.tkqlhce.com/click-123456-10425830?url=http://www.buycostumes.com

With something like:

http://www.everythingforhalloween.com/rocker

Then in simple link cloaker on the the left column put:

rocker

And in the right column put:

http://www.tkqlhce.com/click-123456-10425830?url=http://www.buycostumes.com

Will that work. And will it continue with the rest of what my link on the post had.

I know this is long but it’s the only way I could explain my questions.

Thanks for the help.

Reply

57 Steve September 6, 2009 at 2:07 pm

Glenn, I’m sorry, your question got caught in my spam catcher.

Yes to all your questions except the first: when you make your link in the post editor, you don’t have to enter your domain name info. Simply put /rocker in the Link URL box of the link-maker dialog.

One thing – you don’t HAVE to make the link like I outlined above, it’s just easier. The way you did it will work fine; my motto’s always been ‘less typing means fewer typos’. :)

Reply

58 Tim September 1, 2009 at 9:53 pm

This is awesome
but what would be REALLY awesome is a file cloaker.

I.e. cloak a file NAME to another one. Hashed or direct cloak like in the URL cloaker.

-tim

Reply

59 Glenn @ everythingforhalloween.com September 6, 2009 at 2:32 pm

Steve,

Ok, I’ve got the cloaker working and it really does a great job. I have another question that’s not necessarily about your plug-in but more to what would be common practice.

I’ve set up the cloaker to cloak each link to some items in an array of costumes for my site. a secondary part of each ling is a pointer to a costume picture on the affiliate website. It shows that it is buycostumes.com in that seperate part of the link.

do I need to cloak that too. ( something like /images on my end)?

Or because it’s only pointing to an image will the search engines not bother with it?

I hope this isn’t too confusing of a question

Reply

60 Patrick September 7, 2009 at 8:31 pm

I got your plugin and it works perfectly on my site. Thank you!

Reply

61 Steve September 7, 2009 at 8:51 pm

Glad to hear it. Good luck in your endeavors.

Reply

62 Laurie September 11, 2009 at 9:39 pm

I am using Dreamhost and cannot get my web stats. The Dreamhost forum describes this as the fix

http://wiki.dreamhost.com/Making_stats_accessible_with_htaccess

Will I adversely affect SLC if i do as they describe?

Thank you.

Reply

63 Steve September 12, 2009 at 2:37 am

Laurie, no problem at all. SLC writes its own section, delineated by

## Begin SLC
redirect rules here
## End SLC

As long as you follow the DH instructions and place their code at the beginning of the file, you should have no troubles whatsoever.

Reply

64 Jacquie September 13, 2009 at 11:19 am

Hi Steve,

Thanks for this great tool that I’m using on my sites.
I was trying to add target=”_blank” to the right side of the redirection so a new window is opened when the link is clicked but my site became unaccessible after clicking on save update. Hopefully I could restore a .htaccess and the site got back and running.

Is there a way to open the vendor’s page in a new window with a cloaked link?

Reply

65 Steve September 13, 2009 at 1:39 pm

You have to do that when you make the link in your post. Set the ‘Target’ dropdown box to ‘New Window’.

Reply

66 Jacquie September 13, 2009 at 11:16 pm

In fact the link is on an image. Where should I put the Target? I initially put target=”_blank” after but it did not seem to work.

Reply

67 Steve September 14, 2009 at 12:28 am

The target attribute goes within the opening <a> tag. If you’re building your links manually, yours would look like this:

<a href="/gohere" title="link title" target="_blank"><img src="http://imageURL" alt="img alt text" /></a>

If you’re building the link through WP’s HTML editor, you click on the image to select it, click the link button, enter the link address, alt text, and select the link target from the dropdown box.

Reply

68 Jacquie September 14, 2009 at 12:36 am

Thanks Steve. I see my where I made the mistake. I’ll try it now.

Reply

69 Brenda September 15, 2009 at 10:14 am

I installed from wp and used link cloaker version 1.3.2 this morning. When I went to view my site I got an internal server error. I had to contact my host to get my site back. I really want to use this plug in but I am scared to now after this. Any suggestions on how to use this plug in without losing my site? I am new to this if that helps and I am not sure if I wrote the code wrong or what.

Reply

70 Steve September 15, 2009 at 10:23 am

You got the error immediately after activation, before you entered any links, or was it after you tried to enter a link?

Without some details about your server setup, etc., it’s kind of hard to troubleshoot.

If you want to shoot me an email with a little more explanation about what you did and when you did it, when the error occurred, and what hosting company you’re with, I’ll try and help out. You can email me at steve at ilikewordpress dot com.

Reply

71 Costera September 16, 2009 at 2:16 am

Hi,

I’ve setup a new blog, and immediatly installed SimpleLink Cloaker.
It’s a 2.8.4 version.
When I activate SLK, “it tells me” :
Your .htaccess file does not appear to be writable. If you are unable to make the file writable by the server, you will need to copy/paste the redirect rules to your htaccess file manually. See below for rules.

What shouf I do now ? I don’t understand this message.

Thanks !

Reply

72 Costera September 16, 2009 at 3:14 am

…I’ve modified the permalink with the option:
/%postname%/
and I have no more error message,

BUT

the link cloaked doesn’t works. No redirection. Any idea ?
Thanks

Reply

73 Doug Morris September 22, 2009 at 6:14 am

I love the plugin. However I do have a question. With the cloaked links I’m unable to track click-outs from those links with WP blogstats. Is there another way of tracking those click-outs. Thanks.

Reply

74 holly@loseabdominalfat September 22, 2009 at 5:19 pm

I have been using link cloaker on this site for a month. Today, I noticed that one of my links was not working properly – so I went in to check/change the link. It did not work – so I went into Link Cloaker and deleted old redirect – and entered a new one. It still does not work. I was getting an Internal Error that Host Gator fixed. But still, cannot get Link Cloaker to accept new redirect. It goes to a page on my website – not the site I want it to go. The URL for the redirect works when I entered it in the browser window: I am able to make links using my other redirect links to other sites. Any ideas what to do?

Reply

75 Steve September 22, 2009 at 8:16 pm

Holly, because you got a 500 error, I tend to think that you were/are trying to cloak a URL that isn’t compatible with .htaccess redirects – or maybe I need to look at the formatting.

Can you shoot me an email with the text you want to use as a link and also the final destination URL? You can use the contact form or email me direct at steve at ilikewordpress dot com.

Reply

76 holly@lose abdominal fat September 22, 2009 at 5:45 pm

Update:
I input it as say /word.html
Cloaker returned /”wordhtml”
It looks weird – but it works this way.

Reply

77 mark September 28, 2009 at 5:00 am

Hi Steve,
I got an 500 error. I had host monster fix the file, however when I try to go to my subdomain htaccess file it says it can’t find it. I thought I had the permission set up on the sub domain but I only had it set up correctly on the root domain. How do I fix the subdomain .htaccess file?
thanks

Reply

78 Steve September 29, 2009 at 8:23 am

The easiest way is to upload an empty file to your subdomain root, then rename it to .htaccess. Set the file permissions to 644 to start. You may get the ‘file not writable by server’ message; if you do, try ‘664′ and if that doesn’t work, try ‘666′. As a LAST RESORT, you can try ‘777′.

Reply

79 Michael September 29, 2009 at 8:16 am

Hello,

I have installed your plugin on a few of my WP sites however I am getting the following error message.

Your .htaccess file does not appear to be writable. If you are unable to make the file writable by the server, you will need to copy/paste the redirect rules to your htaccess file manually. See below for rules.

Can you tell me how I fix this. I am using Hostgator for hosting.

Many thanks

Reply

80 Steve September 29, 2009 at 8:25 am

Michael, follow the directions above in my reply to Mark. You should be able to use ‘644′ permission setting with HostGator.

Reply

81 Helene October 3, 2009 at 11:44 am

Thanks Steve for this great plugin I’m using on my site.

Reply

82 Steve October 3, 2009 at 12:05 pm

Thanks! I’m glad you’re finding it useful.

Reply

83 Cyzko October 6, 2009 at 12:35 am

wow nice plugin..

Reply

84 Bill October 7, 2009 at 8:44 am

Hi Steve:

Would your plugin work with Amazon text links? If so how?

When i am in the amazon interface and then generate there affiliate link it is very long. (For this example i am just doing the text link.) So as i look at the html code they give me – i am guessing i would have to talke out the link in there code so that the html would not be producing an achor text link on my sites page and just use the exact link that goes to the amazon page on my site. Then just cloak that link. Is that correct?

Also -do you know Google’s opinion of amazon affiliate links? Is is recommended from a SEO marketers point of view if they should be cloaked? I know some affiliate marketing courses say in a blanket statement all affiliate links should be cloaked – but do you personally know about amazon?

If you would be so kind as to answer – What is the best way to cloak amazon links? That would be apprecaited

Much thanks

and Best Regards

Bill

Reply

85 Edward Palomo October 18, 2009 at 11:17 am

found this plugin on an article about WordPress essentials…i still don’t know where i would use it, but still this is pretty cool! thanks!

Reply

86 Glenn November 2, 2009 at 11:04 pm

Sorry to say I have given up. I followed the directions as you said but after 5 hours of trying to get it to work, no luck.
I don’t really see how it can work. The only link I end up with is the word I highlight, and after I cloak it, all that shows up in my browser is my url/the word I highlighted.

Reply

87 John November 3, 2009 at 8:22 pm

Hi Steve,
Is there a way to get the .html at the end of the cloaked link? I am worried that without the .html at the end it will signify a cloaked link from one of the search engines.

I am new to blogging so maybe I should not worry. Some of the people I ask say it works and I rank well with it so I am not worried about it. It works well without the .html but I spent a few hours unsuccessfully trying to get the .html at the end of the cloaked link working and would appreciate your thoughts.

Reply

88 Steve November 4, 2009 at 7:31 am

Hi John,

Welcome to blogging! heh

You don’t have a thing to worry about. Although I will be upgrading the plugin in the future to allow for filename extensions, they are definitely not needed. The SEs don’t care about cloaked links, especially if you make sure you have the rel=”nofollow” attribute in the link.

Reply

89 Holly November 4, 2009 at 8:10 am

Regarding question above. How do I get the nofollow in the link? I added a dofollow widget to the site.

A few months ago – I tried to get this site listed on a directory. They said no sites with redirects. I submitted my site to see what would happen and they turned me down. It seems if Directories know I have a redirect that Google would be able to detect too. Could there be something wrong with the redirect?

Reply

90 Steve November 4, 2009 at 1:27 pm

Holly,

Easiest way to get the nofollow in the link is to edit the link manually from the HTML tab of the post editor. You’ll have to disable your dofollow plugin.

I don’t quite understand what you’re asking, “Could there be something wrong with the redirect?”. Redirected/cloaked links aren’t undetectable. The only eyes we’re hiding anything from belong to the human visitor who may be skeptical about clicking on an affiliate link. That the links are redirected is obvious to anyone who looks at them, and of course Google knows as soon as they follow the link.

Reply

91 Greg November 8, 2009 at 7:49 am

Hi Steve,
I’ve installed the plugin at my site http://remedytreatment.com/teethwhitening/ and everything seem fine.
My htaccess also showing the url correctly
# BEGIN WordPress

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

# END WordPress

# BEGIN SLC
Redirect 302 /celebrityteethwhitening http://www.thecelebrityreporter.com/?aid=163746
Redirect 302 /idolteethwhitening http://www.idolwhite.com/?aid=163746
Redirect 302 /freeteethwhitening http://www.teethwhiten.com/?aid=163746
# END SLC

But when I click on the link, it just result in Error 404 – Not Found
can you advise what should I do to get it working? BTW, I’m using wordpress 2.8.5
Thanks in advance.

Reply

92 Nathan November 14, 2009 at 9:16 am

I have not been able to get it to function properly cloaking. Now I get the .htaccess problem. I have had to deactivate. I am using the v1.3.2
Any ideas? I host with hostmonster.com

Reply

93 Nathan November 14, 2009 at 9:42 am

Mark,
update on my htaccess problem. I confirmed that the permissions are 644 as above. When I cloak, or try,I get the server error. I now know to change my htaccess file to htaccess old and I gain access to my site.

I decloake my efforts and no problem. I just can not use the plugin as designed.

Reply

94 Anand Srinivasan November 14, 2009 at 12:37 pm

Is the plugin compatible on WP 2.8.5 and above? I have 2.8.5 and the redirect is not working…

Reply

95 Nathan November 14, 2009 at 3:13 pm

I also am using wp 2.8.5. It would not work. It created so many problems with server shut downs that my host techie had to go in remove the plugin to give me back my site.
It a buggggg

Reply

96 Steve December 10, 2009 at 9:55 am

Without knowing exactly what link text you were trying to use, your description isn’t helping much. The plugin creates standard Apache 1.3/2.x .htaccess redirects that will work on all normal server configurations.

Reply

97 krypton December 10, 2009 at 3:08 am

I faced some problem when i keyed in the html code into the link. when i click on enter, my whole blog went into external 500 error and i have to get my host company to repair this for me.
Could you explain this problem ? thanks

Reply

98 Steve December 10, 2009 at 9:57 am

See the reply to Nathan above.

I expect your issue is related – either illegal characters in the address, or your server doesn’t support .htaccess redirects.

Reply

99 money expert December 10, 2009 at 8:51 am

I found a bug in version 1.3.2: When you have a blog installed in a directory (e.g. example.com/blog/) the directory doesn’t get pre-pended in the .htaccess-file.

So when you create a link like example.com/blog/go/product you get /go/product in the .htaccess-file which doesn’t work.

Besides that issue, I really like your plug-in. Keep up the good work!

Reply

100 Steve December 10, 2009 at 9:58 am

Thanks for the bug report, ME. I’ll definitely get that fixed next release.

Reply

101 Joseph January 8, 2010 at 9:14 pm

Thanks for the plugin!

Check out screenr.com for easy screencasting. I have no affiliate interests in it…just the easiest screencast method I’ve found.

Reply

102 claire covington January 20, 2010 at 5:17 pm

Hello,
Thanks for your plug-in. I’m told that it is very good. I have a problem. Even though I have version 1.3.2, I have an alert in a pink box which says—–Your .htaccess file does not appear to be writable. If you are unable to make the file writable by the server, you will need to copy/paste the redirect rules to your htaccess file manually. See below for rules.—
Is there something I must do to fix this?

Thank you.

Reply

103 Frank February 1, 2010 at 6:57 am

Foolishly, I installed link-cloaking software to my public_html folder forgetting that it does not work with WP. The original .htaccess-file was over-written in the process.

Any way to tell if this plug in will still work for me?

Many Thanks.

Reply

104 Free Bets February 4, 2010 at 5:39 am

Excellent plugin, much better than having to set up php redirects manually. Thanks very much.

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>