Jump to content

Recommended Posts

Posted

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

Posted
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.

Posted

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!!

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...