OrbitStem Media Rename

Opis

OrbitStem Media Rename helps you rename files in the WordPress Media Library without breaking your site — and automatically cleans up filenames the moment files are uploaded.

Before you rename, you see an impact report showing where the file is used. After you rename, the plugin updates old file URLs across posts, custom fields, widgets, and site options — including data stored by page builders and block editors.

Rename any file safely

  • Stem Rename panel in the Media Library and attachment edit screen
  • Impact report with usage locations and risk level
  • File tree preview (main file, thumbnails, WebP/AVIF siblings)
  • SEO filename score with tips as you type
  • Site-wide URL replacement in posts, post meta, options, term meta, and user meta
  • Support for JSON-escaped, serialized, and HTML-encoded URLs
  • Post-rename verification scan
  • One-click rollback of the last rename
  • Quick-fill suggestions from title, alt text, or parent post

Auto-rename on upload (new)

Stop uploading files named IMG_4832.jpg or screenshot-3.png. Set rules once and every upload is cleaned automatically — before the file even touches disk.

  • Force lowercase — MyPhoto.JPG myphoto.jpg
  • Replace underscores and spaces with hyphens — my photo.jpg my-photo.jpg
  • Strip junk prefixes — IMG_4832.jpg 4832.jpg
  • Prepend parent post slug — upload from a post and get my-post-photo.jpg automatically
  • Custom prefix — add your own brand or year prefix to every file
  • Works with Classic Editor, Gutenberg block editor, and the Media Library
  • Multilingual support — accented characters (French, German, Spanish) are transliterated automatically

Privacy

This plugin does not contact external servers, track users, or collect personal data. All processing runs on your WordPress site.

Permissions

By default, only users with the manage_options capability can rename files. Use the orbitstem_rename_capability filter to change this.

Zrzuty ekranu

Instalacja

  1. Upload the orbitstem-media-rename folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Open Media Library, select a file, and use the Stem Rename panel

Najczęściej zadawane pytania

Who can rename media files?

Administrators by default. Developers can change the required capability with the orbitstem_rename_capability filter.

To allow editors to rename files:

add_filter( 'orbitstem_rename_capability', function() {
    return 'edit_posts';
} );

To allow any user who has upload_files and can edit the specific attachment (authors, contributors):

add_filter( 'orbitstem_allow_editors_to_rename', '__return_true' );

Will renaming update URLs on my pages?

Yes, when Update URLs everywhere on this site is checked. The plugin searches posts, custom fields, and options for old file URLs and replaces them.

Can I undo a rename?

Yes. Use Undo last rename on the same attachment to restore the previous filename and optionally reverse URL updates.

Does this work with page builders?

Yes. URL updates run across all post meta and serialized or JSON-encoded builder data, not just post content. The plugin is compatible with:

  • Elementor
  • Divi Builder
  • Bricks Builder
  • Breakdance
  • WPBakery Page Builder
  • Beaver Builder
  • Oxygen Builder
  • WordPress Block Editor (Gutenberg)
  • Any plugin that stores media URLs in post meta, options, or serialized/JSON data

Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

Kontrybutorzy i deweloperzy

„OrbitStem Media Rename” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Rejestr zmian

1.7.0

  • Added Auto-rename on upload — rules engine that cleans filenames before any file is saved to disk.
  • Force lowercase, replace underscores/spaces with hyphens, strip junk prefixes (IMG_, DSC_, screenshot-), prepend parent post slug, and custom prefix — all configurable from Media File Renamer.
  • Live preview on the settings page — see exactly what a filename will become before saving rules.
  • Gutenberg and block editor support for post slug detection — works via Classic Editor, media modal, REST API upload, and HTTP Referer fallback.
  • Multilingual filename handling — accented characters (French, German, Spanish, Cyrillic) are transliterated to ASCII automatically using remove_accents().

1.6.0

  • Added support for international filenames — French, Japanese, Chinese, and other languages.
  • Lowered minimum PHP requirement to 7.4.
  • Fixed media rename panel breaking on Windows after the first rename (path slash mismatch).
  • Store relative upload paths and auto-repair broken attachment meta when possible.

1.0.0

  • Initial release.