5 replies
hi
I am putting a pdf doc onto the web, with a hyperlink in it, when I right click and ad the hoplink address, it doesnt hide it, how can I hide this.
thankyou
#pdf
  • Profile picture of the author sonamlama
    Hey novicewarrior,

    You can do an easy php redirect to hide the link and make it look clean. Just do this...

    1. Open Notepad or your favorite code editor

    2. Type in the following code as you see it below, replacing the bold text with YOUR affiliate link.

    <?php
    $url='http://nichest.tellmank.hop.clickbank.net/?rd=mfl';
    header("Location: $url");
    exit();
    ?>

    3. Save the file as keywordxyz.php (you come up with a file name that makes sense)

    4. Upload the new php file to your web server (use Filezilla as your FTP Client; it's free and works great)

    5. When linking to your affiliate link, you can now use:

    <a href="http://www.domain.com/keywordxyz.php">Click Here Now</a>

    Hope this helps.

    Sonam
    {{ DiscussionBoard.errors[2973035].message }}
    • Profile picture of the author novicewarrior
      thankyou for your promp reply.
      I am not using a server or a web page, I am just submitting the pdf file to the web, I just need to hide it in the pdf file that I created in word,
      thankyou
      helen
      {{ DiscussionBoard.errors[2973110].message }}
      • Profile picture of the author getsmartt
        You cannot "hide" the link in a PDF file, if you do not want to do a redirect as mentioned above, you can use a URL shortening service to create a short URL and use that in your PDF.

        James

        Originally Posted by novicewarrior View Post

        thankyou for your promp reply.
        I am not using a server or a web page, I am just submitting the pdf file to the web, I just need to hide it in the pdf file that I created in word,
        thankyou
        helen
        Signature

        Was mich nicht umbringt, macht mich stärker

        {{ DiscussionBoard.errors[2973230].message }}
  • Profile picture of the author Mike Baker
    I think perhaps you mean adding a hyperlink using Anchor Text. Anchor Text is what you want the link to say, but when you click on it you are taken to the site you specified.

    I presume you are using Microsoft Word as you specified a doc pdf, so I will explain using that as an example.

    With Word and your document open, type in the text you want displayed in the document. So for example you might want to say "For more information click here". Now you need to add the link to the text. Highlight the whole phrase or just the words "click here". Go to the taskbar and select Insert -> Hyperlink. In the new window add the url of the site you want the person reading the pdf to be taken to when the link is clicked, then click OK. Your text will now more than likely be underlined and in a blue font. That means the hyperlink has been added. Now all you need to do is export the file as a pdf and you are set to go.

    PS. Don't forget to save your word document.
    Signature

    {{ DiscussionBoard.errors[2974111].message }}

Trending Topics