Title: DH &#8211; Rename Uploaded Files
Author: Dannie Herdyawan
Published: <strong>24. September 2019</strong>
Last modified: 18. August 2025

---

Plugins suchen

![](https://ps.w.org/dh-rename-uploaded-files/assets/banner-772x250.png?rev=2161800)

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

![](https://ps.w.org/dh-rename-uploaded-files/assets/icon-256x256.png?rev=2161800)

# DH – Rename Uploaded Files

 Von [Dannie Herdyawan](https://profiles.wordpress.org/k0z3y/)

[Herunterladen](https://downloads.wordpress.org/plugin/dh-rename-uploaded-files.4.zip)

 * [Details](https://de.wordpress.org/plugins/dh-rename-uploaded-files/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/dh-rename-uploaded-files/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/dh-rename-uploaded-files/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/dh-rename-uploaded-files/#developers)

 [Support](https://wordpress.org/support/plugin/dh-rename-uploaded-files/)

## Beschreibung

Automatically renames WordPress media uploads with customizable naming patterns 
for better organization and security.

from „hello-world.jpg“

 * to **orlold-whel.jpg**
 * or **hello-world_orlold-whel.jpg**
 * or **d6sf8z7mlo5ey4h90nkqcbixgr3wvj.jpg**

Other Plugins:

 * [DH – Anti AdBlocker](https://wordpress.org/plugins/dh-anti-adblocker/) – Block
   the adblocker

Notes:

 * Only affects newly uploaded files.

## Screenshots

[⌊Plugin settings page in WordPress admin showing all available configuration options
for renaming uploaded files.⌉⌊Plugin settings page in WordPress admin showing all
available configuration options for renaming uploaded files.⌉[

Plugin settings page in WordPress admin showing all available configuration options
for renaming uploaded files.

## Installation

### Automatic Installation

 1. Go to ‚Plugins‘ > ‚Add New‘ in your WordPress admin panel
 2. Search for ‚DH – Rename Uploaded Files‘
 3. Click ‚Install Now‘ and then ‚Activate‘ the plugin
 4. Go to ‚Settings‘ > ‚DH – Rename Uploaded Files‘ to configure the plugin

### Manual Installation

 1. Download the plugin zip file
 2. Go to ‚Plugins‘ > ‚Add New‘ > ‚Upload Plugin‘ in WordPress
 3. Upload the zip file and click ‚Install Now‘
 4. After installation, click ‚Activate Plugin‘
 5. Go to ‚Settings‘ > ‚DH – Rename Uploaded Files‘ to configure the plugin

## Rezensionen

![](https://secure.gravatar.com/avatar/ff32af0797217e231ecb1e2d46473b0bc3f2a79deae71f4db5079bc7ae6f27c7?
s=60&d=retro&r=g)

### 󠀁[Works perfeclty!](https://wordpress.org/support/topic/works-perfeclty-2/)󠁿

 [jubilo](https://profiles.wordpress.org/jubilo/) 7. Mai 2022 1 Antwort

Works perfeclty!

 [ 1 Rezension lesen ](https://wordpress.org/support/plugin/dh-rename-uploaded-files/reviews/)

## Mitwirkende und Entwickler

„DH – Rename Uploaded Files“ ist Open-Source-Software. Folgende Menschen haben an
diesem Plugin mitgewirkt:

Mitwirkende

 *   [ Dannie Herdyawan ](https://profiles.wordpress.org/k0z3y/)

[Übersetze „DH – Rename Uploaded Files“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/dh-rename-uploaded-files)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/dh-rename-uploaded-files/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/dh-rename-uploaded-files/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/dh-rename-uploaded-files/)
per [RSS](https://plugins.trac.wordpress.org/log/dh-rename-uploaded-files/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 4

### Added

 * Added security check to prevent direct file access
 * Added proper input validation for empty filenames
 * Added proper documentation for the main function with `@param` and `@return` 
   tags

### Changed

 * Restructured code using switch statement for better readability and maintainability
 * Optimized variable usage to avoid redundant operations
 * Improved code organization and indentation
 * Enhanced error handling for file renaming operations
 * Updated default case handling in the switch statement

### Fixed

 * Fixed potential issues with undefined array keys using null coalescing operator
 * Fixed code style to follow WordPress coding standards
 * Fixed potential edge cases in file extension handling

### Removed

 * Removed redundant global variable usage
 * Removed duplicate code blocks by consolidating logic

### Security

 * Added ABSPATH check to prevent direct file access
 * Improved sanitization of file names
 * Added proper escaping for file paths

### Performance

 * Optimized string operations
 * Reduced redundant function calls
 * Improved memory usage by reusing variables

### Compatibility

 * Maintained backward compatibility with all existing settings
 * Ensured compatibility with WordPress 6.5+
 * Tested with PHP 8.0+

### Developer Notes

 * The plugin now follows better coding standards
 * Improved filter hooks documentation
 * Better separation of concerns in the code

#### 3

 * Fix some bugs.

#### 2

 * Fix some bugs.
 * Compatible with WordPress 6.

#### 1.0.1

 * Fix some bugs.

#### 1.0.0

 * First release.

## Meta

 *  Version **4**
 *  Zuletzt aktualisiert **vor 1 Jahr**
 *  Aktive Installationen **weniger als 10**
 *  WordPress-Version ** 6.0 oder höher **
 *  Getestet bis **6.6.10**
 *  PHP-Version ** 7.4 oder höher **
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/dh-rename-uploaded-files/)
 * Schlagwörter
 * [files](https://de.wordpress.org/plugins/tags/files/)[media](https://de.wordpress.org/plugins/tags/media/)
   [rename](https://de.wordpress.org/plugins/tags/rename/)[security](https://de.wordpress.org/plugins/tags/security/)
   [upload](https://de.wordpress.org/plugins/tags/upload/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/dh-rename-uploaded-files/advanced/)

## Bewertungen

 5 von 5 Sternen.

 *  [  1 5-Sterne-Rezension     ](https://wordpress.org/support/plugin/dh-rename-uploaded-files/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/dh-rename-uploaded-files/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/dh-rename-uploaded-files/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/dh-rename-uploaded-files/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/dh-rename-uploaded-files/reviews/?filter=1)

[Deine Rezension](https://wordpress.org/support/plugin/dh-rename-uploaded-files/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/dh-rename-uploaded-files/reviews/)

## Mitwirkende

 *   [ Dannie Herdyawan ](https://profiles.wordpress.org/k0z3y/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/dh-rename-uploaded-files/)

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](https://www.paypal.com/paypalme/DannieHerdyawan)