Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

change file remote path on aws s3 cdn to a custom directory

$
0
0

Replies: 0

hello everyone,
i use w3tc plugin for uploading images and data to aws s3 cdn.
i want to be able to upload the data to a directory of my choice,
for example instead of:

“wp-content\….”

i want:

“other-directory\wp-content\…”

looking into the code the remote path contains the location of where the file will be app load in s3 cdn.

how can i change this? which filter do i need to add?
i’m new to wordpress development so i would be glad for code examples and where to put the code, the file name etc…

thank you very much!!!


Viewing all articles
Browse latest Browse all 130709

Trending Articles