Linux 软件免费装
Banner图

Media Rename — OrbitStem

开发者 pratik2198
concatstring
更新时间 2026年10月1日 15:14
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media images attachment file-rename bulk-rename

下载

1.5.0 1.5.1 1.6.0 1.0.1 1.7.0 1.8.0

详情介绍:

Media Rename — OrbitStem 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 and dry-run preview showing where the file is used. When applied, the plugin performs batched, resumable URL replacement across posts, pages, custom fields, page builders (Elementor, Divi, Bricks, Breakdance), and site options. Old file URLs automatically 301 redirect to the new filenames to protect your Google rankings and external backlinks. Single & Bulk Rename Features Expanded Auto-Rename Rules on Upload Stop uploading messy files like DSC01234_20240101_123456.jpg or f47ac10b-58cc-4372-a567-0e02b2c3d479.png. Set rules once and every upload is cleaned automatically: WordPress Playground Sandbox Test the entire plugin instantly in your browser without installing anything locally using our official WordPress Playground Blueprint: https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/pratik2198/orbitstem-media-rename/trunk/blueprint.json Privacy & Security This plugin does not contact external servers, track users, or collect personal data. All processing runs locally on your WordPress site.

安装:

  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 Media Rename panel
  4. Or go to Media → Media Rename to configure auto-rename rules, bulk rename items, and inspect the history log

屏幕截图:

  • **Bulk Rename & Pattern Templates:** Select multiple media files and rename them with tokens like `{post-title}-{counter}`.
  • **Dry-Run Preview Table:** Review old and proposed filenames and collision warnings before changes are applied.
  • **Resumable Batch Progress Bar:** Chunked processing with live progress bar and WP-Cron background support.
  • **Rename History Log:** Comprehensive log of all past renames with individual rollback capabilities.
  • **Automatic 301 Redirects Manager:** Protect SEO and external backlinks with zero performance cost on normal page loads.
  • **Expanded Auto-Rename Rules:** Strip camera timestamps, UUIDs, and stopwords on upload with real-time live preview.

升级注意事项:

1.8.0 Major feature release: Adds batched resumable URL updates, bulk rename from Media Library list view, dry-run preview, persistent rename history with individual rollbacks, automatic 301 redirects, camera/UUID/stopword auto-rename rules, and cache purging.

常见问题:

Who can rename media files?

Administrators by default (manage_options). Developers can customize this with the orbitstem_rename_capability filter: add_filter( 'orbitstem_rename_capability', function() { return 'edit_posts'; } ); To allow authors and contributors with upload permissions to rename their own attachments: add_filter( 'orbitstem_allow_editors_to_rename', '__return_true' );

Will renaming break external links or search engine rankings?

No! Media Rename automatically creates 301 Permanent Redirects for all renamed files. If Google or an external blog links to the old image URL, WordPress redirects them directly to the new file URL.

How does batched URL replacement work?

Instead of trying to update all database tables in a single PHP request (which causes timeouts on large sites), Media Rename processes posts, postmeta, options, termmeta, and usermeta in manageable chunks. A real-time progress bar shows completion percentage, and WP-Cron acts as a safety net if your browser window closes.

Can I rollback any rename from the past?

Yes. Navigate to Media → Media Rename → Rename History. Every rename event is logged, and you can click Rollback on any individual entry to restore the original file and reverse site-wide URL updates.

Which page builders and caching plugins are supported?

Media Rename automatically purges caches and updates serialized/JSON URLs for:

  • Elementor (including generated CSS cache regeneration)
  • Divi Builder (transients and et-cache clearing)
  • Bricks Builder
  • Breakdance
  • Beaver Builder
  • WPBakery Page Builder
  • WordPress Block Editor (Gutenberg)
  • Yoast SEO & Rank Math OpenGraph image caches
  • WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, Autoptimize

更新日志:

1.8.0 1.7.0 1.6.0 1.0.0