這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Media Rename — OrbitStem

外掛說明

Media Rename lets you safely rename images, videos, PDFs, and any media 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.

螢幕擷圖

安裝方式

  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

常見問題集

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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Media Rename — OrbitStem〉的開發相關工作。

參與者

將〈Media Rename — OrbitStem〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.