Get the App
SLTechnology News&Howtos  ›  Development  › 

How to name the site of html

Shulou Source: shulou.com Published: 2022-06-01 10:33:51 10月03日 Update

This article mainly shows you "how to name the html site", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to name the html site" this article.

A site refers to the IP address, or URL, which is the address of standard resources on the Internet. It is unique, just like the path and file name where the file is located, there cannot be two files of the same type and the same file name under the same folder.

URL can be displayed in the search results of the search engine, so it is best to plan the directory and file naming in advance before making the website architecture. When doing SEO, you should also pay attention to the user experience. URL had better be clear and easy to remember, and then consider the impact of URL on the ranking.

The following points should be noted during the site naming process:

1. The shorter the URL, the better.

In principle, the URL is no more than 1000 letters, it can be included, but it is very difficult for users to use an address with hundreds of letters, so it is generally recommended that the URL is as short as possible, and it is best to make it convenient for users to remember the URL.

2. Avoid too many parameters

If some forums or search programs, there will be many kinds of parameters, the more parameters, the search engine spiders are more difficult to identify, and it is easy to fall into a spider trap. In this case, it is recommended that you try to use static URL or pseudo-static for URL.

3. There are fewer directory levels.

Try to use a relatively small directory level, if it is a portal level or a large website, if the directory is too deep, it is better to use a level 2 domain name instead of a deep directory.

4. Descriptive

File and directory names should be descriptive.

5. Include keywords

URL includes keywords (keyword selection steps) to improve page relevance. For example, the directory can be named in pinyin or English, and the search engine will recognize the English meaning of the directory.

6. All lowercase letters

The difference of one word may cause the whole catalog to be excluded, so it is recommended to use lowercase letters uniformly.

7. Use hyphens

Hyphens and dashes are generally used in the connection between words.

The above is all the content of the article "how to name the site of html". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Directory file site search letter same key keyword content parameter address engine search engine best user article lowercase hierarchy suggestion situation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Redmi Shulou Tech Info macOS Docker