PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. URL
  4. Relative Image URLs
Relative Image URLs icon

Relative Image URLs

Creates relative URLs for images when inserting into posts.

By Scott Werner·URL·Free
4.2(5 reviews)
·1.0K+ active installs·Updated 11 years ago
DownloadVisit HomepageCompare

As of April 2026, Relative Image URLs is a WordPress url plugin with 1.0K+ active installations and a 4.2/5 rating from 5 reviews. It has been downloaded 23K+ times in total. Requires WordPress 2.0.2+ and PHP false+. Available on WordPress.org since 2010. Last updated 11 years ago — may have compatibility concerns. Download volume is stable this week. Top alternative: Custom Post Type Permalinks.

4.2/55 reviews
1.0K+active installs
23K+total downloads
16 yearssince 2010

Overview

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.

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.25 reviews
5 ★
4
4 ★
0
3 ★
0
2 ★
0
1 ★
1

Recent Reviews

Does not work with Advanced Custom Fields images
by Alex R.·9 years ago

It kills all custom images sizes defined with “add_image_size” in functions.php.

No nonsense – straightforward install and operation
by snaphappyme·10 years ago

Useful and functional.

Works with WooCommerce
by thill.kencove·11 years ago

Was having trouble with the Media images being statically http://. Thought about updating the image path in the db directly, and that would probably work but would need done every time an image is changed. This was nice as it replaces the image paths for the site without need of intervention. It seemed to work on prior image uploads too. Just installed plugin and the mixed media message our customers were concerned about just disappeared!

Does what it says :)
by Josh·11 years ago

It wont retroactively fix your links, so be sure to install this early on in the game.

Fixed SSL issues
by aglaonike·12 years ago

This plugin quickly solved our SSL problems. Now all media files use https:// protocol, and the mixed content error message and the annoying exclamation mark in Firefox disappeared. Thanks for the nice work.

Download Trends

Today: 4Yesterday: 8This week: 39Period total: 2K

Compatibility

WordPress2.0.2+ requiredTested up to 4.0.38
PHPfalse+ required

Version Adoption

v2.0
100.0%

Top Alternatives to Relative Image URLs

Custom Post Type Permalinks icon
Custom Post Type Permalinks
4.8200K+ installsUpdated 4 days ago
ViewCompare
Custom Permalinks icon
Custom Permalinks
4.1100K+ installsUpdated 5 months ago
ViewCompare
Featured Image from URL (FIFU) icon
Featured Image from URL (FIFU)
4.670K+ installsUpdated 2 months ago
ViewCompare
Shortcode Redirect icon
Shortcode Redirect
4.310K+ installsUpdated 7 months ago
ViewCompare
Simple Page Redirect icon
Simple Page Redirect
510K+ installsUpdated 2 months ago
ViewCompare
View all url plugins →

Frequently Asked Questions

Changelog

2.0

  • Fixed issue with an invalid header and directory issue which caused the plugin to fail install
  • Updated WordPress version compatibility to 3.5.1
  • Added a screenshot
  • Added a FAQ
  • Updated the short description to actually be short

…and 2 more changes

View full changelog on WordPress.org

Contributors

Scott WernerScott Wernerbluelayermedia
Plugin Info
Version
2.0
Last Updated
Sep 4, 2014
WP Requires
2.0.2+
Tested Up To
4.0.38
PHP Requires
false+
Active Installs
1.0K+
Downloads
23K+
Added
Apr 7, 2010
Business
Free

Tags

urllinkimageimagesrelative

Developer

S
Scott Werner
2 plugins0.0M+ total installs
View all plugins →

Quick Compare

Relative Image URLs vs Custom Post Type Permalinks→Relative Image URLs vs Custom Permalinks→Relative Image URLs vs Featured Image from URL (FIFU)→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.