Moving My Site? What about the links?

Status
Not open for further replies.
It depends on whether you have relative links or absolute links.

Relative links would be referring to a document in relation to your root directory (as explained) so the link would look like
HTML:
<a href="mydir/myfile.html"></a>
Absolute links contain the protocol and domain as well as the path to the document.
HTML:
<a href="http://www.mydomain.com/mydir/myfile.html"></a>
If your links are relative then moving to a new host on a different domain will not be an issue. At that point it's just a matter of copying the files from your FTP and uploading them to the new server.

On my site I have relative links but I am worried about absolute links to my site from other sites.
 
On my site I have relative links but I am worried about absolute links to my site from other sites.
Unfortunately, there's nothing you can do about that aside from contacting the webmaster. You could try redirects like suggested, but from a free host I'm not sure how long that would stay in place.
 
Status
Not open for further replies.
Back
Top Bottom