Title: Simple Relative Content
Author: Pierre-André Boissinot
Published: <strong>19 novembre 2012</strong>
Last modified: 18 avril 2014

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://s.w.org/plugins/geopattern-icon/simple-relative-content.svg)

# Simple Relative Content

 Par [Pierre-André Boissinot](https://profiles.wordpress.org/pabois/)

[Télécharger](https://downloads.wordpress.org/plugin/simple-relative-content.zip)

 * [Détails](https://fr.wordpress.org/plugins/simple-relative-content/#description)
 * [Avis](https://fr.wordpress.org/plugins/simple-relative-content/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/simple-relative-content/#installation)
 * [Développement](https://fr.wordpress.org/plugins/simple-relative-content/#developers)

 [Support](https://wordpress.org/support/plugin/simple-relative-content/)

## Description

When you use the WordPress editor to insert a media in the content field it stores
a reference to the absolute path.
 So if you change the location of your site (by
switching from staging to production environment for example) all your paths will
be incorrect. This plugin stores relative pathes in the db instead of an absolute
path. Beware: this plugin must be activated BEFORE inserting a media into the content
field. It has no effect on the medias stored before the activation. It’s mostly 
based on the WP_SITEURL constant which should be defined in the wp_config.php file.
If this constant isn’t defined it uses the « siteurl » option value instead. If 
the plugin detects that you access the website from another location than the « 
siteurl » defined initially it can correct most of the wrong urls in the database.

Localisation of the plugin into french.

## Installation

You can use the built in installer and upgrader, or you can install the plugin manually.

 1. You can either use the automatic plugin installer or your FTP program to upload
    it to your wp-content/plugins directory
     the top-level folder. Don’t just upload
    all the php files and put them in `/wp-content/plugins/`.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. That’s it!

If you have to upgrade manually simply repeat the installation steps.

## Avis

Il n’y a aucun avis pour cette extension.

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

« Simple Relative Content » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

 *   [ Pierre-André Boissinot ](https://profiles.wordpress.org/pabois/)
 *   [ Semio Design ](https://profiles.wordpress.org/semio-design/)

[Traduisez « Simple Relative Content » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/simple-relative-content)

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

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

## Méta

 *  Version **1.0**
 *  Dernière mise à jour **il y a 13 ans**
 *  Installations actives **10+**
 *  Testé jusqu’à **3.9.40**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/simple-relative-content/)
 * Étiquettes
 * [relative](https://fr.wordpress.org/plugins/tags/relative/)[uri](https://fr.wordpress.org/plugins/tags/uri/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/simple-relative-content/advanced/)

## Évaluations

 5 sur 5 étoiles.

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

[Votre avis](https://wordpress.org/support/plugin/simple-relative-content/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/simple-relative-content/reviews/)

## Contributeurs

 *   [ Pierre-André Boissinot ](https://profiles.wordpress.org/pabois/)
 *   [ Semio Design ](https://profiles.wordpress.org/semio-design/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/simple-relative-content/)