Relative Image URLs
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/exam
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.
A closer look.
- 01Upload the ‘No Image Link’ folder to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
Frequently asked questions.
Do I have to set any options?
Nope. It’s ready to go right out of the box.
Why would I want relative image URLs?
A few reasons:
- Makes it easier to move your site if you ever want to switch domains.
- If you have an install as a development/testing version of your site that you migrate frequently.
- Reduces HTTP requests, which will speed up page load time.