Creating site robot rules

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 under User-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 Jora and a rule for jora will create two separate user agents in the file.

Creating a site robot rule

  1. From the side menu, under Company, click Settings.
  2. Under Web, click Site robot rules.
  3. Click New.

    RM Company Settings Site Robot Rules
  4. On the next page, configure the following:
    1. User agent: Enter the crawler the rule applies to, for example * for all crawlers, or Googlebot.
    2. Directive: Select Disallow.
    3. Value: Enter the path the directive applies to.
  5. Click Save.
RM Company settings New Site Robot Rule.png

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/
/*/search

Warning:

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

0 comments

Article is closed for comments.