Skip to content

Instantly share code, notes, and snippets.

@tiancheng91
Created December 26, 2016 07:06
Show Gist options
  • Save tiancheng91/fdaac59cbed618f1c087833d5ddf7bb4 to your computer and use it in GitHub Desktop.
Save tiancheng91/fdaac59cbed618f1c087833d5ddf7bb4 to your computer and use it in GitHub Desktop.
robots example
User-agent: Baiduspider
Crawl-delay: 1
Allow: /article
Disallow: /
User-Agent: Googlebot
Crawl-delay: 1
Allow: /article
Disallow: /
User-agent: Bingbot
Crawl-delay: 1
Allow: /article
Disallow: /
User-Agent: 360Spider
Crawl-delay: 1
Allow: /article
Disallow: /
User-Agent: Yisouspider
Crawl-delay: 1
Allow: /article
Disallow: /
User-Agent: Sogouspider
Crawl-delay: 1
Allow: /article
Disallow: /
User-Agent: *
Disallow: /
Sitemap: http://sample.com/sitemap_index.xml
Sitemap: http://sample.com/sitemap_article.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment