Comment changer l'url de l'image?
-
-
Il semble que vous utilisez le service * Photon * de `wordpress.org`.Donc,pour vous débarrasser de lapartie `http://i0.wp.com/`,vous devez la désactiver dans votreplugin * JetPack *.Ces changements cosmétiques sont-ils uniquementnécessaires ounécessairespour autre chose?It looks like you're using the *Photon* service from `wordpress.org`. So to get rid of the `http://i0.wp.com/` part, you would need to turn it off in you *JetPack* plugin. Are these cosmetic changes only or needed for something else?
- 2
- 2014-06-23
- birgire
-
Nécessaire autre chose.Ilestpossible de lefaireen tant que www.example.com/nameofimage.jpg au lieu de ce http://i0.wp.com/example.com/wp-content/uploads/imagename?Needed for something else. It is possible to make it as www.example.com/nameofimage.jpg instead of this http://i0.wp.com/example.com/wp-content/uploads/imagename?
- 0
- 2014-06-23
- Yang
-
«Autre chose»,pouvez-vousnousen direplus?Comme l'explique @birgire,ilestimpossible d'utiliser un service CDNtel que le service Jetpacks Photon'Something else', can you expand on that? As @birgire explained, it is impossible while using a CDN service such as Jetpacks Photon service
- 0
- 2014-06-23
- Tom J Nowell
-
J'ai déjà désactivé lesjetpacks.Comment créer cetype d'URLpour lesmédias -> www.example.com/mediasnameI've disabled already the jetpacks. How it possible to make this kind of url for medias -> www.example.com/mediasname
- 0
- 2014-06-23
- Yang
-
1 réponses
- votes
-
- 2014-06-23
Accédez à votre tableau debord> Paramètres> Médias de WordPress,puis décochez l'option qui dit
Organisermes dossiers dans des dossiersbasés sur lemoiset l'année
Cela lefera ressembler à:
Ensuite,pour allerplus loin,vous devezmettre àjour votrefichier config.php et ajouter soit cette ligne:
define( 'UPLOADS', 'image/'.'files' );
Cela vous donnera:
Ou ceci:
define( 'UPLOADS', ''.'files' );
...pour obtenir:
Go into your WordPress Dashboard > Settings > Media and then untick the option that says
Organize my folders into Month and Year based folders
This will make it look like:
Then to take it further you need to update you config.php file and add in either this line:
define( 'UPLOADS', 'image/'.'files' );
This will give you:
Or this:
define( 'UPLOADS', ''.'files' );
...to get:
-
Dansmesfichiers dethèmeparent?Ou l'un de ces/public_html/wp-config.php /public_html/wp-admin/setup-config.php /public_html/core_20140602-050214/wp-config.php /public_html/core_20140602-050214/wp-admin/setup-config.php /public_html/wp-content_stock/plugins/akismet/views/config.php /public_html/wp-content/plugins/akismet/views/config.phpIn my parent theme files? Or one of this /public_html/wp-config.php /public_html/wp-admin/setup-config.php /public_html/core_20140602-050214/wp-config.php /public_html/core_20140602-050214/wp-admin/setup-config.php /public_html/wp-content_stock/plugins/akismet/views/config.php /public_html/wp-content/plugins/akismet/views/config.php
- 0
- 2014-06-24
- Yang
-
Votrefichier wp-config.php seranormalement dans le répertoire racine dans lequel vous avezinstallé WordPress.Vous verrez dans le répertoire,les dossiers wp-content,wp-adminet wp-includes.Donc,dans votre cas,ce sera lebon.>/public_html/wp-config.phpYour wp-config.php file will normally be in the root directory you installed WordPress. You will see within the directory, the wp-content, wp-admin and wp-includes folders. So in your case This will be the correct one. > /public_html/wp-config.php
- 0
- 2014-06-24
- Matt Royal
Commentpuis-je changer l'URL de l'image àpartir de ceci
Dans ceci:
Ou dans ceci:
Avez-vous des suggestionspour résoudre ceproblème?