|
#1
|
|||
|
|||
|
I have been learning html for a while now and feel like I am ready to start my own website. I am having a hard time understanding how to use the host server though.
I'm not even sure how to word my question! I am having trouble understanding the logic of how the server decides which pages to show. I understand that my main site has to be index.html and that that is stored in my public www folder. If I have say a page2.html, do I link to that file from my index.html file? Can anyone point me in the direction of a good tutorial about where to put files in the file manager? Thanks! Marie |
|
#2
|
||||
|
||||
|
Yes, you would need to link the other pages from your site. You can use whatever names you want but it is worth noting that filenames and folder names are case sensitive in linux. Most any HTML tutorial site would have the syntax needed to link to the pages. All files you want to view on the internet should be in your public_html folder or a folder within it. The www folder is a symbolic link (sort of like a shortcut in Windows) to the public_html folder.
|
|
#3
|
||||
|
||||
|
By default an index.html or index.php will show from within any directory you goto in the browser. No one will even know that there are other pages or files in that directory unless you make them available through links.
Most website design tools handle the majority of this for you and it is by far the best way to learn. Once you have built a site in a program like dreamweaver and upload it you will see how the file hierarchy works. |
|
#4
|
||||
|
||||
|
Quote:
Perhaps the most important issue is the issue of using absolute vs relative URL links. Generally speaking, the latter are preferred for several reasons which are discussed (amongst other things) in almost all on line site building tutorials. You'll find some very basic disussion of this and other related issues here. |
|
#5
|
|||
|
|||
|
Quote:
For example, if you have a knitting site with a potholder page linked from index.html, these two anchor tags are not equivalent from a SEO perspective: Code:
<a href="potholders.html">blah</a> and <a href="/we-sell-custom-made-potholders/potholders.html">blah</a> |
|
#6
|
|||
|
|||
|
If you feel confident with html, Why don't you get a free css template, Open the template up in your web browser (index.html file), Then with say notepad++, Edit the index.html file, Save the changes, Re-fresh in your browser to see the changes.
There are also some great free ftp programs to use for uploading files to your public_html/ if you have ftp support (coreftplite). All the best |
|
#7
|
||||
|
||||
|
You did notice, didn't you, that this thread is almost two years old?
|
|
#8
|
|||
|
|||
|
Sorry - Got carried away.
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Noobie Questions: backing up data and hosting multiple sites | bigmike | Shared Hosting Support | 11 | 07-05-2008 08:15 PM |
| Noobie again: Hostgator? Joomla? FTP? | AnneBean.com | Shared Hosting Support | 2 | 07-02-2008 03:53 PM |
| Last noobie questinfor a while- I hope | lumpy50 | Shared Hosting Support | 2 | 06-22-2007 12:21 AM |
| Noobie to hosting | lumpy50 | Shared Hosting Support | 2 | 06-21-2007 06:02 PM |
All times are GMT -5. The time now is 07:36 AM.










