Thursday, October 13, 2022
HomeWordPress Developmentplugins - rename recordsdata throughout add to a random string?

plugins – rename recordsdata throughout add to a random string?


I need my recordsdata being renamed robotically on add to a random quantity that doesn’t intervene with different random named recordsdata. I’m new to PHP and don’t wish to change a code snippet yearly to maintain it suitable with present WordPress variations, if doable. Snippets are okay, I’ve WPCodebox, however they need to work for a very long time safe with out altering. I solely discovered posts which are no less than 10 years outdated (e.g., https://stackoverflow.com/questions/11586284/rename-files-on-upload-in-wordpress-3-4-1) and I cannot decide whether or not the code continues to be helpful or protected as it’s.

Does anybody know such a code snippet or a plugin for that job?

Context: I wish to create a personal space that’s password protected. For the reason that media recordsdata cannot be protected if accessed by their filenames (simply with high-priced plugins) I wish to make it very exhausting to be listed by any crawlers. I hope that concept solves this downside, please inform me if I’m unsuitable.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments