Support » Plugin: File Manager » File not found on double click (wrong path)

  • Resolved henkemail

    (@henkemail)


    I have setup a front end file manager using a short code. Moreover I have set the root directory in settings to a specific folder in order to prevent users from accessing any WordPress files.

    In other words, “Root directory” set to:

    <wordpress base url>/<my files>

    Everything works fine, except for when I click on PDF files in the File manager I get a pop up window with “page not found”.

    If I right click the pdf file instead, and chose to “download” the file is downloaded correctly.

    Also if I double click another type of file, for example a Word document, the file is automatically downloaded.

    In summary, files that try to open inside the browser window gets the wrong path, whereas files that are downloaded to disk turns out fine.

    To be more specific, when double clicking a pdf file, the path becomes:

    <wordpress base url>/<the pdf file>

    whereas correct path should be:

    <my specified root folder>/<the pdf file>

    Any ideas?

    Many thanks,

    • This topic was modified 2 months, 1 week ago by  henkemail.
    • This topic was modified 2 months, 1 week ago by  henkemail.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.