SEO + Vue

Search Engine Optimization "  SEO "
White Hat SEO: Improved site design specifications, making it more friendly to search engines and users, the site can get more reasonable traffic from search engines, search engines encourage and support
Black Hat SEO: Search engines use amplification and policy shortcomings, users get more traffic, to deceive search 
White Hat SEO
The site title, description, keywords
Website Content Optimization
Sitemap
Increase outside the chain references
Web site structure and layout optimization
Flat structure:
1, the number of home link control (Home link can not be too small and medium enterprises within the 100 (recommended))
2, flatten the directory hierarchy (plant sites)
User experience survey (more than three clicks, users do not find what they want before they will leave the site, consider the needs of the user experience)
3, SEO optimized navigation (navigation design uses text mode, if the picture is, you must add text)
Breadcrumbs (  A long time ago , at the edge of the forest there lived a poor woodcutter with his wife and two children had each other. His son named Hansel , daughter named Gretel later woodcutter his wife died, he gave the children a married stepmother. stepmother plans to bring two children deep in the forest, then take advantage of when they are asleep and ran away. Hansel inadvertently know stepmother's plan, then secretly put a piece of bread hidden in his pocket. on the way to the forest, Hansel quietly crumbled his bread, are not stopped from time to time, the broken bread crumbs scattered on the road. stepmother smoothly while the children sleep the time slip away, Hansel and Gretel wake up is a dark Hansaieran comfort his sister said:. "such as the sun came out, we will see I spilled crumbs, and it refers to the way we will go home. "but when the sun rose, they could not find how little bread crumbs on the floor, they had those birds are in the woods, the fields of flying a little peck Brother and sister lost their way in the forest. Pathfinding stop, let them hungry, weak legs and feet, came a roof made with bread, candy do the windows of the cabin. Hunger let them forget the fatigue, and potentially dangerous , eating from the house. in the result trick witch's brother was locked in the house, his sister was forced to do labor, when to eat in the witch's brother, sister by learning logs to the machine to the witch. the witch is pushed into the furnace , a brother and sister with a witch's treasure, returned home. stepmother had died, brother and sister, and his father lived a happy life.)
Breadcrumb navigation allows users to music sister location is currently located, and the current page in the pages of the true position, so as to form a good sense of place, providing rapid return all walks of entry for SEO, let search engines know about your site structure, increase the number of links, easily fetch, lower bounce rate
 
Website code optimization
<Title> same header is not provided
<Meta keywords> Do not stuffing keywords
<Meta description> Description Do not pile
Semantic tags
Example: h1-h6 with positive title h1
      <a> add title
        <br> for text wrap
        <Img> Add alt text
        Do not use an important js
        Less use iframe framework
        Streamline the code
 
Spider . This function module is devoted to the download page, browser-like functionality. The difference between them is that the browser is presented to the user various forms of information, including information, image information, video text information, and the like; for spiders, and without some visual components, and It is to deal directly with basic html source code. As you may know, a standard web browser functionality with all html source file viewing.
Reptiles . The function module dedicated users find all the links to each page. Its mission is to link or address is defined by the assessment found, to determine where the spider to go. Crawler track these links have been found, and try to find some documents for search engines do not know.
Index . This functional components responsible for resolving each page and page analysis of various elements, such as text, header content, structured or customized on features section, special html tags, and so on.
Database . Some search engines download data and analysis, it should be stored. Sometimes, it is also called the search engine's index.
The results engine . The results engine ranks pages work. It determines which pages are most closely matches the user's search request, and to show how these results valid and reasonable in accordance with the order. This is based on the search engine's ranking algorithms and decision. It is such a concept search, page rank is valuable, based on user interest driven, so this is for SEO workers who are most interested in, SEOer their goal is how to effectively improve the site's pages of interest rankings.
Web server. Search engine web server that contains such a basic web page, there is a user input interest keyword text box is used, and when a user submits a search operation, the search results reasonable to the user.
1) bilibili do basic seo optimization, such as
(1) TDK Miao Xu detail.
(2) enhance the page loading speed: Foreign linked css, js and using lazy loading and dns-prefetch, preload.
(3) more outreach, high keyword ranking.
2) Denver site uses meta vue-meta-info website management, it should be used in conjunction with the prerender-spa-plugin for SEO optimized.
3) Element logo on the home page address is added, and only the logo is on the h1 tag.
4) There are not too high traffic sites like http://www.marshall.edu  (Marshall University) made a share optimization seo socialization, appeared in the meta information in the property = "og: title" This new thing; https://we.dji.com/zh-CN/campus  (Dajiang recruitment) used Nuxt

