Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Eight aspects of understanding seo (search engine)


May 30, 2021 Article blog


Table of contents


First, what is seo?

seo translates as search engine optimization, a technique that analyzes the ranking laws of search engines to understand how search engines search, how to crawl Internet pages, and how to rank search results for specific keywords.
Search engines use easy-to-search reference means to target the site optimization, improve the site in the search engine's natural ranking, attract more users to visit the site, improve the number of visits to the site, improve the website's sales capacity and publicity ability, thereby enhancing the brand effect of the site.

Second, how to optimize seo

1, improve the speed of page loading

Can be solved with css without background pictures, background pictures also try to compress the size, you can put a few icons on a picture, use background-position to find the desired picture location.

This is often called Sprite or Elf Map.

You can reduce the number of HTTP requests and speed up page loading.

2. Separation of structure, performance and behavior

Another important reason to slow down page loading is to stack css and JS on HTML pages, and I find it awkward every time I see someone writing CSS and JS directly on the page.

The external chain can greatly speed up the loading of web pages, css files can be placed in head, JS files can be placed at the bottom of the body, without affecting reading and then to load JS files.

3, optimize the site classification structure

It is necessary to add breadcrumb navigation to each inner page, so that spiders do not get lost after entering the page, if available, it is best to add a separate Sitemap page, the site structure at a glance in front of the spider, more conducive to spiders to grab information.

4, centralized site weight

Because the weights that spiders assign to each page are certain, and those weights are evenly assigned to each a link, in order to centralize the site weights, you can use the "rel-nofollow" property, which tells the spiders that they don't need to crawl the target page, and that they can assign weights to other links.

5, the text emphasizes the use of labels

When it is emphasized that a keyword needs to be bolded, choosing a strong label is more stressful than using a b label.

6, the use of the title property of the a label

Without affecting the functionality of the page, you can try to add the title attribute to the a label, which can be more conducive to spiders crawling information.

7, the use of the picture alt property

This property can display the relevant text information on the page when the picture cannot be loaded, which works the same way.

8, the use of H label

Primarily, the use of the H1 label requires special attention because it comes with weights, a page with and up to one H1 label, placed on the page's most important title, such as the logo of the first page can be added to the H1 label.

Recommended lessons: SEO Basics Tutorials, SEO Beginners Essentials, Common SEO Engine Optimization Tools, SEO Tutorials