Hi,
Please help me, if i use image upload feild then how can i change folder path from upload to some other?
Thanks
SAJID
Dear sajidm,
We use the defaul upload patch which WordPress uses. So to change it, you need to change the defaul one. You need to edit the wp-config.php file located in the root directory of your WordPress installation. If you want upload directory to be wp-content/files then you will need to place the following code in wp-config.php:
define( 'UPLOADS', 'wp-content/'.'files' );
If you want the upload directory to be outside wp-content, like hidden link then you need to set upload path in wp-config.php like this:
define( 'UPLOADS', ''.'files' );
Remember you can still choose whether or not you want uploaded files to be organized in month/year folders in Settings » Media (see attached image).
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Dear Adriano,
My issue still not resolved, my point is not to change the upload image path for all wordpress media, i just want to change the folder for custom image upload control which i used in my wp site through your plugin , please check the attached image also.
Looking Forward
Thanks for the quick responce.
Dear sajidm,
I understand your question, sorry but unfortunatelly it is not possible. We use default upload path to store images / fields by custom fields.
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Hi sajidm,
Just wondering if you figured out a way to do this. I'm looking for this solution myself.
Tim