Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the problems that should be paid attention to in website URL design?

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you what should be paid attention to in the URL design of the website. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The shorter the 1.URL, the better.

This is mainly for the sake of the user. For search engines, as long as the URL is no more than 1000 letters, it is no problem. But if you really use a few hundred letters of URL, the user seems to have a lot of trouble. Someone has done a search results click experiment, when a shorter URL appears under a longer URL, the click rate of the short URL is 2.5 times higher than that of the long URL.

In addition, short URL is also conducive to transmission and replication. When the webmaster makes a link, he usually copies URL directly. There will be no problem with short URL, long URL will be hard to copy, or it may be incomplete, resulting in 404 errors.

two。 Avoid too many parameters

Use static URL whenever possible. If it is not technically possible, dynamic URL must be used and parameters should be minimized. Generally recommended within 2-3 parameters. Users are dazzled by too many parameters, which may also cause problems in inclusion.

3. There are as few directory levels as possible.

This refers to the physical directory structure. Of course, the directory hierarchy is related to the entire classification structure of the site. The more the number of classification layers, the more directory levels are bound to increase. Use as few directory hierarchies as possible, especially when static UAL. According to observation, Baidu especially likes pages with few directory levels.

Of course, this is not to suggest that we put all the pages under the root directory, in that case, websites with more than a few hundred pages will not be easy to manage, not only the search engine can not understand the attribution relationship from the directory level. I'm afraid it's not easy for the webmaster to tell which page belongs to which category.

4. File and directory names are descriptive

Especially for English websites, directories and file names should be descriptive, so that users can know what the URL content should be at a glance.

5. URL contains keywords

When keywords appear in URL, they can also improve page relevance and contribute a little bit to ranking. The higher the keyword appears, the better, that is to say, it is best to appear in the domain name, the second in the directory name, and the least effective in the file name. However, do not accumulate in order to appear keywords.

6. All lowercase letters

There are several reasons for this.

(1) all lowercase is easy to enter manually and will not make mistakes due to mixing uppercase and lowercase.

(2) some servers are case sensitive.

7. Hyphen use

It is generally recommended that words in a directory or file name be separated by a dash (-), rather than an underscore or other weirder letters. Search engines treat the dashes in URL as spaces, while underlines are ignored.

8. Directory form or file form?

Most CMS enterprise site building systems, such as VictronCMS, can set the page URL to directory or file form, which has no great impact on the ranking. Some people think that the weight of the directory form is slightly higher, but it can not be verified, even if the weight is a little higher, it should be minimal.

One of the advantages of the directory form is that if the website changes the programming language in the future, UAL does not have to change or go through special processing. URL in the form of a file may change the file extension unless it is rewritten by URL.

Thank you for reading! This is the end of the article on "what should be paid attention to in website URL design". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 259

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report