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:
- 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 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):
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)


{ 7 trackbacks }
{ 108 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 (http://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 ?