Front-end SEO Search Engine Optimization

What is SEO

SEO (search engine optimization)
SEO is the process of website design and development by end developers, by optimizing HTML, CSS, JavaScript and other front-end codes, as well as website structure, page layout, content structure, URL, etc., to improve the quality of the website. Ranking and visibility in search engines.

By optimizing the structure of the website, the usability and navigation of the website can be improved, making it easier for search engine spiders to crawl and index the website content.
insert image description here

Methods of SEO optimization

  • Reasonable title, description and keywords
    insert image description here
    title: only emphasize the key points, do not appear too many important keywords, and the title of each page should be different.
    description: Briefly describe your important content, the length should be reasonable, and the description of each page should be different.
    keywords: describe several important keywords
    亿点小知识:以上的三个方法 不要过多堆关键词,反而会适得其反合理突出即可
  • Write HTML code semantically, conforming to the W3C standard.
    The World Wide Web Consortium (foreign language abbreviation: W3C) standard is not a certain standard, but a collection of a series of standards.
    A webpage is mainly composed of three parts: Structure, Presentation and Behavior. Corresponding standards are also divided into three aspects: structural standard languages ​​mainly include XHTML and XML, performance standard languages ​​mainly include CSS, and behavioral standards mainly include object models (such as W3C DOM) and ECMAScript. Most of these standards are drafted and published by W3C.
  • Reasonable use of tags H1, H2, a, header, nav, nav and other tags
<h1>标题</h1>
<h2>副标题</h2>
<a scr=''>链接</h2>
  • Adding the alt attribute to the picture
    alt 属性can use text to replace the presentation of the picture when the picture is not displayed successfully, so that 爬虫this information can be captured.
  • icon icon
    insert image description here
    The icon format with the suffix .ico
<link rel="shortcut icon" href="log.ico" type="image/x-icon">
  • keep text effect
  • Use CSS to intercept characters
  • Improve site speed
  • Set the height and width for the image, which can improve the loading speed of the page
  • Increase the expiration time for static resource files, allowing users to access the website faster through local caching
  • Reduce the frequency of major revisions
  • Compress and format code
  • Use CDN network to speed up user access
  • Enable GZIP compression, the browsing speed will become faster, and the amount of information crawled by search engine spiders will also increase
  • Doing 404 pages not only improves the spider experience, but also improves the user experience
  • Server-side rendering of HTML pages that require SEO
  • Flat website structure
    insert image description here

The flat structure is a kind of web page structure opposite to the tree structure. There is no obvious hierarchical relationship between web pages. When the column or organizational structure is clear, the organizational structure of the management level is reduced.
To put it simply, it is a small number of column hierarchy divisions, which are directly displayed at the content page level, which is conducive to improving the rapid transmission of information and discovering the problems displayed in the information as soon as possible.

end

In fact, the most important things about SEO optimization are content quality, website speed, high-quality external links and moderate optimization, which are the foundation of website exposure and traffic.

On June 6, 2023, Baidu officially announced an important new rule for inclusion:

1. 收录质量要求更高: Baidu will further increase the quality requirements for inclusion, and websites with low-quality content and serious problems will no longer be included.

2. 收录速度更快: Baidu will strengthen crawler efficiency and data processing capabilities to increase the speed of collection.

3. 收录深度更大: Baidu will gradually improve the ability to collect deep-level content on the website, and further improve the comprehensiveness and accuracy of search results.
insert image description here

The above is the front-end SEO search engine optimization. Thank you for reading.
If you encounter other problems, you can discuss and study with me in private.
If it is helpful to you, please 点赞bookmark it, thank you~!
Pay attention to favorite bloggers and will continue to update...

Guess you like

Origin blog.csdn.net/qq2754289818/article/details/131653948