4 points to be aware of when sharing URL construction

Source: Internet
Author: User
Tags session id

The URL in the encyclopedia is the interpretation of the Uniform Resource Locator, in fact, said the simple point is the web address, some stationmaster may say a website has what needs attention, but I want to say don't underestimate this URL, choose the words it to the website optimization can play a vital role, then optimize when we should pay attention to which problems? Now I'll explain it to you.

  A URL construction of fine short, static

Although the official regulations, as long as the URL is not more than 1000 letters are legal. But the URL setting is obviously not so many words, and in the actual operation, the author found that many of the site's pages have used a lot of parameters, resulting in the site URL is very long, not only users can not get the additional useful information, but also affect the speed of the page access, resulting in the user experience is not high. Someone has done a survey to say that the short URL click rate is 2.5 times times longer URL, and now many people like simplicity, a lengthy URL is bound to be detrimental to the spread of the site.

Second, there is also the problem that URLs need to be static. Although in the actual operation process, we sometimes reluctantly choose some dynamic URL, but only to the opportunity I still suggest you choose static URL, although the dynamic URL for the search engine impact is not very large, but static URL can effectively shorten the length of the address, It will also allow the site to effectively avoid the risk of falling into the search engine black hole.

However, the design of static URL also has a certain rigid rules, that is, for the URL in the number of parameters can be less, the general situation like 3 or so, a lot of words will slow down the speed of Web site access and address loading.

  The structure of two URLs is clearly clarified

Webmasters do not think that only the site content construction will exist user experience this problem, the construction of the URL also needs to pay attention to user experience. Therefore, we design their own site URL, we must combine the overall structure of the site and function settings to do, to spiders and users a clear URL page, so that everyone "not see its people first smell its voice", ahead of time to predict the main content of the site, reduce the rate of jump out of the site.

  

In addition, the construction of the URL to purify their own hub words, analysis and summary of some key points integrated in the URL, will be really important words attached to the path, do not make even their own do not know what the site content is the URL. Like the example above, I embed the word "number second" and the "Butler" hub in the URL.

Finally, the directory hierarchy, where I say the directory level is actually refers to the physical directory construction, rather than the logical structure, we stop the design of the URL, the construction of the site should be as far as possible to reduce the directory level, the level can not be too deep, the general initiative not to go beyond the three-storey, especially for some new stations, the weight is low, Search engine spiders crawl very shallow, deeper pages, spiders are probably not going to crawl, so to make the directory chromatography as little as possible.

  Three URL writing standardization

1 Some stationmaster will add ";" in the URL of their website., "," and other characters, I personally do not know what they do for what, may be the uniqueness of the URL, but I would like to tell you that although the URL to add the above special symbols can be opened in the browser, but we do in the promotion of the time, These links through the dissemination of the user will not be opened, which will make our website to promote the effect of a big discount.

2 Speaking of which I have to remind everyone that a complete URL is required to add "/", such as http://www.xxx.com/, only such a written URL can focus on the weight of the site itself, so we do in the chain as well as the article within the chain, must write on this scale of the band " "The URL of the symbol, though very small, is of great utility.

3 It is best to use uniform uppercase and lowercase characters in the URL, all lower case best. Sometimes the case of different URLs is treated as 2 different pages, resulting in confusion or weight separation.

  Four other aspects

  1.url301 Jump Settings

If the website suddenly revision, this time we must carry on 301 jumps. Because 301 jump is to represent the permanent address of the changes, the site will suddenly change the version of the spider can not find the north, this time to make a 301 jump to tell spiders our site has been changed to attract spiders to the new URL, let it index the new site update content, Avoid the time when we modify the site URL causes the site weight to drop.

PS: The old and new URLs will usually wait for a long time, in this time must be calm to look at all kinds of data, you know.

  2. One page corresponds to a URL

Sometimes we will encounter multiple URL address to the same page, in fact, this situation is very common, especially when I want to shape the brand effect, will adopt COM, CN, net and other domain names, to create a new access path. For example, www.anbncn.com and www.abc.com (random examples) although pointing to the same page but in the search engine eyes is two links, it will inevitably lead to the spread of the weight of the site.

But we also know that if you do this URL will spread the weight of the site, and the search engine will not recognize multiple URLs, which also caused a few URL addresses can only have one is recommended, the page weight will be greatly affected. However, we in the optimization of the time to pay attention to the skills can avoid this situation, before I also consulted the webmaster asked this question, and according to their answers summed up three points:

(1) Do not put the session ID, statistical code, such as easy to cause duplication of unnecessary content into the URL

(2) The use of robots.txt prohibit search engine spiders crawl do not show the user the abnormal form of the URL

(3) For some abnormal page use 301 jump to the normal page

The above is I personally think the URL construction should pay attention to a few requirements, in this share to everyone, I hope you can have a help. This article by http://www.llxhw.com swallowed up the latest chapter list of the stars to write, Welcome to reprint, thank you.



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.