The highest rate of public assembly site appears

1) breadcrumbs 
2) Icon 
3) the search box 
4) Button components
 
1. Web site rendering mode ---- rendering server and client rendering
    1.1 server-side rendering (rendering backend SSR) 
        The case of the back-end rendering HTML, the browser will be received directly into the final after a string of HTML server computing presented to the user, calculated here is server parsed template file is stored in the server to complete, in this case , the browser only the HTML parsing, display, and manipulation by the display system of the operating system calls the image contents represented by the HTML displayed to the user on a display.
        Benefits: less time-consuming front-end (front end only responsible html on display), which will help SEO
        Disadvantages: large amount of network traffic, occupancy (part, a small part) server computing resources, response out of the amount of data will be (a little) big point, changed the front-end templates and interactive style of what was to follow the same linkage modifications
   
     1.2 client rendering (front-end rendering CSR) ------ SPA --- single-page application
        Rendering refers to the front-end browser will get some information from the back-end, such information may angularjs template files about, or JSON data interchange format and other packaged data, and even direct valid HTML string. These forms are not important, it is important that the arrangement of the information form the final tissue-readable HTML string is done by the browser, after forming a HTML string, and then displayed.
        Benefits: a small amount of network traffic data (reduces the pressure on the server)
        Disadvantages: front-end time-consuming, is not conducive to SEO
 
--- seo issues and problems first screen 2. The front-end rendering encountered
    SEO is well understood. Because traditional search engine will crawl data from HTML, leading to the front page rendering can not be crawled. SPA commonly used front-end rendering all JS whole package will not be ignored is the file is too large, resulting in a long wait before rendering. Especially when the speed difference, allowing users to wait for the end of black and white is not a good experience.     
    2.1 front-end rendering SEO solve problems
    In recent years, along with the rise of the front frame of the SPA; caused by the separation of the front and rear ends of SEO issues, I believe that each front-end siege Lions have encountered. Here is an example to say Vue solve SEO methods;
    2.1.1 view ------ SSR
     First vue2.x directly provide a complete service to build Vue side rendering. Vue.js is a framework for building client applications. By default, Vue assembly may be output in the browser, and operation for generating a DOM DOM. However, it is also possible to render the same component as the server-side HTML string, send them directly to the browser, the application will still mark the most "mixed" for the client fully interactive.
  Rendering Vue.js server applications can also be considered a "homogeneous" or "universal" because most of the application's code can be run on the server and the client.
   2.1.2 shock ------ Nuxt.js
  Application from scratch to build a server-side rendering is quite complex. Fortunately Nuxt.js makes it all very simple. Nuxt Vue is based on a higher level of ecological framework, provides an extremely convenient development experience Vue end application services rendered. Cool is that you can even use it as a static station generator. Recommended attempt.
  Nuxt.js is to create a Universal Vue.js application framework.
 Its main scope is to render the UI, while the abstract client / server distribution.
 Our goal is to create a framework flexible enough so that you can be used as the main library project or the current project-based Node.js is.
 Nuxt.js pre-set enables developers Vue.js application server more enjoyable for all configurations.
 In addition, we also offer another option called nuxt generate the deployment. It will build a static application Vue.js generated. We believe that this choice could be the next important step in the development of Microsoft's Web services applications.
 As a framework, Nuxt.js offers many features that help you develop between the client and server side, such as asynchronous data, middleware and layout.
 
 
 
 

Guess you like

Origin www.cnblogs.com/cuiyq/p/11465943.html