Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the optimization principles of SEO

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is about what SEO optimization principles are all about. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1. Keyword optimization

1) keyword selection strategy: two high and one low: high search volume, high correlation with page content, low SEO competition. Choose words with high search volume, that is, words with large traffic, high correlation with the page in order to have a good user experience, but also better attract spiders to crawl, while words with low competition are conducive to ranking.

2) keyword optimization index: follow four indexes: word frequency, density, location and form of expression. Specifically, in terms of word frequency, density, keyword density = keyword page word frequency / word frequency sum of all words on the page, the best density is 6%-8%. Position: the position of the keyword also determines its importance, which decreases from top to bottom, left and right. Form of expression: keyword expression should pay attention to font size, color, bold, underlining, italics and so on.

2.URL naming optimization

Optimization principles:

1) the same web page corresponds to only one URL, and multiple forms of URL will disperse the weight of the web page.

2) URL should be concise and beautiful, and it is best to include keywords, so that customers can judge the content of the site.

3) the parameters of dynamic URL variables are as few as possible. The alternate domain name enabled to prevent users from typing the wrong address is redirected to the primary domain name with 301.

3. Code optimization

1) remove white space, generally speaking, white space (spaces, tabs, newline characters, etc.) can be safely deleted, but to avoid modifying pre,textarea and tags affected by white-space in the css attribute.

2) using short format color representation, we often like to use hexadecimal and full color names when using colors, which we think is more accurate, but we should try our best to use short format color expressions such as: # ff0000, which is actually red, according to the actual situation.

3) it is represented by characters in short format. Like the shortest color representation, some names can be represented by the shortest characters, and we can replace some lengthy letters with shorter numbers.

4) remove the white space in the css. Css is less sensitive to white space than html, so removing white space can greatly reduce the area size of css files and style stylesheets.

5) remove css comments, just like removing comments in markup code, since css comments are of little use to the average end user, they should be removed. However, if you take into account lower-level browsers, the masked comment information in the style tag in css cannot be removed. Use a short format to represent the color, the same as above, do not repeat.

6) merge the css rules, for example: P {font-size:36pt; font-family:aral; line-height:48pt; font-weight:bold;} can be written as follows: P {font:bold 36pt/48pt arial;}

7) there is no need to write target= "_ blank" on each link at all, just write a sentence in head.

4. Web page optimization

1) title is the most important index for search engines to judge the weight of "web page-query". Each page should have a unique title, and do not use the default title for all pages. At the same time, the title should contain the most important content in the web page.

2) Meta description is a concise summary of web content, and search engines will regard description as one of the primary goals of the summary. Never use the same description for all web pages. At the same time, the description and introduction should be reasonable, and should be related to the content of the website, not stacked with keywords.

3) without using frame and iframe framework structures, content displayed through iframe may be ignored by search engines.

4) Ajax and other search engines can not recognize the technology, only used in the need for user interaction, do not want the search engine to "see" the navigation and text content into the Ajax.

5) use text instead of flash, pictures, Javascript, etc. to display important content or links, if you must use Flash to make a web page, it is recommended to make a text version for the search engine at the same time, and use the text link to point to the text version on the home page.

6) add a navigation bar for each page, so that users can easily return to the channel and website.

7) if you don't want the search engine to follow the links, you can add nofollow. Or uniformly shielded in the robots.txt (user Guide).

5. Website structure optimization

1) the structure of the website should be simple and clear, not too complicated. To have a clear navigation and hierarchical structure, it can be a tree structure of the home page-channel-article page (such as the example below), or a flat structure.

Example of a tree website structure

2) the important pages on the website should be accessible from the relatively shallow location of the website.

3) make sure that each page can be reached through at least one text link. Add a navigation bar for each page so that users can easily return to the previous page and home page.

6. Picture optimization

1) many people are used to naming pictures with numbers to facilitate memory and arrangement. But from the point of view of SEO, it is best to use words related to keywords to name pictures. This helps search engines to judge the content of an image.

2) tag each picture with alt. The picture alt tag determines the ranking position of the picture, which is an important basis for the search engine to judge the content of the picture. Moreover, the text content of the alt tag is displayed when the picture cannot be read. Therefore, it is recommended to add an alt tag to each picture, and the tag should contain keywords and naturally describe the content of the picture.

3) the text content before and after the image is also part of the search engine's consideration of the web page content, so the text optimization before and after the picture is also a part of SEO.

4) finally, the picture should be localized as much as possible, so as to ensure that the weight will not be separated because of the link, and avoid using pictures on the network.

Thank you for reading! This is the end of this article on "what are the principles of SEO optimization?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report