page keyword Meta keywords and description of description optimization function

Source: Internet
Author: User
Tags vars

A few days ago there were two or three children's shoes asked me why the article Directory page did not set the key words, I originally also to why the keyword, later only to understand is asked why I do not add meta Keywords. I respond directly to them on this issue. Directory page Meta Keywords No use, there is this free control of these so-called keyword optimization is better than a good focus on the content.

In fact, the response I gave them was correct. Catalog page We can find a archive.php file in the theme folder, which is a common page of directories and keywords, search terms, year months, and so on. In fact, there is no general topic on meta-information in this page, and the meta-code is added to the header.php, or some topics are built with a separate file name of seo.php to store the content. The code is written separately for easy management of changes. I'm not going to go into the details of how the meta code in WordPress is written or what it means, I'll just mention it briefly. Meta in WordPress or some forum program is used by the judgment statement if to specify the relevant page to use what Meta (including page name, keywords and description ...) )。 It uses some code to refer to the content that WordPress itself can set or the content in the page. such as the WordPress home page meta Reference is set in your theme settings in the keywords and description (the general theme will have this setting); The article or page meta refers to the article title, article Summary, article tags , whereas a catalog page or a simple catalog page may refer only to this category or to the title of this catalog page, the description (Description) or keyword (Keywords) may not be referenced at all (that is, there is no place to set it, and so many of the catalog pages use the same Template (archive.php) You can not change the code one after the other. So the directory page is probably not related to meta. WordPress Classification page is special, fortunately, you can add a category when the classification for each category to add a description (originally wanted to be a pity not even on QQ, we can find)-and this description can be referred to the page meta Description inside, So everyone in the drunken Cloud classification page when viewing the source code may find that there are <meta name= "description" content= "********"/> Such code.

That's a lot of explaining why a category page can't set a keyword. This explains in detail the questions about the two children's shoes. Then I'll explain in detail why the response I gave them was right.

Both Google and Baidu have not ranked Meta Keywords and Description as a factor, but adding meta-Description to the site's traffic is helpful because Google's search results directly use meta Descrip tion do the description of the page, when the user search, see a good description of the time, it is easier to come to your site, and Keywords is basically invalid, and sometimes use the contrary, Baidu will think you have excessive SEO suspicion.

In WordPress, we can add meta Description to any page, but we are very lazy, personal suggestions only need to add to the homepage and article page, the article page if you enter a summary, use summary as Meta Description, no then get the article's former 120 words to do Description. You can add the following code to the header of the topic (this code is not scrambled, this type of code is not added in the topic):

<?if (Is_home () &&$paged < 2) {Replace it with a description of your own blog$description = "Drunken Cloud Blog is committed to the Internet a variety of resources to share the individual original blog, here gathered a small said, personal original text, a variety of free resources, building station knowledge, technical exchanges, network forefront, beautiful pictures, beautiful music, WP theme, WP knowledge, text control, Pure Love novels, love words and so on internet resources ... ";  } elseif  (Is_single ()) {     if   ( $post->post_excerpt)  {           $description      =  $post->post_excerpt;     } else {           $description  = substr (strip_tags (  $post->post_content), 0,120);     }  }  ?>  <meta name= "description"  content=  "<?= $description?>" &NBSP;/>          

Through these. As you can probably see now, Meta keywords and the optimizations that describe description have had little effect on optimization today. We certainly do not refute meta keywords and the description of description in the previous optimization role is quite large, but when Baidu revised, Google withdrew from the Chinese internet market, the information is almost a small role. Description Fortunately, the role is still there, and keywords in addition to only in the home page has a role in other pages almost no effect or side effects. This can be confirmed by my personal experience. Said this site, Baidu included now although there are more than 400, and keywords page (that is, the label page) included almost One-fourth more. Everyone think, Baidu included your article is good or label good? Of course it's an article. So I changed the theme of the first page and the keyword section of the category to remove, reduce the weight of the label link is too high on the blog within the chain optimization effect (this is mentioned in the Fengyun Theme 2.0 release). Many bloggers do not even have meta keywords and meta description in the article page, such as the song's blog has a title.

Written in the last

In the end, I still deliberately warn you, SEO optimization do not pay too much attention. There are a few points to place in the optimization focus:

Content is king (all content optimization mainly), followed by the title, inner chain, outside the chain.

Article from: http://www.zuifengyun.com/about-keywords-description.html All rights reserved, except the note is original. The article is only the author's personal opinion, does not represent the drunken wind position.

page keyword Meta keywords and description of description optimization function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.