Title: Automatic File Renamer
Author: Cellophile
Published: <strong>15 février 2022</strong>
Last modified: 23 août 2026

---

Recherche d’extensions

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

# Automatic File Renamer

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

[Télécharger](https://downloads.wordpress.org/plugin/automatic-file-renamer.0.3.0.zip)

 * [Détails](https://fr.wordpress.org/plugins/automatic-file-renamer/#description)
 * [Avis](https://fr.wordpress.org/plugins/automatic-file-renamer/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/automatic-file-renamer/#installation)
 * [Développement](https://fr.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.

## Captures d’écrans

[⌊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 !

## Avis

![](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 août 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 février 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 !

 [ Lire les 2 avis ](https://wordpress.org/support/plugin/automatic-file-renamer/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Automatic File Renamer » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

“Automatic File Renamer” a été traduit dans 5 locales. Remerciez [l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/automatic-file-renamer/contributors)
pour ses contributions.

[Traduisez « Automatic File Renamer » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/automatic-file-renamer)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/automatic-file-renamer/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/automatic-file-renamer/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/automatic-file-renamer/)
par [RSS](https://plugins.trac.wordpress.org/log/automatic-file-renamer/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 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

## Méta

 *  Version **0.3.0**
 *  Dernière mise à jour **il y a 3 mois**
 *  Installations actives **40+**
 *  Version de WordPress ** 5.6 ou plus **
 *  Testé jusqu’à **7.1.4**
 *  Version de PHP ** 7.0 ou plus **
 *  Langues
 * [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/), 
   et [Spanish (Venezuela)](https://ve.wordpress.org/plugins/automatic-file-renamer/).
 *  [Traduisez la dans votre langue](https://translate.wordpress.org/projects/wp-plugins/automatic-file-renamer)
 * Étiquettes
 * [attachment](https://fr.wordpress.org/plugins/tags/attachment/)[rename](https://fr.wordpress.org/plugins/tags/rename/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/automatic-file-renamer/advanced/)

## Évaluations

 4.5 sur 5 étoiles.

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

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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