WP Manifestindependent plugin directory
manifest / media / ocasio-clean-image-filenames

Ocasio Clean Image Filenames

Automatically sanitizes uploaded media file names, converting spaces to hyphens and removing special characters for better SEO.

by Kevin Ocasio · github.com/kevinocasio/ocasio-clean-image-filenames · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/kevinocasio/ocasio-clean-image-filenames/archive/refs/heads/main.zip

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

  1. Download ocasio-clean-image-filenames.zip from Releases.
  2. In your WordPress admin dashboard, navigate to Plugins -> Add New Plugin -> Upload Plugin.
  3. Choose the downloaded .zip file and click Install Now.
  4. Click Activate Plugin.
  5. Check your settings under Ocasio Plugins -> Dashboard.

Author & Support