Whether on a company's website or personal website, there will be a optimization and promotion process, which is a systematic project. Search Engine Optimization (SEO) is one of the mainstream technologies in the field. From the perspective of the working principles of the search engine, this thesis aims to analyze sorting methods of the search engines and find out the main factors influencing the page rank, and then to analyze the structure, content, site navigation, keywords, strategy and optimization of links of the website, etc., and to put forward relevant optimization strategy.