Linking in Mirror Site

wordpress

#1

How do I avoid broken links when I switch a mirror site to a primary site?

I am moving to Dreamhost from another host.
I have created a mirror site on Dreamhost, using WordPress.

Mirror site is: http://jackiecraven.distantdwellings.com
The site I’m moving is: http://jackiecraven.com

When my mirror site is ready, I’ll change the DNS records at my old host to point the “JackieCraven” domain to Dreamhost. Then I’ll delete my mirror site.

I’m worried that my internal links will not work after I make the switch.

So… for example, if I want to link to a post titled “travel-writing”, which type of link path should I use?

THIS?
http://jackiecraven.distantdwellings.com
/travel-writing/

OR THIS?
/travel-writing/

OR THIS?
travel-writing/

OR SOMETHING ELSE???

I also have the same question about images. What ‘img sc’ path do I use to avoid broken images after switching from a mirror site to a primary site?

Thank you!


#2

It should always be relative links, so exclude the http and domain name, but keep the leading slash. Same goes for img src links.