Links in PDF - How To Cloak?

by sonja1
5 replies
Does anyone know how to cloak affiliate links in a pdf made from a word document?
#cloak #links #pdf
  • Profile picture of the author Krish2007
    Shorten your links with tinyurl.com and use those shortened links in your Word Document. Then when you convert that into PDF only Cloaked links will be seen.

    Krish
    {{ DiscussionBoard.errors[1660401].message }}
    • Profile picture of the author Alexa Smith
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[1660468].message }}
      • Profile picture of the author VanessaB
        Alexa,
        That's why when I put an affiliate link in a pdf, I first create a page for the affiliate product on my own site, then use a cpanel redirect to forward to the masked affiliate link.

        This way, in an event like that, you can change the link right through your cpanel, with a couple of clicks.

        -Dani
        Signature
        The Recon Report
        Reliable Results, Predictable Profits
        {{ DiscussionBoard.errors[1660531].message }}
  • Profile picture of the author aaronlamont
    Originally Posted by sonja1 View Post

    Does anyone know how to cloak affiliate links in a pdf made from a word document?
    When I do this what I usually do is use a url shortening service like tinyurl or bit.ly and then paste that link into my word processor, I use Openoffice because there is a built in PDF converter.
    {{ DiscussionBoard.errors[1660408].message }}
  • Profile picture of the author Zeus66
    Originally Posted by sonja1 View Post

    Does anyone know how to cloak affiliate links in a pdf made from a word document?
    Yes. Go download the suite of programs at openoffice.org (all free). Use their version of Word, which converts to PDF at literally the click of one button. You can simply highlight the text you want to turn into a live link, right-click on it, and put in the URL you want to link to. The best way to cloak that link is to use a PHP redirect with the following code on a web page you set up:
    HTML Code:
    <?php
    header( 'location: http://www.where_you_want_clickers_to_go.com' ) ;
    ?>
    Just create a new page on your domain, make sure it ends in .php (not .html), and paste that code into it. Change only what appears between the ' and ' and nothing else. What this does is automatically redirect to the target you put in there while not disclosing that location in your PDF, effectively cloaking your link. So the link in your PDF needs to be to the page you create on your server. People click it, and they automatically end up on the affiliate link you wanted them to go to.

    Hope that makes sense. It's very easy to set up.

    John
    {{ DiscussionBoard.errors[1660410].message }}

Trending Topics