Robots.txt Generation
Feature Introduction

Robots.txt Generation

robots.txt is a search engine spider protocol file, its purpose is to inform the search engine spiders which pages of your website can be crawled and which pages cannot be crawled.robots.txt is a plain text file that follows the robot exclusion standard, consisting of one or more rules, each rule can prohibit or allow specific search engine spiders to crawl the specified file paths under the website.If you do not set it, all files will be allowed to be captured by default.

Feature Introduction

robots.txt is a search engine spider protocol file, its purpose is to inform the search engine spiders which pages of your website can be crawled and which pages cannot be crawled.robots.txt is a plain text file that follows the robot exclusion standard, consisting of one or more rules, each rule can prohibit or allow specific search engine spiders to crawl the specified file paths under the website.If you do not set it, all files will be allowed to be captured by default.

The robots.txt rules include: User-agent: The user agent (UA) identifier for the crawler, which can be viewed here. Allow: Allow access to crawling. Disallow: Prevent access to crawling. Sitemap: Site map. There is no limit on the number of sitemap links you can add. #: Comment line.

This is a simple robots.txt file containing two rules.

User-agent: YisouSpider
Disallow: /

User-agent: *
Allow: /

Sitemap: https://en.anqicms.com/sitemap.xml

User-agent: BaiduSpider means: The rules for the user agent "YisouSpider" (a search engine spider of Yisou) can also be set to bingbot (Bing), Googlebot (Google), and so on.The proxy names of other search engine spiders can be viewed here. Disallow: / means 'Ban access to all content'. User-agent: means: Rules for all user agents (* is a wildcard). All other user agents can crawl the entire site.Not specifying this rule is fine, the result is the same; the default behavior is that the user agent can crawl the entire website. Sitemap: means that the path to the site map file of the website ishttps://en.anqicms.com/sitemap.xml.

robots.png