Results 1 to 8 of 8
-
08-25-2002, 08:36 PM #1Junior Guru Wannabe
- Join Date
- Nov 2000
- Location
- New York
- Posts
- 78
How to change links easily when moving a site???
Hello!
Is there a way to change links easily when moving a web site from one webhost to another?
Thanks in advance for your responses.
WP1Webbing Along!!!
-
08-25-2002, 08:38 PM #2Web Hosting Master
- Join Date
- Nov 2001
- Location
- California
- Posts
- 1,991
Can you restate your question?
-
08-25-2002, 08:38 PM #3Web Hosting Master
- Join Date
- Apr 2002
- Location
- Philadelphia
- Posts
- 2,278
Could you be more specific?
-
08-25-2002, 08:40 PM #4Disabled
- Join Date
- Aug 2002
- Posts
- 12
what do you mean
-
08-25-2002, 08:48 PM #5Web Hosting Master
- Join Date
- May 2001
- Posts
- 8,076
Re: How to change links easily when moving a site???
Originally posted by WP1
Hello!
Is there a way to change links easily when moving a web site from one webhost to another?
Thanks in advance for your responses.
WP1http://www.batchimage.com - Offering Batch Image Processing and TIFF/PDF Software Solutions
-
08-26-2002, 12:19 PM #6New Member
- Join Date
- Aug 2002
- Posts
- 2
If links are not relative, you need to replace every instance of the initial webhost to the new webhost. If they are all static html pages, you could run some kind of script (like a perl script) to do the substitution.
-
08-27-2002, 12:58 AM #7Web Hosting Master
- Join Date
- Jan 2002
- Location
- Toronto, Ontario, Canada
- Posts
- 770
As eddy2099 pointed out, if the domain name itself isn't changing and you're merely moving the site from one host to another, you really don't have to change any links at all (e.g. http://www.a.com/b.html will be the exact same page on the new host as it is on the old one, once you upload your site). The only thing you have to change, as an41 pointed out, is any references to IP addresses and/or information specific to your old site and not your new one (e.g. a server path to a database link). Chances are, 90-95% of your content will not have to be changed. You're looking at a few minor adjustments here and there though, depending on the complexity of your site.
Is Canada the best? Noo Doot Aboot It!
"And on the eighth...day...God...created...Mankind. WHY WAS HE HAVING SUCH A BAD DAY?" -- Mick Foley
-
08-27-2002, 02:50 AM #8Web Hosting Master
- Join Date
- Jul 2002
- Location
- Sweden
- Posts
- 2,059
You can use some software like 1stpage2000 to do a search and replace on the linkpart that needs to be changed. You might also look into using relative links so you don't need to do the same thing next time.
"Stop flame-wars - Report a post"
The original Kitty Lizard