Jump to content

Help!


Jen76
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...