Learning to build a station should know: Website file naming code

Source: Internet
Author: User
Tags domain name domain name server root directory
Beginner's | standard

The principle of directory establishment: Provide the clearest and easiest access structure at the lowest level.

The root directory.

The root directory is the directory where the index file that the DNS domain name server points to is stored.

The FTP upload directory for the server defaults to HTML

root directory Files

The root directory only allows you to store index.html and main.html files, as well as other required system files.

Each language version is stored in a separate directory. The existing version language is set to:

Simplified Chinese \GB

Traditional Chinese \big5

English \en

Japanese \JP

Each main function (main menu) establishes a corresponding independent directory.

The images under the root directory are stored in the public picture directory, and the private pictures in each directory are stored in their respective separate images directories.

For example: \menu1\images

\menu2\images

All JS files are stored in the root directory of the unified directory \script

All CSS files are stored in the root directory in the style directory

All CGI programs are stored in the root directory of the \cgi_bin directory



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.