Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
100%
5 Stars (2 votes)

Home

WP.Org

ReadMe

Support
  • Author:
    Björn Ahrens
Version: 0.2
Requires: WP 3.2
Last Updated:4478 days ago
Downloads:2710
Installations: 300+
Usage Retention:11.07%
Tags:
    dynamic image links, images, relative urls
Download Plugin Package

Dynamic Links

Released on December 16, 2011.
Download Plugin Package

Version: 0.2

Makes links to files in upload directory of wordpress in posts (e.g. images) "dynamic". Allows use of relative image URLs in Posts and makes

  • Description
  • Changelog
  • Installation


When inserting an image into a posts WordPress uses absolute urls (i.e. including domain name) for the src and href attributes of the image and associated link. This leads to problems if you change your domain (e.g. when moving from test to production environment) or if you change the base path of your upload directory. Also usage of relative URLs (i.e. absolute path to file without domain part) can reduce file size, but may not be used in feeds.

Dynamic Links replaces all links to files in the upload directory with a placeholder which is replaced again with the base path to the upload dir when the content is viewed. This way image links are dynamically adapted to changes in domain name or upload base path.

As additional option relative links can be used when content is display on your site to reduce page size (Though there are better options to do this. It's just included because it's possible). Images and links in feeds will always get the full path.

0.2

  • added multisite support (thanks to tufto for the code)
  • tested with WordPress 3.8.1

0.1

  • Initial release


Download, install, activate.

For now you have to update every post manually for the placeholders to be used. A function to do this automatically on all posts (and to revert it) is planned for the next release.


 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string vm3Frk to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.