Jen76 Posted September 27, 2005 Share Posted September 27, 2005 Ok, bear with me, I've got a cold and am not feeling good, so not thinking straight. Anyways, here's my dilemna...I've got a client that I'm moving over 12 websites from their current hosting to a semi-dedicated server here on TCH. The html for the current websites uses code like this: <img src="/images/logo.gif"/> or <a href="/index.html>home</a> but its not working on the new server, aka the image is not showing, but it shows if I change the code to this: <img src="images/logo.gif"/> or <a href="index.html>home</a> Why is it doing this, and is there a way that I can fix the problem without going thru over 200 webpages and changing the code for every image and hyperlink??????????????? Please help!!!! My head hurts and I just wanna nap, but I gotta get this finished. Thanks!!! Jen JM Dragon Consulting Quote Link to comment Share on other sites More sharing options...
MikeJ Posted September 27, 2005 Share Posted September 27, 2005 The html for the current websites uses code like this:<img src="/images/logo.gif"/> or <a href="/index.html>home</a> If you are using serverXX.totalchoicehosting.com/~client/ to preview the sites before changing the DNS, absolute links like that won't work (because accessing the site that way, their public_html is not the document root), but they will work when the domain points to them and they are accessed the regular way via www.yourclientdomain.com. I'm guessing that's the problem you are seeing. Quote Link to comment Share on other sites More sharing options...
Jen76 Posted September 27, 2005 Author Share Posted September 27, 2005 Ahhh I was beginning to wondfer if that was the issue...thanks so much Mike! Goes to show I shouldn't be doing this stuff when I'm sick haha!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.