Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

upload path

inno4duinno4du New
edited September 2014 in Vanilla 2.0 - 2.8

how i change file upload path. i want to change file upload path to another web site upload path


  • peregrineperegrine MVP
    edited September 2014

    at one time, not sure if it worked.

    you could modify a Definition to the constants.php or define one possibly in bootstrap

    define('PATH_UPLOADS', PATH_ROOT.'/uploads');

    or define a local one...

    define('PATH_LOCAL_UPLOADS', PATH_ROOT.'/myuploads');

    but it doesn't work correctly.

    alternatively you could create a folder

    e.g. on the same server


    and create a symbolic link of the uploads folder with myuploads

    but without knowing why you want to do it. can't really provide much help.

    not sure - but it might break alot of things, if you don't get everything correct.

    you might also be able to do it with NFS or whatever shared filesystems you have.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • i want to save upload files to another space not my website. how i can do it.

Sign In or Register to comment.