I'm good at website technology, but I often have contact with website construction or website operations. In fact, I have always wanted to write an article about website directories. I may not be able to write anything, but in order to make myself summarized, I still try to write about the role and use of the directory structure in SEO. What is a website directory? The directory structure of a website is divided into "physical structure" and "logical structure". The physical structure refers to the real location displayed by all directories stored on the hard disk. The website directory is actually the structure of the folders and files created when the website is built. It is similar to the folders in our computer system disks. The directory structure of the files contained in the folders is different from the physical structure of the website. The logic of the website Structure is also called link structure, which mainly refers to the logical structure or link structure formed by internal links in web pages.
Some SEO enthusiasts may think that website directories play a small role in SEO, but I personally don’t think so. I have always felt that success or failure depends on the details. Generally speaking, the lighter the website directory, the better, and the more intuitive it is. For small and medium-sized enterprise websites, a flat directory is generally used, that is, the files of the website are directly under the root directory of the main domain name. In fact, the flat directory format is It is ideal for search engines. SE can traverse it as long as it visits once. However, for large websites with many content pages, the flat structure is obviously unable to cope with it. Generally speaking, I recommend that two to three levels of directories are better. This multi-level directory is also called a tree structure. That is, the root directory is divided into multiple channels or columns according to needs, and then the ultimate content web pages belonging to this directory are stored under each directory. The advantage of this is that it is easy to maintain, but compared with the flat structure, the tree structure SE crawling is relatively difficult.
For the optimization of columns, it is recommended to use directory names with clear meaning when naming columns, and create subdirectories according to different website columns. For example, pictures can be placed in /image/, and CSS files can be placed in the /css/ directory. Try to Do not use Chinese names directly. For Google, it is recommended to use English names. For Baidu, it is recommended to use full names. Directory names should not be too long and should be as short and intuitive as possible. For example, my blog has a column called "Website Optimization". For Google, I can use / seo/, for Baidu I can use /website optimization/ or /wangzhan-youhua/, which can be divided by the separator "-". Directory names should not only be concise and standardized, but also be unified. For example, if your column directory names are all in Chinese, then all of them should be named in Chinese. If they are in English, they should all be named in English. At the same time, in order to further improve SEO performance, it is recommended to use keywords when naming the directory and put the keywords in the directory to increase the weight of the keywords.
A three-tier directory is not necessarily worth it. The directory is three-tier. In some sense, the three-tier directory can be regarded as a second-tier directory. For example, if an inner page of your website has a link on the homepage of the website, then this inner page It is in the secondary directory and will be crawled by search engines first. Regarding the SEO knowledge that individuals have learned, the weight of the homepage is higher than the weight of the second-level directory, the weight of the second-level directory is higher than the weight of the third-level directory, and the weight of the third-level directory is higher than the weight of the final page. In the same way, when we are doing website ranking, if most of the results for the target keyword in the front are page-level competition, then we can use the directory form to compete with it. If the results are mostly in the directory form, we can use the main domain name form. To compete, if the top results are all websites in the form of primary domain names, then we have to compete based on website content and the overall weight of the website. The relationship between the primary domain name and directories and directory files can be said to be inextricably linked. The increase in the weight of the primary domain name can increase the weight of the secondary directory. The increase in the weight of the secondary directory can increase the weight of the third-level directory. Increasing the weight of the directory can increase the weight of the content page. This article comes from Shenzhen SEO http://www.zhsem.com/ Please indicate the originality when reprinting, thank you!
Editor in charge: Chen Long Author Xiao Wuming’s personal space