Home Plugins relative image urls
Relative Image URLs logo

Relative Image URLs

by Scott Werner on WordPress.org

Creates relative URLs for images when inserting into posts.

(5)
Shows the difference between absolute and relative image URLs in the WordPress post editor.

Shows the difference between absolute and relative image URLs in the WordPress post editor.

When inserting an image into a post, WordPress uses absolute URLs to the files. This plugin overrides that functionality and forces it to use relative URLs.

For example:

WordPress Default:
http://www.example.com/wp-content/uploads/2013/04/example.jpg

Plugin Override:
/wp-content/uploads/2013/04/example.jpg

This is particularly useful if you plan on switching domains ever as well as reducing HTTP requests.

Active installations1K+
Weekly downloads
28-45.10%
Version2.0
Last updated9/4/2014
WordPress version2.0.2
Tested up to4.0.38
Tags
imageimageslinkrelativeurl