Web Hosting Talk







View Full Version : How do i change http?


JoeTownley
03-30-2002, 01:45 PM
My sincere thanks to all here who responded to my queries. May I pose yet another? I downloaded a web template from SiteKits and saved it to my desktop. I redesigned it to fit my website needs. Here's the problem. Its http is C:\WINDOWS\Desktop\Welcome to my Homepage_files.

I need it to read http://www.joetownley.com/ followed by the corresponding page to link to: "www.joetownley.com/Home", "Videos", "About", etc. when I upload it to whatever cockamamie webhost I finally settle on.

How do I change the file names w/o screwing up the function? For example: the directory name on the template for my photo is "biopic". When I monkey w/ the name I lose my photo. If I change the filename of one of the links(four in all) I cannot link to that page. Can anyone advise how I'm going to upload my page to my host:eek: w/ the correct http?

JayC
03-30-2002, 02:59 PM
I don't know anything about those particular templates or how you're working with them (what program you're using to edit them), so this is general information: most likely the templates use relative urls, so that path "C:\windows\desktop..." isn't actually in the html files. It's displayed when you view the local copy of the site in your browser because that's where that copy is. But if those same files are uploaded to your web host, as long as you are using relative urls, you'll also be able to view them there -- and in that case your domain name will be in the address box, at the point that the domain name and your account with your host are set up correctly.

This might be helpful: http://www.netmechanic.com/news/vol4/beginner_no2.htm

sam.moses
03-30-2002, 04:22 PM
Sounds like you saved them through your browser.
Here's what you do:
1: find the part that says File:///c:/something files/whatever.gif
2. Get rid of everything up to something files/
3. Your result should look like IMG SRC="somethng files/whatever.gif"

Cheers.

JoeTownley
03-30-2002, 04:43 PM
Thank you both, gentlemen especially you, JayC for that great link. It addressed exactly what my problem is.

akashik
03-30-2002, 05:13 PM
once you do get it online, it's a good idea to doublecheck those links too. Sometimes windows has a nasty habit of tacking it's dir system to them regardless of the fixes you've made. It's even happened to me once in a while while I'm moving things around and I've been at this for a while.

Greg Moore