As we all know cloaking is very useful, but which is the best method to cloak the hoplinks? I remember I asked this previously, but couldn't find the right answer. I am not going to ask you here to list the ways how can I hide my hoplink. Just tell me, which is better HTML or PHP cloaking and why.... If possible write the code, that you are using. Thanks
I agree with badar, go with PHP. Google doesn't like HTML redirects (probably because Sergey Brin doesn't like them), but PHP redirects are fine (but exclude them from sitemaps you upload to Google). Also, some people turn off meta redirects (AKA HTML redirects), but PHP redirects can't be turned off. badar gave the right code about me, so my job here is done. nadavs
htaccess redirects in my opinion are easiest, best and fastest put this in your htaccess file Redirect 301 /yourpage.html http://xxxxx.ipodpsp.hop.clickbank.net Code (markup):
Yep, PHP redirects are much smoother. A lot of people avoid clicking things that end with .php though. What I do is I make a new directory on my domain for every product I'm promoting, and I put the php file there and I name it "index.php". So it looks better. Here's the code for a 301 php redirect, which I use. <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.1ordersys.com/aff/?aid=24914&pid=10723" ); ?>
As a silent noob here at DP I think it is finally time to contribute back to the community after all the moola you guys made me. 1.) Add a robot.txt to your main directory 2.) Put this in there *Changing the directory where you store your php redirects
If you have cpanel hosting you can do .htaccess really easy be clicking on redirects from your cpanel frontend, then enter whatever filename you want to to redirect to your affilliate url, select permenant redirect and it will create the .htaccess file for you.