Each time a URL is to be processed, Sitemap Creator performs a number of different checks, including rule execution. However, rule execution is currently "quirky" and may not execute as expected - essentially rules are processed as two independent groups, although the UI currently only shows a single list.

Important

The behaviour of content type based rules may change in future versions of Sitemap Creator to reduce confusion.

Stage 1 - Pre-headers

  1. Sitemap Creator enumerates each rule
  2. If the rule is disabled, it is ignored
  3. If the rule is configured to test against a content type, it is ignored
  4. If the rule has a URI expression and the expression does not match the URI being process, it is ignored
  5. If the rule is a match, the outcome will be set to the rule condition (e.g. excluded or included)
  6. If the rule is a match and the Stop Processing flag is configured for the rule, no further rules are processed
  7. If the rule is not a match, or the Stop Processing flag is not configured, the next rule is tested

The last matched status is then used to determine if the URI should be included or excluded.

Stage 2 - Post-headers

If the URL was not excluded via stage 1, a HEAD or GET request will be made to get the headers for additional processing. At this point, rules are processed again as follows

  1. Sitemap Creator enumerates each rule
  2. If the rule is disabled, it is ignored
  3. If the rule is configured to test against anything other than a content type, it is ignored
  4. If the rule has a URI expression and the expression does not match the URI being process, it is ignored
  5. If the rule is a match for the content type of the URL being processed, the outcome will be set to the rule condition (e.g. excluded or included)
  6. If the rule is a match and the Stop Processing flag is configured for the rule, no further rules are processed
  7. If the rule is not a match, or the Stop Processing flag is not configured, the next rule is tested

The last matched status is then used to determine if the URI should be included or excluded.

© 2010-2023 Cyotek Ltd. All Rights Reserved.
Documentation version 1.2 (buildref #81.15583), last modified 2023-04-09. Generated 2023-04-29 14:30 using Cyotek HelpWrite Professional version 6.19.1