The physical structure of a
site refers to the structure of the actual directory of the web site and the location at which the document is stored.
generally speaking, the better physical structure can have two kinds, one is flat type, that is, all web pages exist under the website root directory. Like this:
all of these pages are formed at a level in the root directory to form a flat physical structure.
this is more suitable for small sites, because if too many files are placed in the root directory, the production and maintenance are more troublesome, easy to mess up.
second is a tree structure, also is the root directory is divided into a plurality of channels, or categories, directory, no matter what is the name, is a meaning, and then put them on the web that belongs to the channel in each channel below. For example, the channel is divided into:
put it in the specific content page under the channel:
The second meaning of the
web structure refers to the logical structure or link structure, that is, the logical or linked network diagram formed by the internal links of the pages.
The better thing about
is that the logical structure matches the tree type physical structure in front, that is:
home page links to all the channel home pages
home page is generally not directly linked to the content page, unless you want to push several special pages,
all channel home pages are connected to the other channel home page
channel home page is connected to the home page of the
channel home page also links to the content page of your own channel,
channel master >