Many articles about on-site directory optimization say: Keep URLs as short as possible and keep URL levels as few as possible. However, webmasters, do you really understand how to calculate the level of a website? If you still judge the level of a URL by looking at the number of "/"s in the URL, then you are totally wrong. Today Huang Cong will discuss with you the issue of website directory hierarchy.
1. Long URL does not mean deep level
Many webmasters believe that www.a.com/aaa/bbb/ccc/d.html is deeper than www.a.com/bb/aa.html because the former has a longer URL and nested directories. More. However, if you understand the principle of search engines collecting web pages, you will not think so. Long URL does not mean deep level. Search engines calculate the hierarchy of URLs based on distance.
2. The number of URL layers is calculated based on distance.
Search engines generally use the breadth-first search method to collect web pages. That is to say, search engines will first collect the home page of the website, then look at what links are on the home page, and then crawl these links once, and then continue to crawl the next layer. link. Therefore, for search engines, the link on the homepage of the website is the first-level link! And the link that can be reached through the first-level link is the second-level link!! And so on, that is to say, it is not your URL The shorter the level, the shorter the level. Search engines calculate the level based on how many clicks it takes to reach a link from the homepage. If your URL does not have an incoming link on your website, its level will be infinite! Search engines will never be able to reach it. of.
3. In-site URL optimization principles
Knowing this principle, we can know that the link resources on the homepage are very valuable, because they will receive a lot of weight when they appear on the homepage. We must use these limited weights to place the web pages that need to be optimized most. Some Huang Cong listed several optimization principles for URLs on the site:
1. The more links on the homepage, the better. The content page of the long-tail keywords you want to optimize should be fixed on the homepage, because this page is closest to the homepage and has the shallowest level. Search engines will consider this webpage to be more important, and accordingly The weight given to the page is also high.
2. Be sure to ensure that each URL has at least one incoming link, because the URL without an incoming link is the deepest link.
3. Create a website map and have an entrance to the map on the homepage to ensure that every link is likely to be crawled by spiders.
The allocation of URLs within the site is a big knowledge. I hope SEOers can get some inspiration from this article. For more information on Internet marketing, please visit ( http://www.hcsem.com/ ). The author of this article is Huang Cong. You are welcome to reprint. Please indicate the source for reprinting. Thank you!
Editor in charge: Chen Long Author Huang Cong's personal space