• Resolved DLM1166

    (@dlm1166)


    The File Upload Path defaults to ‘/wp-content/uploads’ but there is a warning underneath it saying: This is public by default. Make sure it is writable by WordPress and not public. (Delete and save settings to restore default path.)

    What specifically is recommended here? Doesn’t it have to be public for users to upload?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Farhan Noor

    (@farhannoor)

    Hi DLM1166,
    By default system saves uploads to the public folder. Plugin provides you an option to save your application attachments to a different folder. Your existing path may contain ‘******/******/public_html/wp-content/uploads’. In this case path before public_html is private. So eliminate anything starting from public_html. Otherwise contact your webhosting provider to identify the private path.

    Best Regards.

    I am having the same problem. I have set the path to the WordPress uploads directory and it still shows the warning.

    I have tried :
    ******/******/public_html/wp-content/uploads (full absolute path)
    wp-content/uploads
    /wp-content/uploads
    public_html/wp-content/uploads
    /public_html/wp-content/uploads

    The warning never changes. The permissions on the uploads directory are set to 755.

    Thanks

    • This reply was modified 5 years, 6 months ago by cigjonser.
    Plugin Author Farhan Noor

    (@farhannoor)

    Hi cigjonser,
    Public folders are accessible by search engines & anyone who wishes to crawl your website. So, its a good idea to change upload folder for ApplyOnline plugin attachments.

    When you install plugin, the default upload folder for attachments is wp-content/uploads, You can see the path in the settings as abcd/efghij/public_folder/wp-content/uploads. In this case Your website is hosted at public_folder(may be different). Now remove anything starting from /public_folder & the path left behind is private which will be in this case abcd/efghij. Now all Application attachments will be saved in the private folder on your hosting.

    Path shown above are exemplary, contact your hosting provider if you are having difficulty in identifying private/public paths.

    Best Regards.

    Hi Farhan,

    Thank you for your effort in trying to get this resolved.

    I tried what you suggested, but no luck.

    The directory structure on the server is /home/website/public_html/wp-content/etc..

    I tried setting the path to /home/website
    I tried creating a new directory /home/website/apply with permissions of 755, 744, 700

    Still the same message. The paths are accessible to WordPress (I checked with wp_is_writable()) and those paths are not accessible to the public.

    Are there any other requirements besides those two in order for the plugin to work?

    Thanks

    Plugin Author Farhan Noor

    (@farhannoor)

    Hi cigjonser,
    In ApplyOnline settings, path to /home/website should work. No need to create a separate folder as Plugin will create one for itself in the backstage. Remember, alert will remain there but your attachments will start saving into a private folder.

    Best Regards
    Farhan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘File Upload Path’ is closed to new replies.