Change upload folder location on windows

Keywords: WordPress - Installers - How to - Other

I installed Bitnami WordPress for windows
I want to change Media Folder (upload folder) on another installaton place, in fact, I want to let the Wordpress install on drive C: , but I want only to put the upload file on drive D:

I Used This solution on wp-config
define(‘UPLOADS’, ‘’.‘D:\testfolder’);

but when I Upload any file on WordPress media, I have an error " Unable to create directory D:\testfolder/2022/06. Is its parent directory writable by the server?"

I think it’s a permission problem , but I don’t know how to fix

Please I want a help, Because I’m not an expert

is there anyone can help!


I recommend checking the permissions and owner of the original uploads folder and change the new folder’s owner and permissions to match those.

The following page describes how to change Windows folder permissions: