Suppose we look at a page from the perspective of a search engine spider. What questions do we encounter when crawling, indexing, and ranking? A website plan that addresses these questions is search engine friendly.
1. Can search engine spiders find your page? For search engines to find your homepage, you must have external links. After you find your homepage, you must also be able to find your deeper content pages. That requires an outstanding website structure that is logical, flat, or tree-like.
All pages of the website must be found from the beginning of the homepage and follow the link, preferably within three or four clicks.
2. Whether the search engine spider can crawl the page after finding the page, the URL of the page must be crawlable. If the page is dynamically generated by the database, then the URL is usually rewritten to be static, that is, remove the question mark parameters and other things from the URL, and also remove the SessionID. Technically it is not that search engines cannot read such URLs, but to prevent falling into an infinite loop, search engine spiders usually stay away from such URLs.
Also try to get rid of unnecessary things that cannot be read by search engines, audio files, pictures, pop-up windows, etc.
3. After the search engine spider crawls the page, how to extract the HTML code of the useful information page must be optimized, that is, the lower the share of the pattern tags, the better, the more real content, the better, and the smaller the entire file, the better.