Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/kevinocasio/ocasio-clean-image-filenames/releases/download/v1.0.0/ocasio-clean-image-filenames.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Lightweight WordPress plugin to automatically sanitize uploaded media filenames, converting spaces to hyphens and removing special characters for better SEO.
Overview
Messy image filenames like IMG_0042 (1) Copy!.PNG create ugly URLs and cause encoding issues. Ocasio Clean Image Filenames automatically converts file names to lowercase, replaces spaces and underscores with clean hyphens (-), and removes special characters upon upload.
Features
- Automatic Cleanup: Sanitize file names the instant they are uploaded.
- SEO-Optimized: Converts spaces and underscores to clean hyphens recommended by search engines.
- Zero Front-End Assets: Pure PHP execution with 0 bytes of extra CSS or JS loaded on public pages.
- Instant Dashboard Toggle: Manage and toggle the feature directly from the Ocasio Plugins -> Dashboard menu.
Installation
- Download
ocasio-clean-image-filenames.zipfrom Releases. - In your WordPress admin dashboard, navigate to Plugins -> Add New Plugin -> Upload Plugin.
- Choose the downloaded
.zipfile and click Install Now. - Click Activate Plugin.
- Check your settings under Ocasio Plugins -> Dashboard.
Author & Support
- Author: Kevin Ocasio
- Plugin Page: Ocasio Clean Image Filenames on KevinOcasio.com
- WordPress Plugins: Free WordPress Plugin Directory
- Software Portfolio: Live Projects & Digital Assets
- Tools & Resources: Recommended Tech Stack & Tools
- License: GPL-2.0-or-later
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads