BACK TO DIRECTORY

Relative Image URLs

by Scott Werner

4.2
(5 ratings)

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.

Screenshots

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.

Plugin Details

Active Installs
1K+
Total Downloads
24,291
Version
2.0
Requires WP
2.0.2
Requires PHP
Tested Up To
4.0.38
Added
2010-04-07
Last Updated
2014-09-04 10:21pm GMT

Ratings

5
4
4
0
3
0
2
0
1
1