SEO Learning notes in the site optimization structure (ii)

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Comrades good, I came again, and then yesterday's article to write (learn SEO left note of the site optimization structure (a)) this afternoon especially sleepy, every day to the computer radiation is very powerful Ah, friends pay attention to the body Oh!

6.robots file: I think we should be familiar with this document, I will mention that there are a lot of online on this document explained in detail, Search engine every time we visit the site will first browse robots.txt files, if you do not have this file, then the search engine will crawl all of your site, but my personal opinion, whether you do not or do not understand as much as possible in the root directory of the site to create robots.txt empty files, the reason: Because some servers will appear, search engine browsing Robots.tx The T file does not show 200 code, and does not show 400 errors, which may cause a misunderstanding of the search engine. (Do you want people to misunderstand you?)

Format:< fields >:< optional spaces >< field values >< Optional spaces >

user-agent:*

disallow:/

Prohibit all search engines included.

user-agent:*

disallow:/ab/

allow:/ab/cd/

Do not let spiders crawl the AB directory, but allow crawling of the contents of the CD directory under the AB directory.

Also remember to avoid, robots.txt to lowercase.

7.nofollow Tags: <a href= "http://www.***.com/" rel= "nofollow" > Anchor text </a> simply explain that the tag is to tell the search engine not to be crawled, nor to follow hyperlinks , not to pass weights. This tag is mainly used in blog comments, message boards and other places. Also have a lot of friends used in the site advertising sites, the purpose of the Internet advertising is to improve exposure and clicks, our site does not need to give him ad special treatment.

8.meta robots tag: This tag is mainly to tell the search engine to prohibit the index of this page content, but can track the link on the page, of course, can also pass weight. It's similar to the nofollow above.

The wording is as follows:

Noindex: Tell the spider not to index this page.

Nofollow: Tell the spider not to follow the links on this page.

Nosnippet: Tell search engines not to display descriptive text in search results.

Noarchive: Tell the search engine not to show snapshots.

NOODP: Tell search engines not to use titles and descriptions in open directories.

9.canonical Tags:

  

This tag is similar to the 301 inside page turn, the user and feel not to turn, but still stay on the original web site, but the search engine took him as a 301 turn processing, the page weight focus on the label page. Usually we use the canonical attribute in this kind of Web page, for example: a product belongs to both category A and Category B, then 2 different URLs in the content is only slightly poor, we can actually use Link's canonical Attributes attribute the search engine to the entire judgment of the article to a Web site. This label some people say that Baidu does not support, also has said to support, this everybody discusses. More detailed explanation: http://www.google.com/support/webmasters/bin/answer.py?answer=139394

Today introduced a label, write content is not very substantial, let us understand, there is a familiar, you may use it later!

This article by Www.cncdq.com stationmaster Original, reprint please specify!

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.