Automatically sanitize and rename uploaded files into clean, SEO-friendly names. It transliterates Latin diacritics, normalizes separators, strips non-ASCII characters, and lowercases both filenames and extensions to ensure compatibility across all operating systems.
- Accents Transliteration: Uses WordPress built-in
remove_accents()to map 200+ Latin accented characters (e.g.á->a,ü->u) to their ASCII equivalents. - Consistent Lowercase: Converts both filenames and file extensions to lowercase to prevent file path mismatches on case-sensitive hosting servers (e.g. Nginx on Linux).
- Separator Normalization: Automatically converts spaces and underscores into hyphens (
-). - Consecutive Hyphen Collapsing: Replaces multiple hyphens with a single hyphen and strips them from the beginning and end of the filename.
- Safe Fallback: Generates a safe name (e.g.,
file-1718000000.png) if the entire filename consists of non-ASCII characters (like Chinese/Japanese/Korean) that get stripped. - Optional Date Prefix: Organize files chronologically with a toggleable
YYYY-MM-DDprefix under Settings → File Renamer. - Optional Time-Based File Names: Store every upload under its upload time (
今日快訊.jpg->2026-09-04-153012.jpg), in the site's own time zone, so the result is predictable no matter what the file was called. The media library title keeps the name the file was uploaded under (今日快訊), so files stay searchable by their original name. - Traditional Chinese Translation: A zh_TW translation is bundled in
/languages, so the settings page follows the site language instead of always rendering in English.
This plugin is a standalone companion in the Omni Webmaster & SEO Suite ecosystem.
If you are looking for an all-in-one performance and SEO toolkit, consider using:
- Omni Webmaster & SEO Suite (GitHub) — A comprehensive suite that consolidates advanced RSS controls, HTML head cleanup, robots customization, comment disabling, selective thumbnail pruning, upload file renaming (this plugin's feature), upload image resizing, Google Translate URL slug conversion, and Meta Pixel tracking into a single settings panel. Do not run both at once — the suite automatically yields to this standalone plugin to avoid renaming files twice.
Other standalone modules in the ecosystem:
- modern-rss-image-feed — Add modern image formats (WebP, AVIF) support to RSS feeds with proper grouping.
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Download the plugin files.
- Upload the plugin folder to the
/wp-content/plugins/smart-file-renamerdirectory. - Activate the plugin through the Plugins screen in WordPress.
- Go to Settings → File Renamer to configure options.
This project is licensed under the GNU General Public License v2.0 or later (GPL-2.0-or-later).