First: Directory Structure A clear and concise directory structure and standardized naming are not only beneficial to user experience and URL communication, but also a manifestation of search engine friendliness, which is specifically reflected in the following aspects: 1. Directory access level Directory access level refers to how many levels it takes to access the final page. When the website directory level is greater than 3 levels, the second-level domain name method should be used to expand the level. Because the first-level domain name can be regarded as an independent website directory hierarchy 2. Directory and file naming is based on the principle that keywords are omnipresent. Keywords can be used in directory names and file names, but if it is a keyword group, they need to be separated by separators. We often use hyphens "-" and underscores "_" to separate them, and space codes "%20" are often present in URLs. Therefore, if "hostease" is used as the file name, the following three separation methods may appear> hostease-coupon.htm> hostease_coupon hmm> hostease%20coupon htm Which delimiter should be used? We can get inspiration from the naming rules of domain names. For example, when applying for a domain name, you can only use "-" but not "_" or space as a separator. From this, it can be inferred that for search engines, "-" is friendlier than space and "_". Second: URL 1. Absolute URL and relative URL 2. Dynamic URLs Third: Navigation structure 1. The main navigation is eye-catching and clear The main navigation is generally reflected as a first-level directory. Through them, users and spiders can go deeper and deeper, visiting all the links on the website instead of the images. For example, the navigation bar of the webmaster encyclopedia download site is a first-level directory, and the homepage source code is the ASPNET source code. 2. Breadcrumb Path The so-called "breadcrumbs" are metaphors for the path clues that users follow when visiting the target web page through the main navigation bar. They help users understand their location without getting lost and can easily return to the parent page and starting point. It is best to add links to each column in the channel, such as "Webmaster Encyclopedia>>Webmaster News>>Website Operations". Even if there is no specific channel source, at least a link back to the homepage should be placed on each sub-page. Including using the page's LOGO as a link, a good directory navigation can improve the website's traffic. 3. Outstanding and important content on the homepage In addition to the main column, the important content in the secondary directory should be repeatedly presented on the homepage or other sub-pages in the form of links to highlight the key points. Search engines will pay full attention to such links that appear repeatedly in a website, which is of great help in improving the page rank (PageRank). It is also an important reason why the rank of each website's homepage is generally higher than that of other pages, because each sub-page links to the homepage. 4. Use a site map Site Map is a method of assisting navigation, which mostly uses text links to speed up page loading, especially for those web pages generated by image navigation and dynamic technology. By making text links in the site map, it can make up for the risk of invisible pages caused by spider programs' inability to recognize images and dynamic web pages to a certain extent. Fourth: Structure, structure, and frame structure (Frame), including IFrame and Frame. If the web page already uses a structure, or must use a structure for some reason, the NoFrame tag must be used in the code for optimization. Think of the <NoFrame> tag as a homepage with normal text content. Include a link to the Frame page and descriptive text with keywords in the <NoFrame> </NoFrame> area. At the same time, keyword text will also appear in areas outside the structure. This way, search engines can correctly index the information within the structure. |
<<: What pitfalls should products and operations avoid?
>>: 7 essential skills for operators: Adhere to 4 principles and exercise your product thinking
Source: Dr. Curious This article has been authori...
Regarding the topic of "Why does advertising...
Apple may continue to "discontinue" som...
For automobile manufacturers, the vast China is n...
Because public domain traffic is becoming increas...
As more and more smart devices are connected to t...
Part 01 Low-Code Overview In 2014, Forrester prop...
On August 13, 2015, Xiaomi launched the Xiaomi Ro...
In his report to the 20th National Congress of th...
When many novice website operators get a website ...
Recently, Xiaomi introduced Samsung's first 6...
Chen Tingting, who has 8 years of experience in I...
Source: Healthy China Planning: Tan Jia, Wang Nin...
Has your circle of friends become cluttered with ...
Instant messaging apps and social networks, which...