+ Reply to Thread
Results 1 to 1 of 1

Thread: Link to local PDF files

  1. #1
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    606

    Link to local PDF files

    Hi folks,
    Our customers keep asking us about short links to pdf files through the page manager; below you can find a simple way to do it:

    1. For instance we have a file info.pdf that we want to share through a link in the main, account or footer menu on our website.
    2. Upload info.pdf file to the ROOT directory (in which Flynax Software is installed) on your server.
    3. As the system .htaccess file will not let you call a file directly (as domain.com/info.pdf) you will have to add a new rule to your .htaccess file;
    4. Go to your server and open .htaccess file for editing.
    5. Add the following rule:
    Code:
    Only registered members can view the code.
    after exist line:
    Code:
    Only registered members can view the code.
    6. Now you can navigate to your pdf through http://www.domain.com/info.pdf or http://www.domain.com/info/
    7. Go to admin panel >> pages and create an external page using the url above.

    Good luck.

    John
    Last edited by John; March 15, 2012 at 04:57 AM.

+ Reply to Thread