After the user submits the keyword query information to the search engine, the search engine will return the pages related to the keyword on the result page, which are arranged from top to bottom according to the proximity to the keyword.There are many factors that determine the page order,Beijing website productionService providerShangpin ChinaIntroduce several of the most common and important factors, including page relevance, link weight, and user behavior.
1. Page relevance Page relevance refers to the closeness of page content to the keywords queried by users, which is mainly determined by keyword matching, keyword density, keyword distribution and keyword weight labels.
>>Key matching degree The keyword matching degree refers to the matching degree between the content in page P and the keyword K submitted by the user, which is mainly determined by two factors: (1) Whether there is content similar to the query keyword K in page P, that is, whether the page content contains the keyword K. (2) How many times does the keyword K appear in page P, that is, how many keywords K exist in page P. In order to calculate the keyword matching degree, the search engine assigns a keyword matching value to each page, which is determined by the number of times the keyword appears in the page.Suppose a keyword appears once on the page, and the keyword matching value is 10;Then, if a keyword appears 10 times in the page, the keyword area assignment value=10 * 10.
If this assumption is true, the more times a keyword appears on the page (that is, the higher the word frequency), the more relevant the page will be, so that the search results will be easily manipulated by the website owner.For example, if a website wants to improve the relevance of the page, just add enough keywords to the page.
Therefore, it is extremely unreasonable to determine the page relevance only by keyword word frequency, and it needs to be determined by combining keyword density, keyword distribution, keyword weight tag and other aspects.
>>Key density In order to effectively prevent website owners from manipulating search results maliciously, search engines measure whether the word frequency of a keyword in the page is reasonable according to the keyword density value.Keyword density is the ratio of keyword word frequency to the total vocabulary of web pages.Different densities correspond to different keyword density values.
Suppose the density of a keyword on the page is 50%, and the keyword density value of the page is 20.For example, in a page whose content is camorder battery, the keyword density of camorder is 50%. For this keyword, the keyword density value of the page is 20.
>>Keyword distribution Keyword distribution refers to the position where keywords appear on the page.The presence of keywords in different positions on the page will have a certain impact on the relevance of the page.The search engine calculates the keyword distribution value of the page by recording the position where the keyword appears in the page, so as to get the relationship between the keyword distribution and the page relevance.
Suppose that the keyword K1 appears at the top of the page, and its keyword distribution value is 50;On the bottom, the keyword distribution value is 10;When the keyword K1 appears at the top and bottom of page A at the same time, the keyword distribution value of the page is 60.
>>Weight label of keyword In web pages, web page makers use different HTML tags to achieve different visual effects (such as font style, font size, color, etc.) for relevant content in the page. Flexible use of various HTML tags can also help improve page relevance.
When we read an article, we often encounter obvious differences between the form of expression of the content in the article and the form of expression of the surrounding content. For example, the font color of some content forms a strong contrast with the font color of the surrounding content, or the font size is different.This means that the author of the article intentionally expresses this part of the content, usually because it is important.
Similarly, when optimizing a website, we can also use the same method to highlight some important content on the page.For example, use different HTML tags to mark the content that needs to be highlighted in the page.In this way, when the search engine analyzes the page, it will recognize the style of the content in the page according to the HTML tag, so as to determine which content is more important in the page.
In page weight allocation, according to the role of tags, HTML tags can be divided into "weight tags" and "non weight tags".Weight tag refers to the tag that will affect the page weight. Common weight tags include<b>,<h1>, etc;The perceived non weight labels include<img>,<br>, etc.
High end website constructionThe service provider Shangpin China introduced the definition of certain tag weight values by search engines. For a page with the content of "<h1><b>search engine optimization</b></h1>", for the keyword "search engine optimization", the tag weight value=<b>tag weight value+<h1>tag weight value, that is, 60.
After explaining the keyword matching degree, keyword density, keyword distribution and keyword weight label, we calculate the formula for page relevance as follows: W(relevance)=W(match)+W(density)+W(position)+W(tag) Where, W (correlation) is page correlation;W (match) is the keyword matching value;W (density) is the keyword density value;W (position) is the keyword distribution value;W (tag) is the tag weight value.
For example, the content of a page is:
<html><body><b>Search engine optimization</b><h1>Search engine</h1></body></html> According to the previous assumptions, for the keyword "search engine optimization", since it only appears once, the keyword matching value W (match)=10;If the keyword density is 50%, the keyword density value W (density)=20;If the keyword appears at the top of the page, the keyword distribution value W (position)=50;While the weight tag<b>appears once when the keyword "search engine optimization" is highlighted, the tag weight value W (tag)=10, that is, W (correlation)=10+20+50+10=90.
The search engine makes use of the interaction of four major factors, namely keyword matching degree, keyword density, keyword distribution and keyword weight label, to improve the calculation of page relevance.But,High end website constructionThe service provider Shangpin China introduced some controllable factors inside the website.In order to improve the quality of the information in the ranking, search engines also introduce some external unmanageable factors to comprehensively evaluate the page relevance, such as link weight and user behavior.