[wp-hackers] "Masking" a domain name in a wordpress install

Otto otto at ottodestruct.com
Wed Mar 3 18:32:39 UTC 2010


How would you refer to the image?

You could do something like it with a shortcode, but you still need a
way to uniquely identify the image. Post ID's change when moving blog
content around.

-Otto



On Wed, Mar 3, 2010 at 12:05 PM, Matthew Barr <mbarr at interactiveone.com> wrote:
> In this vein:   Has anyone ever considered switching the img tags in posts to be constructed vs stored statically?  Any reason they couldn't just be built with the $site_url at the time, vs the $site_url at the time of the insertion into the post?
>
>
> It would fix one of the largest problems w/ moving a site from one location (domain) to another.


More information about the wp-hackers mailing list