How to hide Ebook url on site?

2 replies
I have my squeeze page up and running with optimizepress but when they get the link to download the pdf how is the best way to go about hiding the url?
#ebook #hide #site #url
  • Profile picture of the author AzizA1
    You can use a php script that will act as redirect thus making it very difficult for folk to note your actual download link.

    Now I'm not great at coding or programming.. (i leave that to my team :-))...but it would go something like this:

    <?php $id = $_GET['id']; $links = array( "download" => "http://www.yourdomains.com/thanks/yourPDF.zip" ); header("Location:".$links[$id]); exit; ?>

    => replace "http://www.yourdomains.com/thanks/yourPDF.zip" with your actual download path file.

    => copy & paste the above code into a html editor & save as 'download.php' (or something..)

    Now on the actual page where they click to download your PDF, replace the download hyperlink on this page with :

    <a href="download.php?download">Download</a>

    Hope that helps.

    Az
    Signature
    If you have a minute or 2 to spare, stop by the my Blog for some free tips :-)

    ==> 7 Days to $1000 Blog
    {{ DiscussionBoard.errors[9314011].message }}
  • Profile picture of the author Jack Gordon
    Or, you could use OP's membership module.

    I haven't used that one specifically, but this is exactly what membership software is designed to do.
    {{ DiscussionBoard.errors[9314016].message }}

Trending Topics