Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble with uploaded site & links/images

Status
Not open for further replies.

lifeguard23

Technical User
May 14, 2007
1
CA
I'm going to try to explain this as clear as possible using example, even though I'm really not exactly sure what the problem is.

I've redone website I have using Dreamweaver. This is the first time I've used anything other than FrontPage). I've actually got the page exactly how I want it (locally), however I'm having some troubles with the links and images displaying properly now that it's been uploaded. Some information regarding the site:
Under Site Manager:
Local Root Folder: d:\my documents\New Web
Default Images folder:d:\my documents\New Web\images
Links Relative to: Site Root
http address:
Other Info:
Registered Domain Name: (redirection to my host)
Host: (it's a friend's site who has allowed me to use an area (the ~lifeguard directory) for free hence I don't want to switch it over to somewhere else.
Test Host: lifeguardhome.fateback.com (works perfect!!)

Like I said, all the pages work fine when I open them up locally. SO then I decided I would upload the files to a free site for testing (before I overwrote the current site). So I uploaded everything to and EVERYTHING WORKS PERFECT (note: I haven't uploaded everything under the downloads section, but obviously all the links and stuff that HAVE been uploaded work fine).

So then I uploaded to my current server ( and although all the pages show up, none of the links or images are showing up properly. The best I can figure is that is has something to do with the "/~lifeguard" folder off of the actual host ( This seems to be adding an extra sublevel into the equation which is wrecking all the links). Here are some direct links to different areas of the site so you can check them out and see if you can figure out the problem:


As you can see when you hover over a link on the right hand side (all my sublinks), they DO NOT reference the /~lifeguard/ subfolder which is necessary for the link to work. In the fateback.com site I mentioned earlier there is no /~lifeguard/ subfolder so everything works fine.

Does anyone have ANY help on how I can get Dramweaver to correct this? It's obviously very frustrating.

Thanks in advance.
 
lifeguard23 said:
The best I can figure is that is has something to do with the "/~lifeguard" folder off of the actual host ( This seems to be adding an extra sublevel into the equation which is wrecking all the links).

That's certainly what the problem appears to be. Relative links as you have them ../images/upfront.gif work just fine if your images folder is off the main folder (in this case the main folder is
You may try to change the references to
Code:
../[b]~lifeguard/[/b]images/upfront.gif
for your testing. Keep in mind that you'll need to change it back when you move to your permanent site.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top