windows-azure-storage
windows-azure-storage copied to clipboard
Need the images to be uploaded to wp-content/uploads/
Describe your question
Hello It might be obvious but I can´t seem to be able to figure it out. When we upload images the should be uploaded to in the azure storange like this: /wp-content/uploads/2021/10/image-name.jpg. But what we get is this: /2021/10/image-name.jpg (without the wp-content/uploads/) Is there some setting to change the path so the images are uploaded in the storage to wp-content/uploads/year/month - instead of just year/month?
We used w3-total-cache plugin before to connect to azure storage and all the files we uploaded ended up in in azure storage with the right path (wp-content/uploads/year/month). With this plugin they are uploaded outside /wp-content/uploads/, just year/month.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@emmigereb Are you proxying to this path or using azure.com or blob.core.windows.net URLs in source of images?
I have the default settings. But I watched some videos on YouTube and it seems that is the default setting to upload like year/month. Without the WP-content/uploads.
@emmigereb what you're looking is to have a URL more in the WordPress format?
If so, by using the CNAME setting in the plugin you can make the image URLs be like yourdomain.com/wp-content/uploads/yyyy/mm/image.jpg