Change Image URL

Hello

I wonder if you could give me some custom code to edit my image urls? Currently they include the date and wp upload in the title e.g site/wp-content/uploads/2018/01/imagename and I would like them all to have the post link. Is this possible?

Thank you,
Lucy

Hi there

Hope you are having a good day and thank you for your question :slight_smile:
Lucy this is how WordPress handles uploaded media files in the folder, unfortunately, this is not possible,
Alternative is to create custom folder in your hosting and then use custom links of the image, but they will not appear in the WordPress media and you will not be able to choose these images from the WordPress add media button

Thanks!
Colorlib Support Team