No, versioning is disabled.
I suppose the problem is in the wordpress’ database and the way it handles files with similar file names, but I don’t know how to fix it.
If I upload the same image directly to my S3 bucket it goes just ok, no extra numbers are complemented
-
This reply was modified 7 years, 2 months ago by
askimer.
Hi @askimer,
Sounds like WP Offload Media is recognizing that the new file would be offloaded to the bucket with a path that already exists, so it renames the file in the same way that WordPress would if the file already existed locally.
Q1: When you said “if my file name is image.jpg and I replace it with the same image, the file name is changing to image1.jpg etc”, how are you replacing the image exactly?
Q2: Which of WP Offload Media’s Path, Year/Month and Object Versioning settings do you have turned on?
Q3: Have you turned on WP Offload Media’s Remove Files From Server setting?
>Sounds like WP Offload Media is recognizing that the new file would be offloaded >to the bucket with a path that already exists, so it renames the file in the same >way that WordPress would if the file already existed locally.
Yes, it seems so, but I intentionally delete files from S3 bucket and from worpress media library, but it still renames the files 🙁
I suppose the point is in the wordpress’ and how it handles its database. Sometimes when you first delete an image and then upload an image with the same file name, the wordpress adds “-01” to the name.