Unique uploaded media names by adding some extra random string
Unique uploaded media names by adding some extra random string.
By default, WordPress upload file name slugs at it are. Sometimes if any file name conflicts, WordPress adds extra suffix at the end of the slug name.
Example: my-image.jpg
and if the file name is similar, my-image-1.jpg
my-image-2.jpg
and so on.
By installing this plugin, every uploaded media will have unique values as a suffix at the end of the uploaded media name. Default uploaded string value is 15 character and have zero possibility of file name confliction. Uploaded file name + Unique String
Example
Features
311629-W3dRonmw
.jpgConvert to ASCII
openssl_random_pseudo_bytes
Numeric
, Alpha Numeric
, No Zero Numeric
, All String
, Hexadecimal
, Capital
, Alpha
and Distinct
). Just edit line number 75
and 76
.3.02KB
GPLv2 or later
WordPress 5.2.1
unique-uploaded-media-name
folder to the /wp-content/plugins/
directory. (If the folder name changes, rename the folder name with your own.)Do you have questions or issues with Unique Uploaded Media Name? Just send an email to [email protected] . I will be happy to answer your queries.