Viewing 4 replies - 1 through 4 (of 4 total)
  • im also having the same problem
    any solution
    Thanks

    Thread Starter endlessstudio

    (@endlessstudio)

    I couldn’t figure out the direct way, so I used a different method.
    1. I pass the value to the redirect page
    Download

    2. Then, get the value and used iframe to download the file
    $file_name = $_GET[‘file_name’];
    echo “<iframe src=\”Yourwebsite.com/wp-content/plugins/download-monitor/download.php?id=$file_name\” height=’0′ width=’0′ style=’display:none’></iframe>

    My site: http://endlessicons.com click any of the icon and click ‘Download’ button and see. It will redirect to the page then started to download it.

    sorry its not working for me

    file name is appearing in the url

    but not download, where i should place the code

    Thread Starter endlessstudio

    (@endlessstudio)

    Try it with ‘id’ instead of ‘file_name’

    Basically it’s sending the value to redirect page and inside of the redirect page, there is an iframe that loads the download function.

    Let me know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Redirect?’ is closed to new replies.