| 开发者 |
pratik2198
concatstring |
|---|---|
| 更新时间 | 2026年10月1日 15:14 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{post-title}-{counter}, {year}, {category}, {author}, or {original}filename-1.jpg) to prevent accidental overwritesDSC01234_20240101_123456.jpg or f47ac10b-58cc-4372-a567-0e02b2c3d479.png. Set rules once and every upload is cleaned automatically:
20240101_123456, 2024-01-01) and camera model prefixes (DSC01234, IMG_4832)the, and, or, in, on, with, for, at, a, an) for concise, SEO-focused filenames{year})remove_accents()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.
orbitstem-media-rename folder to /wp-content/plugins/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' );
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.
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.
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.
Media Rename automatically purges caches and updates serialized/JSON URLs for:
{post-title}-{counter}, {year}, {category}, {author}, {original}), and dry-run preview table.20240101_123456, DSC01234), UUID & hash removal, stopword stripping, max filename length setting, and new dynamic tokens.filename-1.jpg).blueprint.json in plugin root for instant 1-click browser testing.