Simple Link Cloaker
UPDATE December 14, 2010. Because some days are better than others, I managed to upload the wrong zip file of the link cloaker plugin. That error has been corrected. This is the correct download link for the Simple Link Cloaker plugin.
UPDATE December 12, 2010. Since WordPress has seen fit to not offer this plugin from the repository, it is now available for download. You’ll have to install it the old fashioned way: download the zip file to your computer, unzip it in an empty directory, then upload the entire plugin folder to your wp-content/plugins directory. You can download the plugin here: ilwp-simple-link-cloaker. Thank you all for your support.
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:
- Write your post, highlight your anchor (link) text, then click the ‘link’ button (assuming you’re using the Visual Editor).
- In the Link URL box, enter the link address without your blog URL, starting with a slash.
- Add your other link goodies like ‘target’ or ‘class’, click Insert.
- Finish and publish your post.
- Go to Settings -> Simple Link Cloaker.
- In the Add New section, enter the Link URL you just used into the left box.
- Enter your affiliate link in the right box.
- Click “Add Cloaked Links”.
- Done.
Example: suppose we want to link to a Clickbank product, and we want to use the URL https://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):
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)
{ 20 trackbacks }
{ 170 comments… read them below or add one }
Works great, thank you
Thanks much, glad you could use it!
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 (https://ilikewordpress.com/simple-link-cloaker) doesn’t work if you click it from the top of the setting page in wp-admin.
Ouch. Thanks, Geoff. I’ll take a look.
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.
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.
I like to see the video to know I can make sense of this…
I will try and get it up this evening for you, sorry for the delay.
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
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
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.
Thanks Steve, that was the piece I was missing.
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.
…wordpress version 2.8.2 and link cloaker 1.3.1
thank you for your feedback
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.
Thank you Steve! works like charm (again)
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.
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.
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
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.
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.
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.
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
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.
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
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?
Hi many thanks… I used it to my website movie-holic.net
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.
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
Oops…mistake in the 2nd paragraph. This is to confirm…that I find it does not work with PHP 5.2.9 and above…
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?
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
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.
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….
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?
Yeah, I have pretty permalinks set up. Everything seems alright. I’ve sent you the redirect lines in your contact form. Thanks.
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
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, putrel="nofollow"
. Poof, you're done.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.
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.
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
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.
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.
Thanks Steve!
I try it now and will let you know.
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,
Glenn, I haven’t, sorry. Been incredibly busy lately. Do you have a specific question or just having general difficulties?
Would be nice if there was an additional field available to name the link.. eg. LinkName
ie. LinkName, From Link, To Link..
Look for that in the next release, good suggestion. Thanks!
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.
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.
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.
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?
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.
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
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
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.
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’.
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
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
I got your plugin and it works perfectly on my site. Thank you!
Glad to hear it. Good luck in your endeavors.
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.
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.
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?
You have to do that when you make the link in your post. Set the ‘Target’ dropdown box to ‘New Window’.
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.
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.
Thanks Steve. I see my where I made the mistake. I’ll try it now.
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.
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.
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 !
…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
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.
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?
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.
Update:
I input it as say /word.html
Cloaker returned /”wordhtml”
It looks weird – but it works this way.
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
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′.
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
Michael, follow the directions above in my reply to Mark. You should be able to use ’644′ permission setting with HostGator.
Thanks Steve for this great plugin I’m using on my site.
Thanks! I’m glad you’re finding it useful.
wow nice plugin..
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
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!
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.
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.
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.
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?
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.
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.
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
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.
Is the plugin compatible on WP 2.8.5 and above? I have 2.8.5 and the redirect is not working…
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
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.
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
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.
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!
Thanks for the bug report, ME. I’ll definitely get that fixed next release.
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.
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.
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.
Excellent plugin, much better than having to set up php redirects manually. Thanks very much.
Redirection of link does not work. In .htaccess, your one line Redirect 302 does not put anything in front of your panel’s “from”, i.e., the domain.
Cpanel writes .htaccess differently as
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain/folder/page$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain/folder/page$
RewriteRule ^/?$ “newdomain/page” [R=302,L]
Can you point me to reference on the single vs multiline form?
Redirection and Rewrites are different animals. Redirection uses mod_alias and performs simple redirects while rewriting uses mod_rewrite to perform potentially complicated rewriting/mapping of URLs to the file system.
A good first step in understanding the differences is to start with the Apache documentation (link points to docs for version 2.2, your server might be running a diff version).
I just did something bad because now I cannot log into my site. It always gets redirected to this
http://www.chews4health.com/36663wp-login.php
Ive tried just typing my WP login by hand but it always gets redirected. Could you please send me an email on how to fix this. I deleted the link cloaker from FTP but its still not working
HEEEEEEEELLLLLLLLLLPPPPPPPPPP
Thanks for your help-it fixed the problem. I still dont understand how to use this and Im afraid if I try it again-something wrong will happen again. Is there a video tutorial ?
Hi
Thanks for making this programm however I’m afraid I tried to use it with the current version of word press 2.9 and it keeps loging me out of my site with a internal error regading the htaccess file hence I had to contact my host provider to do something to let me back in my site… he furthmore told me not to activate the code as it wasnt leading anywhere and was causing all the trouble?
have you got a update of the program that will work in the most current up to date wordpress 2.9? with out causing errors?
appreciate all that you are doing.
Nice, works great! Not confusing or trying to “wipe your rear” like you said, just plain cloak and redirect, exactly what we want.
For tracking I just use Google Analytics, why make this harder than they should be.
Thanks again!
Plugin works like a charm. Little suggestion, a hack that I implemented because it works better for me. It seems like a PITA to find the menu.
## end options page
function slc_options_page () {
add_submenu_page('edit.php', 'ILWP Simple Link Cloaker Redirects', 'Simple Link Cloaker', 8, __FILE__, 'slc_redirect_options_page');
THanks Robin, I’ll take a look at that on the next update. (Unfortunately, WHO KNOWS when that will be. Been kinda busy lately)
Thanks for providing us with Simple Link Cloaker. An absolute breeze to install and to use, and I have never had any errors or ‘bugs’ when using it.
Keep up the good work!
HEY – I dont fully get how this all works – it seems to mask teh link for a second when you click on it then go back to teh original url ? is this suppose to happen
so I put onlinehealth in teh left and muy aff link in the right
to get
somethinglike.com/onlinehealth – now this url works except it only masks it for a second – then reverts ot teh normal url or is this what its supose to do ? if so whats the point as the link will be covered by the anchor text anyway ? – is tehre a way to properly cloak teh link so teh visitor just sees somethinglike.com/onlinehealth and thats all — no aff link is seen at any stage -
ive tried a couple of plgins and your seems teh best one – it it indeed simple thnks
Hey Anna,
The only ‘masking’ or ‘cloaking’ that happens is when the user rolls over the link or views the page source code. At that stage of their visit, it is impossible for them to discern where the link goes – they have to click to find out.
Once they click, it’s too late – the affiliate site has already laid its cookie. Now, the determined and savvy commission thieves will copy the address, clear their cookies, and revisit after changing the aff part of the URL. There’s very little you can do about that.
What you’re talking about is domain masking, which can be done at the URL level by some registrars ( GoDaddy, for instance ) or by framing the URL inside a page on your own site. I think you’ll find, however, that this violates the TOS of most if not all affiliate programs. They catch you doing it and not only will they boot you from the program, they might withhold any commissions that you’re owed. Is it worth that risk?
this is interesting
youtube.com/watch?v=Jz6cTLLPVS8&feature=related
cbtool.w-shadow.com/link-cloaker.php
i think there is enough info to show that hiding your afiliate link is a must -
Great plug in, saves a lot of time from doing it manually.
Thanks
Thanks a million for this wonderful plugin. The challenge I’m facing after installing and following your instuction is that I cannot publish my new post. I was able to preview the post but I couldn’t publish it. Pls can you tell me something I might have done wrong?
Thanks.
have you got the video up to help others how to use the cloaker
i tried this.
it created this in htaccess:
ErrorDocument 404 /index.php
# BEGIN SLC
Redirect 302 /watch-full-movie http://www.————-.com/affiliate/index?ref=18355
# END SLC
but i get a page not found when i click link.
?
cashbagg, I’ll need to have your site address and also the affiliate link. You can use my contact form to send if you like.
Im trying to understand what this link cloaking is ment for. You mentiened it hides affiliate links on a word press site but why hide them? Im just wornderign if this is useful to me if i used it.
‘ILWP Simple Link Cloaker’ seems to have disapeared from the plugin list, nothing found when searching for it, any ideas why?
No clue, Stuart. I suppose I should look into it. Thanks for the heads-up.
EDIT
I don’t know what the story is. The plugin files are still in the repository at the link above, but the directory is unavailable unless you’re logged into wordpress.org. Am attempting to find out just what is going on.
I don’t see it when logged in, either :/
Hey Steve, I can’t find the SLC in the plugin directory either!
Thanks for an awesome plugin btw!
Dave
Thanks Dave.
I have found out that the powers-that-be at wordpress.org don’t like the idea of “link cloaking” plugins and have removed all of them from the repository.
It seems that I will have to somehow relabel or repurpose the plugin to remove references to cloaking.
Oh, well. Their sandbox, they’re the bosses.
Whats next, they gonna remove htaccess file….. lol
Hi Steve,
I use this extensively on all my sites so, THANKS. Have you relabeled it yet so I can add to new sites? Or, do I have to grab from another site and mess with cpanel?
Thanks again,
Troy
Hi there, I’ve been using this plug in for over a year. Now that it has been removed from the WP directory, it seems that when I try to add a link to the list, it messes up my site and gives me and “internal server error.”
Are you aware of this? Just wanted to let you know in case it has something to do with the plug-in going missing in the directory.
Please keep me updated.
Thanks,
Tara
Hi Tara,
Sorry you’re having troubles.
Has nothing to do, though, with the plugin being gone from the repository.
If I had to guess, I’d say that the last URL you added wasn’t quite right – had illegal characters or something like that.
If you want to email me the text of the offending htaccess file, I’ll take a look at it for you. You can send it to steve at ilikewordpress.com.
Thanks for the tip, not having to do it manually is a real timesaver, and I need all of that I can get!
Hi Steve,
Your plugin still works successfully on one of my sites from a year ago, but I wanted to add it to another site and the download link is no where to be found within the WordPress plugin directory.
Is there some way to download it from this site? Or do you offer it for sale elsewhere?
I found it to be extremely simple to use no pun intended. Especially for non techies like myself.
Thanks!
True, its a great plugin, and after WP removing it, and not being able to download it, I have successfully moved it to my new site
, basically:
1. find the folder for the plugin files in your hosting account, the plugins are stored in the ‘plugins’ folder in the ‘wp-content’ folder, the plugin itself is called ‘ilwp-simple-link-cloaker’
2. ‘copy’ (not move or cut) ‘ilwp-simple-link-cloaker’ the whole folder, and ‘paste’ it in the new sites ‘plugins’ directory
3. go back to the new sites wp-admin and it will be in plugins list!, but it will appear de activated, just activate it, and you are done!
IMPORTANT NOTE: No tech support from me on this one, it just worked for me, NOTE: it might not WORK for you, if you dont know how to do the above, and fix it if it goes wrong, or dont understand what the above says, dont touch, and find someone that has the skills in wp to help you.
cant able to download the plugin.. check it pls
Download link is not working. Could you please up it again? Would be great!
Download link wasn’t working for me either, then I came back a few days later and it worked fine. Thanks for the help!
Not working for me either, I will check back later,
I can’t find the pluging anymore. Did WP remove it?
I would like to download, but can’t find it. Could someone please post the link?
Thanks in advance
Anton, check the top of this post for the download link. If you don’t want to scroll to the top, here it is: ilwp-simple-link-cloaker
thanks, Steve
Hi,
When I try to install simple link cloaker it gives me this message :
“The plugin does not have a valid header”
Have I done something wrong?
Thank you!
No Vlad, you didn’t do anything wrong. I did. But now it’s fixed. Sorry about the troubles.
Please delete completely the ilwp-simple-link-cloaker folder that you uploaded previously. Download, unzip, then upload the new folder.
Hi,
I experienced the same as Vlad. After activating the plugin, WP tells me that the plugin does not have a valid header. Could someone please advise?
Thanks
I’ll take a look and fix asap. It’s strange it’s exactly the same files that are in the repository…
Fixed. Sorry about the troubles. Please delete completely the ilwp-simple-link-cloaker folder that you uploaded previously. Download, unzip, then upload the new folder.
Help!
I have installed the plugin, but the page is not redirecting to the target link. It keeps going to the visible address link and then giving a 404 Page error.
Hi,
i just install to test plugin on my website but after setting up it takes me to 404 eror page. i removed plugin and edited .htaccess but still there is a problem. please help in great trouble.
I’m going to give this a try.Thanks!
I tried this link cloaker trick and got it to work on the first try.
thanks for the easy to follow post.
Hi thanks for the plugin works really well.
This is a great, efficient, simple plugin. Its pretty sad that WP isn’t listing Simple Link Cloaker – or any other simple redirect plugins – anymore.
I appreciate your work, and this your plugin does EXACTLY what I need. Nothing more, and nothing less. It just works.
Works with my new WP 3.1, thanks!
ex: http://silverinvestr.com/silversaver
Hello,
The plugin works great however I get the message that others have already posted
“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.”
I’m not sure why this message is showing up and if I still need to do anything if it’s working?
Mark
I tried adding an affiliate link to your plugin and bucuase I did not know what I was doing I entered a / only in the first field. Now the entire site redirects to my affiliate page and I can no longer even log into the WP Admin……I know…it would be funny…if I knew how to fix it.
I tried deleting the ilwp-simple-link-cloaker folder by FTP and uploading the latest version—no luck.
Is there are perticular wordpress file I need to edit to get back to my admin login?
Thank you
@avnorthmedia – oops!
You’ll need to FTP back to your site, to the main WordPress folder, and rename the .htaccess file. Just rename it to htaccess.txt. Your site will come back. Then you can edit the file and remove the offending redirect lines. OR you can NOT edit the file, regenerate your permalinks from Settings > Permalinks. WP will create a new htaccess file and you’ll be good to go.
I changed a cloaked link using Simple Link Cloaker and my entire blog went into 500 Internal System Error. Just want to let you guys know that I managed to fix the problem by going into the .htaccess file and fixing the link — I only typed in “www.URLhere.com” for the redirect link whereas it’s supposed to be “http://www.URLhere.com”
Hey Steve, I’m having a bit of trouble with your cloaker. I think it has something to do with the structure of my domain. my first site is http://www.domain.com but my site that i’m having trouble with is set up like http://www.domain.com/domain i have tried to set up the link and it tells me that its there, but when i try to get there all i get is an error page.
your cloaker tells me to use /domain/cloakedlink but when i do that it just wont’ work. Actually, i can’t get it to work at all. but with the other site it works instantly. Any solutions?
Actually, all you should be putting in the left-hand box is the actual link text that you’re using, prepended by the slash. You should NOT have to include the subdirectory. Let me know if you can’t get it working, I’ll try to help you fix it.
if I had put it in as http://www.domain.com/cloakedlink it would just give me a 404 message, if i did the http://www.domain.com/domain/cloakedlink i would get the error page. under manage cloaked links in the left box it says /cloakedlink, and on the right box is the link to cloak. but if i put it in the text link as /cloakedlink, i get the 404, and if i add /domain/cloakedlink it just gives me the error page. so i went into the .htaccess file and edited the link to be to be /domain/cloakedlink. now it works.
Hi Steve,
Is it possible to cloak clickbank banners? I’ve followed the instructions but they still remain unclocked.
Regards,
Jason
Where can I download this plugin? I follow the link above to wordpress.org, but it seem like not exist.
Thanks you. I like Simple Link Cloaker becouse it very easy to use.
What the heck is link cloaking? To be as plain as possible, cloaking affiliate links is the art of showing your visitors an internal link when they mouse over an affiliate link so that the visitor doesn’t think they are leaving your site.
What the heck is link cloaking? To be as plain as possible, cloaking affiliate links is the art of showing your visitors an internal link……
Hello Steve,
I want to try your plugin. I canNOT find it @ wordpress.org any more.
Your latest version here on your site dates back to December 14 2010.
Your latest comment was for an update on June 28, 2011. Are you still supporting it? Does it work with wordpress 321 and will it work with wordpress 3.3?
Thank you in advance
Hi, the plugin will work with 3.2.1 and also with 3.3. I haven’t updated it for a while because there hasn’t really been a need.
I am going to try to get it back into the repository under a different name, we’ll see what happens.
Thank you for the quick reply.
Great news. !!! Please keep us posted.
Hi Troy,
I’ve tried a couple of times to change the label so the powers-that-be would like it but nothing’s worked so far. I think I might try a brand new submission and see what happens.
Ahhh, I understand now. I’ll have to see what kind of a fix I can come up with for that. Sorry you’re having troubles.