In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you 8 points that must be known when designing the URL of the website. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
When designing URL, we should start with the following points:
The shorter the 1.URL, the better.
This is mainly for the sake of user experience. In fact, there is no problem for search engines with no more than 1000 letters, but if you do not consider user experience and really use a very long URL, users will seem to be in some trouble and will even leave your site right away. Someone has done an experiment in this respect. In search engine search results, a shorter URL appears under a longer URL. The click-through rate of the shorter URL is 2.5 times higher than that of the longer URL. And the shorter URL is also more conducive to replication and transmission. People prefer simple things, especially in modern times. People don't like things that are too complicated. They can be simple. So the URL of the website should be as short as possible.
Avoid too many parameters in 2.URL
In the design of URL, we try to use static URL. Although modern mainstream search engines can well index dynamic web pages with parameters, static URL still has certain advantages. If for some reason, static URL cannot be used and dynamic URL has to be used, the design is that the parameters in URL should be reduced as much as possible, not more than three. In general, 2-3 parameters in URL will be fine. Too many parameters not only look difficult for users, but also cause problems in indexing search engines. Therefore, if you can use static, use static URL, and keep it as short as possible.
3. There are as few directory levels as possible.
The directory hierarchy here refers to the physical directory structure, not the logical structure. When we design the URL, the structure of the website should reduce the directory level as much as possible, the level should not be too deep, and it is generally recommended not to exceed three layers, especially for some new stations, the weight is low, search engine spiders crawl very shallow, deeper pages, spiders are likely not to crawl Therefore, we should try our best to reduce the directory level and shorten the URL. According to observation, Baidu especially likes pages with fewer directory levels.
4. File name and directory name should be descriptive
File names and directory names should be descriptive, so that users can not only see at a glance what the page is about, more user-friendly, and search engines also like this kind of URL. For example, a directory about news, we can name it news. Users will probably know what the directory is about when they see the name of the directory.
5.URL contains keywords
Keywords appear in URL, can improve the relevance, especially for optimizing English websites, this is very important, and keywords appear in the URL as far as possible, that is to say, they appear in the domain name *, followed by the directory name, and * in the file name. One thing to pay attention to is that there is no keyword accumulation. For example, the SEO blog of many friends contains SEO in the domain name of the website, which has a certain weight advantage for the ranking of keywords.
All letters in 6.URL are lowercase
There are the following reasons:
(1) all in lowercase, it is easier for users to enter, and there is no need to make errors because of mixed case. This is people's input habit.
(2) some servers are case-sensitive, such as Lunix servers, so that when webmasters do links or user input, there will be 404 errors due to case problems, and robots is also case-sensitive, if the case is wrong, it may cause serious problems that cannot be included. So it is recommended that all URL be lowercase.
7. The use of hyphens
If there are two words in the directory or file name, it is generally recommended that the middle be separated by an underscore (-). Remember not to use an underscore or other characters. In search engines, it treats the underscore as a space, while the underscore is ignored, for example, seo-lunwen will be read as seo and lunwen. This is a more friendly way to write.
8. Do you use directory form or file form?
Most CMS systems can set the URL of the page to directory or file form. Some friends think that the weight of directory form is a little higher than that of file form. No matter which form of URL is used, the weight should not be much different, and the weight difference between the two can be ignored. Using directory form has an advantage. If you change other programming languages in the future, URL can not be changed. Also do not need to go through special processing, and the file form of URL may change the file name extension, need to do some URL rewriting processing.
Above are eight problems that should be paid attention to when designing the URL of a website. When designing a URL, you can only strictly follow these points. The URL of the website is well designed, which is not only conducive to the crawling of spiders, but also looks simple and easy for users to understand.
These are the eight points that must be known when designing the URL of the website shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.