Title: Automatic File Renamer
Author: Cellophile
Published: <strong>فووریه 15, 2022</strong>
Last modified: آقوست 23, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/automatic-file-renamer.svg)

# Automatic File Renamer

 By [Cellophile](https://profiles.wordpress.org/cellophile/)

[Download](https://downloads.wordpress.org/plugin/automatic-file-renamer.0.3.0.zip)

 * [Details](https://azb.wordpress.org/plugins/automatic-file-renamer/#description)
 * [Reviews](https://azb.wordpress.org/plugins/automatic-file-renamer/#reviews)
 *  [Installation](https://azb.wordpress.org/plugins/automatic-file-renamer/#installation)
 * [Development](https://azb.wordpress.org/plugins/automatic-file-renamer/#developers)

 [Support](https://wordpress.org/support/plugin/automatic-file-renamer/)

## Description

Automatic File Renamer let you rename with prefix or suffix media’s name, and redirect
attachment pages where you want (3 options). It let you to personalize text you 
want to add to your medias.

**Features**

 * Simple page with personnalization
 * Rename files and attachment pages during the upload.
 * Redirect attachment pages (the page that presents media only) to (1) the url 
   file, (2) to the attached page (the page where the media appears) or (3) to a
   404 error.
 * let you decide if you want to enable one or two of the options, with simple click.
 * Automatic File Rename is currently traduct in English, spanish and French.
 * For admins, choose which role can change the settings

**Basic Usage**

Once installed, the plugin will begin to rename all medias that will uploaded (and
only them, all medias still in te library will not changed).
 By default, redirection
is made to the url file, and the rename is included the name of the site.

You can modify prefix and suffix (nothing as value is possible), and change the 
redirection, or disable it if you prefer.

**Contribute**

Automatic File Rename is accessible on [framagit](https://framagit.org/Cellophile/automatic-file-renamer/).
Pull Requests welcome.

## Screenshots

[⌊screenshot-1.jpg Admin panel⌉⌊screenshot-1.jpg Admin panel⌉[

screenshot-1.jpg Admin panel

## Installation

To do a new installation of the plugin, please follow these steps

**A) by wordpress (easiest way)** 1. Download the automatic-file-rename.zip file
to your computer. 1. Go to your wordpress admin panel, and click on “add New”, and“
Upload plugin”. 1. Select the automatic-file-rename.zip file, and click on “install
now”.

**B) By ftp** 1. Download the automatic-file-rename.zip file to your computer. 1.
Unzip the file 1. Upload `automatic-file-rename` folder to the `/wp-content/plugins/`
directory 1. Activate the plugin through the ‘Plugins’ menu in WordPress

To enable/disable various features and tweak the plugin’s configuration go to _Media-
> Automatic File Renamer_.

To upgrade your installation

**A) by wordpress (easiest way)** Do the same thing that for the installation by
wordpress, and then, click on “Replace current by uploaded”.

**B) By ftp** 1. Deactivate the plugin 1. Retrieve and upload the new files (do 
steps 1. – 3. from “new installation” instructions) 1. Reactivate the plugin. Your
settings will be retained from the previous version.

## FAQ

All answers should be [here](https://unsiteavous.fr/realisations/extensions/automatic-file-renamer).

If it’s not the case, contact us !

## Reviews

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

### 󠀁[fait le travail](https://wordpress.org/support/topic/fait-le-travail-2/)󠁿

 [violettesgrandveymont](https://profiles.wordpress.org/violettesgrandveymont/) 
آقوست 2, 2024

Le plugin permet de s’éviter de trop réfléchir au SEO des médias téléversés. Mais
il faut quand même avoir réfléchi au nom de l’image avant le téléversement, c’est
mieux. Dommage qu’on ne puisse pas changer le nom du fichier en cours de route, 
même si c’est compréhensible pour éviter les liens cassés.

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

### 󠀁[Simple et efficace](https://wordpress.org/support/topic/simple-et-efficace-176/)󠁿

 [diocesegrenoblevienne](https://profiles.wordpress.org/diocesegrenoblevienne/) 
فووریه 16, 2022

Le plugin joue entièrement son rôle. Il est très facile de renommer ses fichiers.
Il ne faut pas oublier que c’est automatique, et donc que ça se fait pour tous les
fichiers… Si on veut éviter de renommer un fichier en particulier, il faut penser
à désactiver le renommage avant, mais ça se fait en un clic. Merci !

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/)

## Contributors & Developers

“Automatic File Renamer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Cellophile ](https://profiles.wordpress.org/cellophile/)

“Automatic File Renamer” has been translated into 5 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/automatic-file-renamer/contributors)
for their contributions.

[Translate “Automatic File Renamer” into your language.](https://translate.wordpress.org/projects/wp-plugins/automatic-file-renamer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/automatic-file-renamer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/automatic-file-renamer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/automatic-file-renamer/)
by [RSS](https://plugins.trac.wordpress.org/log/automatic-file-renamer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.3.0

2026.08.23
 * SECURITY added CSRF nonces on both admin settings forms * FIX add_attachment
hook was never registered (dead isset check on an undefined variable), so the attachment
page’s slug was never actually renamed after upload * FIX settings could silently
reset to their defaults whenever a saved value was empty (” or ‘0’), due to an unreliable
option-existence check * FIX assignment typo in the role capability check (“=!” 
instead of “!=”) * FIX confirmation message on the roles form never faded out, because
it shared the same id as the settings form’s confirmation * FIX role checkbox labels
were not clickable (empty id/for attributes) * FIX missing text-domain on a couple
of translatable strings * FIX version number shown in the settings page footer was
hardcoded and could drift out of sync with the plugin header * CHANGED file renaming
counter no longer scans the whole uploads folder on every upload (this was getting
slower as the media library grew) * CHANGED redesigned the settings page: clearer
layout using the full available width, CSS/JS now loaded properly via wp_enqueue_style/
wp_enqueue_script instead of inline in the HTML, fixed font sizes that were based
on viewport width and could become unreadable depending on screen resolution * CHANGED
simplified the redirection code (merged the “redirect to a 404 page” option into
the shared display function) and the settings-save logic

#### 0.2.8

2024.07.31
 * Update version of WP * Change native language in code to English *
Update of spanish, french and English translations

#### 0.2.7

2023.09.23
 * Update version of WP

#### 0.2.6

2023.03.08
 * Update version of WP and PHP

#### 0.2.5

2022.08.23
 * FIX bug of undefined variable

#### 0.2.4

2022.07.14
 * FIX bug of compatibility with other plugins, about attachment function.

#### 0.2.3

2022.05.13
 * FIX bug about any media in month’s folder

#### 0.2.2

2022.04.01
 * FIX bugs about image count and capabilites

#### 0.2.1

2022.02.24
 * FIX bug to display admin menu * ADD update translations * save by 
default admin cap.

#### 0.2.0

2022.02.24
 * ADDED admin settings to choose who can modify automatic File Renamer
options

#### 0.1.9

2022.02.16
 * ADDED script to uninstall DB records when uninstall plugin

#### 0.1.8

2022.02.15
 * FIXED bug user’s choices in database

#### 0.1.7

2022.02.15
 * FIXED Save user’s choices in database

#### 0.1.6

2022.02.15
 * CHANGED Protect user’s choices during updates

#### 0.1.5

2022.02.15
 * FIXED change in config, to suppress bug in admin panel.

#### 0.1.4

2022.02.12
 * SECURITY escape some others forgotten variables * SECURITY change 
path of required files * CHANGED replace “print” by “echo” * CHANGED correct the
readme

#### 0.1.3

2022.02.11
 * SECURITY change the sanitize functions * SECURITY change the php shortcodes*
CHANGED function name and textdomain in init hook for traduction. * CHANGED functions
names to unicity of the extension. * FIXED bug with prefix on the installation *
FIXED bug of ” ‘ ” transformation in strings prefix or suffix.

#### 0.1.2

2022.02.10
 * Create repository in wordpress.org

## Meta

 *  Version **0.3.0**
 *  Last updated **1 هفته ago**
 *  Active installations **40+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 7.0 or higher **
 *  Languages
 * [English (Canada)](https://en-ca.wordpress.org/plugins/automatic-file-renamer/),
   [English (US)](https://wordpress.org/plugins/automatic-file-renamer/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/automatic-file-renamer/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/automatic-file-renamer/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/automatic-file-renamer/), 
   و [Spanish (Venezuela)](https://ve.wordpress.org/plugins/automatic-file-renamer/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/automatic-file-renamer)
 * Tags
 * [attachment](https://azb.wordpress.org/plugins/tags/attachment/)[rename](https://azb.wordpress.org/plugins/tags/rename/)
 *  [Advanced View](https://azb.wordpress.org/plugins/automatic-file-renamer/advanced/)

## Ratings

 4.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/)

## Contributors

 *   [ Cellophile ](https://profiles.wordpress.org/cellophile/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/automatic-file-renamer/)