In the overall design of web pages, people's perspective is usually the most priority. Because web pages are for people to see, but we can't ignore the part of search engine optimization in design. After all, most of the traffic is imported from search engines, whether Google, Bing (extended reading: five key optimization points of Bing SEO search engine) or Yahoo are indispensable traffic sources. In the case of Google, the official provides some tips on optimizing websites, telling you that those web page meta tags (meta tags) are recognized by Google, and designing websites according to this direction has certain effect on search ranking.
It is necessary to effectively optimize the website's SEO. Of course, the website's architecture will also change with time, because some web page meta tags may have been eliminated. If they are not updated, the website may get a bad ranking, and the results may have the same problem as the Meta Keywords we mentioned earlier. So what page tags should we pay attention to? Generally speaking, title is the most important, followed by description, which affects the search engine and the user's browsing judgment basis.
Whether it's Yahoo, Google or Bing, most search engines will care about the attributes of title and description, because these two meta tags will be most directly displayed in the search results page. A good title with a good description will directly affect the basis for a searcher to judge whether to browse the page. If the ranking is good, then the good content Good titles and optimized websites will affect the ranking results of search engines. Generally speaking, the title tag affects the title of search results, and the description directly affects the description of search results.
If you want to optimize the website so that Google can understand it, don't forget to add the following marks to the website appropriately according to the information Google mentioned in the webmaster's instructions, so as to create a website that is good at Google search. (Reference: Google Webmaster Tool Description - Meta tag)
Title Page title
<title>Page title</title>
I believe this tag should be added to every page. If not, the page title must be strange. The pages that usually ignore the page title should only have traditional Frontpage or frame pages. Most of the early web pages were purely static, and most people made web pages in the direction that they could see, but they often ignored this key factor. If there is a lack of title on the website, don't forget to fill it up!
Description Description
<meta name="description" content="Page Description"/>
As mentioned earlier, the description of the web page directly affects the words on the search results. Basically, Google and Bing (Yahoo) have adopted this mark. An effective introduction can attract visitors to visit your website directly. The number of words should not be too many, but it should be accurate.
Content Type Page Encoding
<meta http-equiv="Content-Type" content="....; charset=..." />
No matter whether the website is better than Google or which search engine, this tag must be added. If it is not added, it is easy for the browser to use the default language family to judge the page, which is likely to cause garbled code problems. In addition, the problem of garbled code may also be caused by the incorrect adjustment of web page files to UTF-8 code.
Robots meta tag
<meta name="robots" content="..., ..." />
<meta name="googlebot" content="..., ..."/>
This meta tag is mainly for some rules included by search engines, but it should be useless for violent search Baidu. For regular search engines, these tags are basically recognized. The above "..." can be replaced with the following marks.
1. noindex: Prevent search engines from indexing web pages.
2. nofollow: Prevent Googlebot from using the link on this page.
3. nosnipet: Prevent certain text fragments from being displayed in search results.
4. noodp: Prevent the use of alternative instructions from ODP/DMOZ.
5. noarchive: Prevent Google from displaying snapshot links of web pages.
6. unavailable_after: [date]: used to specify the time and date when you want to stop retrieving web pages and building web page indexes.
4. noimageindex: used to specify that Google image search results will not recommend your web page.
Replace noindex with canonical tag (exclude page duplication)
It was mentioned in the Google description that if you want to use the noindex tag to prohibit web search, it is OK, but if you want to use noindex to avoid the problem of repeated inclusion of web pages, it is not recommended. How to solve the problem of avoiding repeated web pages? Google suggests that you can use the canonical tag instead, and you can also adjust the search frequency to avoid abnormal traffic caused by repeated searches of website content.
If the website content is included repeatedly, Google said that if the website is not trying to cheat or manipulate the search results, Google does not have to worry about reducing the search frequency of the website. However, if the content of the website drops due to repetition, and the website is not corrected according to the suggestions, Google will choose the version displayed in the search results. So you should stop this part of the question for a moment!
Nottranslate Do not provide translation
<meta name="google" content="notranslate" />
On Google search, if foreign pages appear in the search results, most of them will appear the option of "translate this page". Clicking it will automatically help you translate the content into the text and language you are using. If you do not want Gogole to directly help your website provide such a function, you can add this tag in the meta to disable this function. Usually, if we search for our own website, we may not find such things, which are mainly useful for foreigners.
Google site verification
<meta name="google-site-verification" content="..." />
This verification tag is mainly used for the verification of Google services, such as Google Webmaster, Google Analytics, Google Application Services, and so on. This tag is required to verify whether the website belongs to you. Of course, such tags may not be used for verification. It also provides verification of HTML files. I think it is not good to add too many things to meta, so HTML verification is used.
Refresh Web page guidance
<meta http-equiv="refresh" content="...;url=..." />
This tag does not necessarily support every browser in Google's description, but it is most often used to guide web pages. This method was also used in site oriented articles long ago, and before changing the URL, it was also used to guide web pages from the root directory to the website subdirectory. However, W3C does not recommend such a guidance mode, because it is easy to cause confusion. Another problem is that some SEO websites will use this method to deal with it, so it is easy to be misjudged by search engines. It is suggested to adopt 301 orientation to solve the problem of web page orientation.