Recruitment Marketing Public
A Site robot rule allows you to control how search engines and other web crawlers access your careers site, by adding rules to the site's robots.txt file.
For example, the following rule stops all crawlers from accessing a path:
User-agent: *
Disallow: /private/Each rule is made up of three parts:
- User agent: The crawler the rule applies to. Use
*to apply it to all crawlers, or a specific crawler's token (e.g.,Googlebot) to target just that one. - Directive: The instruction to apply. Select Disallow to prevent the user agent from accessing the matching paths.
- Value: The path the directive applies to, for example
/private/.
Note:
Site robot rules are available to company administrators and organization administrators. The robots.txt file is heavily relied on for search engine indexing, so rules should only be added by people who understand how the file is structured. Take care when making changes here.
How user agents work
User-agent: *is a catch-all. If a crawler checks the file and can't find a user agent that matches its own, it falls back to the rules under*.- New user agents inherit the
*rules. Any rule added underUser-agent: *is automatically applied to every other user agent in the file as well, so a*rule effectively applies to all crawlers. - User agents are case-sensitive. A rule for
Joraand a rule forjorawill create two separate user agents in the file.
Creating a site robot rule
- From the side menu, under Company, click Settings.
- Under Web, click Site robot rules.
Click New.
- On the next page, configure the following:
- User agent: Enter the crawler the rule applies to, for example
*for all crawlers, orGooglebot. - Directive: Select Disallow.
- Value: Enter the path the directive applies to.
- User agent: Enter the crawler the rule applies to, for example
- Click Save.
The rule is added to the list on the Site robot rules page, where it can be edited or deleted.
Valid Value Examples
The Value is the path (or path pattern) the directive applies to. For example:
/private/
/preview/
/*/searchWarning:
A broad rule can have a large impact. Setting the Value to /
disallows the user agent from your entire site, which can remove your
careers
site from search engine results. Use the narrowest path that achieves
what
you need, and test changes carefully.
The robots.txt file tells well-behaved crawlers what not to access, but
it cannot force a crawler to comply.
Comments
Article is closed for comments.