[wp-hackers] Set a unique directory for uploads
DD32
wordpress at dd32.id.au
Fri Jan 16 00:01:04 GMT 2009
What i've noticed lately, Is that there isnt a constant you can define
for the uploads directory... Only something relative to the content
directory.. which anoyed me..
Anyway, The settings you want are on the Settings->Miscellaneous,
Here's what i've got set:
"Store uploads in this folder: /home/dd32/public_html/dd32.id.au/uploads
Full URL path to files: http://dd32.id.au/uploads"
You need to define both of them correctly, Else it wont work, and no
trailing slashes!
2009/1/16 Mário Gamito <gamito at gmail.com>:
> Hi,
>
> I have this blog in WP 2.7
> I usually upload my images and files to a attic directory, just above
> the DocumentRoot of the site. After that, in TinyMCE, I write the URL to
> the image. That's quit a waste of time.
>
> So today, I've decided to use the upload feature. Configured the galery
> path to "attic" and uploaded a few files and images for testing.
>
> Well, it worked, but ir also created two directories above "attic": 2009
> and 01. So, the total path for an image is
> /home/user/public_html/attic/2009/01/image.jpg
>
> I don't wnat this kind of red tape.
>
> How can I make my images and file being uploaded to
> /home/user/public_html/attic only ?
>
> Any help would be appreciated.
>
> Warm Regards,
> --
> :wq! Mário Gamito
> Key Fingerprint: 0x04DA9BC9
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list