PDA

View Full Version : Redirecting my eBook Hyperlinks ?


st3v1e
11-13-2005, 04:51 AM
Hi all,
. . . . oh dear, here we go again!
I know this is real simple for you guys, but I'm experimenting frantically, but am getting nowhere.

I'm trying to find a way to redirect my eBook hyperlinks, so that they come to my web page, and then are redirected to another (Affiliate) site - automatically.

I'd REALLY appreciate a step-by-step lesson in this, as I'm going around in circles!

Anyone got some time to help?

Thanks.
Steve

Creative Insanity
11-13-2005, 06:51 AM
I am taking it that your ebook is in pdf format.
Well in acrobat (not reader) you can create hyper links and you could setup one to a redirect on your site which takes them to the other site.

If you don't have a redirect you can use the one in my reply here ('http://www.dreamweaverclub.com/forum/index.php?showtopic=1452&st=0&#entry5328')

st3v1e
11-17-2005, 08:54 AM
Thanks for that . . . . . but reading further on the Clickbank website (T's & C's) they provide their own html or php (???) script which MUST be used on their sites (if I want to use Cloaking), but I haven't got a clue as to how I put it into my site or what to do with it, if I need to create just ONE page with all this embedded in it, or a seperate page for EACH Affiliate site I have ???


HopLink Cloaker PHP Script:

<?php
header("Location: http://AFFILIATE.VENDOR.hop.clickbank.net"); ('http://AFFILIATE.VENDOR.hop.clickbank.net");')
?>


Is there a simple explanation as to how to use this script to "Cloak" my Affiliate ID from my (pdf) eBook - (built in Acrobat Pro 7) through my Website/page, and on to my Affiliate site?

Many thanks,
Steve

davidj
11-21-2005, 01:01 PM
just add a link or image

add an onclick event to the img tag

<img src = "myimage.jpg" onClick="myredirect()" width="20" height = "20" />

the function would be....


<script>

function myredirect(){
document.location.href='http://AFFILIATE.VENDOR.hop.clickbank.net';
}
</script>

st3v1e
11-23-2005, 09:35 AM
Davidj,
Hmmm . . . . certainly looks easy enough . . . . . but I'm still not too sure how I go about doing this.
I'm going to try this over the weekend, but in the meantime . . would you know of an online tutorial site which could take me through "Redirecting" . . . . or maybe you have an article which would explain it?
Like most things, once the learning curve straightens out a bit, things become clearer . . . . unfrtunately I'm still on the "UP" ramp of the curve.

Thanks again,
st3v1e