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.
How to change the uploads directory
luisgzafra
New
Hello, i change in conf/constants.php the constant PATH_UPLOADS, it works, up well, etc. But it don't show good the url. ¿How i can change the url of uploads directory?
Thanks!
0
Comments
this not a good idea, you would have to change the core, and you would break a bunch of plugins no doubt.
Why do you want to do this? Make sure you set folder permissions diligently, and restrict the types of uploads with
you can always change the folder but you will have to use server rule to direct it.
grep is your friend.
or use a junction point.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
can you explain
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
it really kinda depends on the intent of changing the location. if you want the content to be stored elsewhere because, for instance you are short of drive space on the drive that hosts your webservices you can use a junction to point the uploads directory to a new drive somewhere else.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
thx.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hi. I'd like to change the uploads directory too.
There are 2 installations of Vanilla Forums on my server, each pointing to a different domain name. However both installations share the same database. The only problem I've encountered so far is when users upload new profile pics.
Plugins shouldnt be a problem as each installation has the same ones installed.