Web Design
Mobile Internet
Brand Design
Innovative
News
Encyclopedias

How to optimize web page production to be more conducive to search engine crawling?

Date:2019-08-15 Source: Shangpin China Type: website encyclopedia
Word Size: small   medium   big

1. Picture optimization
Sometimes, because the network is too slow, the image fails to load, or the browser prohibits the display of the image, or the website is infected with viruses, which may cause the image to not display normally. In this case, you need to set the alt attribute of the image, which is the text explanation when the image does not display. Search engine spiders can read and read image content according to alt text. The alt attribute of images is the most important content in image optimization. The ranking of images in search engines is mainly based on the optimization degree of alt. When designing alt, it is required to set alt for each image and write keywords as much as possible (but keywords cannot be stacked, otherwise the search engine will treat it as cheating). In addition, the image also has a title attribute. The title attribute of the image is the image explanation that appears when the mouse slides over the image. When optimizing images, it is recommended to set both alt and title.
 
2. Keyword optimization
Keyword optimization refers to the optimization of the keyword selection and layout of the website to optimize the website ranking. The ranking of related keywords in search engines occupies a favorable position. The keywords appearing in the first 50-100 words of the text have a relatively high weight. It is usually recommended that the keywords appear in the first sentence of the first paragraph of text, the keywords appear two or three times in the middle text, and the keywords appear again at the end of the text to achieve the purpose of optimization. In keyword layout, there is a concept "keyword density", that is, the number of keyword occurrences divided by the total number of words, expressed in percentage. The higher the keyword frequency, the greater the density. Generally speaking, the keyword density should be between 2% and 8%.
 
3. Reduced code
From the working principle of search engine, the first step of search engine work is to extract text, that is, to simplify html code. It can be said that html style code is noise for keywords, so in order to improve the signal-to-noise ratio, code simplification must be carried out. Common places where code can be simplified are as follows: (1) The page style should be designed using CSS. Never define the style effect defined in CSS again in the html code. (2) Insert an external file: make CSS and JavaScript into a file and place them outside the html code. You only need to add an insert code to the html code. (3) Delete comments: comments are intended to explain the meaning of the code and are reserved for developers. Users do not need to understand them. (4) Reduce the use of tables: use divs instead of tables. In short, there should be no redundant code on the page. The streamlined code is conducive to putting the most meaningful content at the front, which will be easier to be captured by the spider program of the search engine, thus improving the website ranking.
 
4. title optimization
The most important content of web page optimization is title optimization. Title represents the title of the page. It is generally recommended that the title be placed behind the tag, and search engines can quickly capture the title. Pay attention to the following issues in title optimization: (1) Unique and non repetitive. Each page should have its own unique title. If the title of different pages in the same website is the same, it will lose the opportunity to optimize the title and the user experience is very bad. Users can't see the specific content of the page from the title at a glance; (2) Word limit. According to the requirements of Baidu and Google for the number of words, the number of words in the title should not exceed 30. The search engine will automatically cut off the part exceeding the number, and the search engine will reduce its weight, which will not play a role in ranking; (3) Don't stack keywords. At most three to four keywords are enough for a page, but not too many. For example, mouse | mouse wholesale | mouse retail | mouse wholesale and retail | mouse website. Such a page can be written directly as mouse wholesale and retail | XX mouse website. This title is conducive to the search engine to quickly calculate the relevance of the page and the user experience. Users can see the general content of the page at a glance.
 
5. Meta tag optimization
Meta tags are used to design web page attributes. Meta tag optimization mainly includes description tags and keyword tags. The description tag is used to describe the theme of the page. It describes what the page is related to and used for.
When designing the description tag, pay attention to the following points:
(1) Accurately summarize the content of the page. When designing the description, you should refine the main content of the page and accurately describe the content of the page, which will attract users to click. Do not: the description tag content is not related to the page content;
(2) Set a unique description tag for each page. This design can improve the relevance of internal pages and, to some extent, guide users and search engines to open other internal pages. In addition, do not set duplicate description content. The keyWords tag is used to design the theme keywords of the page.
When designing keyWords tags, pay attention to:
(1) Determine whether keywords appear on the web page.
(2) The keywords of each page should be different.
(3) The number of keywords on each page should not exceed 5, generally 3-5.
 
Information source of this website: Web page production


Please contact our consultant

+86 10-60259772

Please provide your contact number. The project manager of shangpin China will contact you as soon as possible.