A brief introduction to the problems frequently committed in the URL of a website

Source: Internet
Author: User
Tags domain

Many times, when we still pay attention to the chain and content after the structure of this piece has been slowly for us on the magic spell, I believe that every friend knows the importance of the structure, in the initial stage of the site, the structure is our overall planning, the most important part of this article, On the understanding of their own structure to open a series, this series from the URL of the problem to start, say we usually in life common in those URLs set the problem, I hope more friends can communicate a lot.

 1th: When the URL outside the chain, about "/" some problems

First of all, take a look at Baidu about A5 's two-class domain name screenshot, as follows

In this picture, I marked the URL with the red line, do not know what you will feel, because in Baidu, we can directly see all the top-level domain name behind all with the suffix "/", Slash. But for our majority stationmaster, "/" in Do the domain name type outside the chain time is almost does not take, we in A5 forum, randomly extracts several outside chain URL signature, like figure

  

This is just intercepted A5 forum a friend of the screenshot, and did not bring "/", may be some friends will ask "/" meaning in the end where? below, the author simply said "/" the meaning of it, in fact, we usually do in the domain name URL ". com" and ". com/" in both, ". com "Domain name when being applied for an interview, will automatically jump to". com/", that is, the domain name in the jump problem, if you do not take the chain of"/"then for spiders, although the end result is the URL, but the way through is different, after all, after a jump process, This process is because we less add a "/" and caused by, in the SEO, see Baidu for "/" so much attention, then we all in the domain name outside the chain, why not conveniently take one?

 2nd: URL redirection, about a variety of jump problems

Most of the time, we will be all kinds of jump toss exhausted, yes, jump is trouble, if you changed the domain name, then you are facing the whole station of the jump, if you return the space, there are moving things, about 301 and 302 and so on, about access to space when the access code problem, These are all things we need to know, and here, what about these states in terms of URLs?

Generally we visit a URL, the final return of the status code has 200,301,302,404,503,500 and so on the status code, where 200 is normal access, 301 is a permanent jump, 302 is a temporary jump, 404 is the page is inaccessible, 503 is server maintenance, 5,001 is the server error, which is relative to the need to memorize knowledge.

Here, we need to focus on the most is the relationship between 301 and 302 and 200, standing in the SEO perspective, we look at a screenshot

In this picture, a domain name has a return code of 200, 302, can you know what happened inside? In fact, in which, the main domain name of 302 jump to other domain names, but the content of the page but let normal access, this is a strategic way of poly-beauty, I think it is the use of Baidu for the brand of a Web site loophole, Because Baidu for brand site will have a certain weight protection, then poly-Mei excellent product use this way, this result is caused by poly-Mei excellent products have two domain names appear in the keyword ranking, after all, 302 is not to pass the weight, but two pages appear but also participate in ranking, this is a strategy bar. But we promote the use of 301 attitude, permanent jump can let the weight of the smooth transfer, so, this is what we need to pay attention to the place, we look at the shoe net 301

  

I don't want to say much about 301, but also have a lot of friends feel that 302 may be more practical, 301 of the utility is unique, in our website, the way to express uniqueness, with absolute address, with absolute link, but, Baidu, for 301 will always be rejected, At ordinary times we do not take the WWW 301 jump to the WWW domain name is correct, but Baidu a jump, do not take the domain name of the WWW is more than the domain name of the WWW with high weight, now make everyone dare not to carry out 301, indeed, I have encountered this situation, in fact, this situation is the WWW domain name is down right , not 301 jump to the wrong, but can not be denied that the main domain name of the weight is indeed better guide, when the right time to do 301, think is not the second choice.

 3rd: The length of the URL to explain the problem and the depth of the site

In fact, this problem in the Baidu Search engine guide has also explained a little, gossip not much, directly above the figure

  

In Baidu, already very clearly indicated the role of the URL, yes, in our lives, the URL will be interpreted to the user will often improve the relevance of this page, Baidu said, as long as the user is good, will improve the weight, this point, the author is still convinced, so now efforts to do content; in fact, in our side, There are many examples, that is, the article custom URL, which is also for the user to consider, in the WP customization, in the Dede, customization, these can be very good to improve the relevance, but the length of the URL has to be grasped below, as shown in the following figure

Indeed in the Baidu search, there is about such a section, is about the length of the best explanation of the URL, this point I believe that we have no opinion. And about the depth of the site, in the above figure has been mentioned, not more than three layers, in order to access the spider map more smooth, less level is also to improve the user experience of a way, many do not say it.

These three points are the author in the URL feel can take out the problem, in the early days we will encounter, good use of the URL, you will see more opportunities to appear, Philip, http://www.thefaceshop.cc/, my website, hope to get support, come on, friends.



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.