Skip to main content

Document downaload is renamed with fluentcom-MVUMGTla9r3hSO8FIkGi6

When we upload a document to be downloaded by the community the document is renamed with fluentcom-MVUMGTla9r3hSO8FIkGi6 at the beggining of it. We are not an advertising company working for fluentcom at least not at the moment. How do we remove that?

Diego Maradona

Same goes to Paul CΒ website, I downloaded pdf here; WPTUTS

Downloaded file name become fluentcom-F3NG7Gbaov8WBPuPkfRMsPyFllLi5juL-fluentcom-Off-Boarding-Free-EOS.pdf πŸ€·β€β™‚οΈπŸ˜„

Kim Welch, do you have cloud storage configured? If so, which one?

Kim Welch

Tawsif Ahmed RiyadΒ I do use cloudflare. If you need to see a video of this let me know. It is still happening.

Kim Welch, thanks for confirming Cloudflare.

Quick context: that fluentcom-…-fluentcom- prefix is added by design. It's a random token that makes the stored file URL unguessable, so files can't be accessed by guessing names. On local storage it never shows up (the download name is set separately), but on cloud storage the object key is used as the download name, which is why you're seeing it there.

If you'd prefer clean download names, FluentCommunity already exposes a filter for exactly this β€” you can customize the generated filename yourself. Add this via a code-snippets plugin or your theme's functions.php:

add_filter('fluent_community/generated_upload_file_name', function ($name, $originalName) {
    // Keep the random token as a folder instead of a filename prefix,
    // so downloads use the clean original name (e.g. report.pdf) while
    // the random folder still keeps the file URL unguessable.
    return wp_generate_password(32, false) . '/' . $originalName;
}, 10, 2);

Then upload a new document and download it β€” the filename will be clean (e.g. report.pdf), and the file stays protected under the random folder.

Note: this applies to new uploads only β€” files already uploaded keep their current names. Let me know if you'd like a hand setting it up! πŸ™

Diego Maradona

Tawsif Ahmed RiyadΒ I hope this can be included in the documentation in an upcoming update πŸ‘Œ