My host, which happens to host my blog for free, has quite a couple of domains. Last time, ikimashou.net was bought over by a squatter, and even though my blog was still running at dasaku.net, the image and resource links all pointed to files on ikimashou.net. I've thought a bit about changing all the links in my blogposts to /wp-content/uploads/(date) instead of http://ritchan.dasaku.net/wp-content/uploads/(date) so that in case dasaku.net is unavailable or I wish to move my content elsewhere, I won't be dependent on a single host.
Is this good practice, or is there another way? Because I imported the posts to my local XAMPP installation, and whenever I use the relative path /wp-content/uploads/(date), it forgets that it's actually at http://localhost/wordpress/ instead of http://localhost... thus breaking it again. Any fixes?
Also, is there a quick and easy way to go through my year's worth of posts and replace all the links?