Website not working, linked correctly ? |
Website not working, linked correctly ? |
Focus1 |
Jul 15 2012, 01:43 PM
Post
#1
|
Newbie Group: Members Posts: 18 Joined: 24-March 12 Member No.: 16,776 |
Hi guys just looking to be pointed in the right direction here if possible please
Basically I've just completed my first website that is could be fit for the web and I've purchased my 1 year subscription from ovh.fr and as per guide on their site I uploaded all my files to the 'www' folder. After this nothing happened so from some googling I figured I have to rename my home page to index.html. I did this and my home page now appears live on the web but when I click a link on my page it just says, 'page not found, link broken'. This is the way I have my pages linked on my hard drive CODE <ul> <li><a href="Home.html">Home</a></li> <li><a href="Howitworks.html">How It Works</a></li> <li><a href="Contactus.html">Contact Us</a></li> <li><a href="Faq.html">F.A.Q</a></li> </ul> Should I rename the home page to index.html here, and is that all I have to do, or as the site is now running live will I have to put 'www.' in the links address ? I'm a bit confused here to say the least so any help much appreciated I did only purchase the hosting today, and it says it could take from 24/48 hours for the dns to be sorted, so that could possibly be the issue too ? cheers guys Focus |
pandy |
Jul 15 2012, 03:33 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
If you have renamed Home.html to index.html, you must change all links to it accordingly. What about the other links? I got the impression they didn't work either, but maybe I misunderstood. If they don't work, are the files named in mixed case as you have written in the links? Most servers don't run on Windows and Windows is just about the only OS that isn't case sensitive.
You don't need to use www. Relative URLs work on- and offline as long as the file can be found where you say it is. You don't need to use www in full URLs either unless the server is seriously backwards. www is just a convention from days passed. http:// is what's important in a full URL. But, you use relative URLs, so none of that. |
Focus1 |
Jul 16 2012, 06:41 PM
Post
#3
|
Newbie Group: Members Posts: 18 Joined: 24-March 12 Member No.: 16,776 |
If you have renamed Home.html to index.html, you must change all links to it accordingly. What about the other links? I got the impression they didn't work either, but maybe I misunderstood. If they don't work, are the files named in mixed case as you have written in the links? Most servers don't run on Windows and Windows is just about the only OS that isn't case sensitive. You don't need to use www. Relative URLs work on- and offline as long as the file can be found where you say it is. You don't need to use www in full URLs either unless the server is seriously backwards. www is just a convention from days passed. http:// is what's important in a full URL. But, you use relative URLs, so none of that. Hi Pandy hope you're well, and thanks for the help as usual Seems to have been the dns as it has started working fully just there awhile ago. At least I will know for the future as this was my first time sending a site live, it had me a little confused and my reference book that we were advised to purchase for learning HTML didn't help too much as it was advising using http in the address etc.. when all I really had to do was rename the home page to index.html. Anyway I'm sorted now so now onto new ventures, I'll start a new thread for that as it has nothing to do with this topic. Many thanks Focus This post has been edited by Focus1: Jul 16 2012, 06:42 PM |
rdavis42@ymail.com |
Jul 25 2012, 08:39 PM
Post
#4
|
Group: Members Posts: 5 Joined: 11-July 12 Member No.: 17,416 |
I have same problem and now I fix it because of your help here guys!thanks!
This post has been edited by rdavis42@ymail.com: Jul 25 2012, 08:40 PM |
Lo-Fi Version | Time is now: 18th April 2024 - 09:56 PM |