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

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Simple Relative Content

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

[Download](https://downloads.wordpress.org/plugin/simple-relative-content.zip)

 * [Details](https://pcd.wordpress.org/plugins/simple-relative-content/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/simple-relative-content/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/simple-relative-content/#installation)
 * [Development](https://pcd.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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Simple Relative Content” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Simple Relative Content” into your language.](https://translate.wordpress.org/projects/wp-plugins/simple-relative-content)

### Interested in development?

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

## Meta

 *  Version **1.0**
 *  Last updated **12 years ago**
 *  Active installations **10+**
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/simple-relative-content/)
 * Tags
 * [relative](https://pcd.wordpress.org/plugins/tags/relative/)[uri](https://pcd.wordpress.org/plugins/tags/uri/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/simple-relative-content/advanced/)

## Ratings

 5 out of 5 stars.

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

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

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

## Contributors

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

## Support

Got something to say? Need help?

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