Support » Plugins » Hacks » Replacing attachment url with image hotlink

  • Hi,

    I’m wondering if it’s possible to automatically replace all links to attachment pages with image hotlink.

    Some filter with preg_replace under the_content I suppose.

    /2011/08/17/post-permalink/attachment-url/
    to
    /wp-content/uploads/file.jpg

    Thanks.

  • The topic ‘Replacing attachment url with image hotlink’ is closed to new replies.