Configuring exclude patterns

You define exclusion patterns using regular expressions supported by the Java Pattern class. If the pattern is matched against a published URL, the matched URL is excluded from being archived.

Procedure

  1. Open your Archive Manager cd_archivemanager_conf.xml configuration file, by default located in your Tridion Installation \config directory, in a text editor:
  2. Add <Exclude> elements in the <Capture> element:
    <Capture>
    ...
        <Exclude Pattern="*.swf" />
        <Exclude Pattern="/CustomerSupport/" />
        <Exclude Pattern="/images/.*\.bmp" />
    ...
    </Capture>

    Where:

    • <Exclude Pattern="*.swf" /> excludes all flash files from being archived, regardless of their location in the Web site
    • <Exclude Pattern="/CustomerSupport/" /> excludes ALL content published in the CustomerSupport section of your Web site from being archived
    • <Exclude Pattern="/images/.*\.bmp" /> excludes all Bitmap files located in the images folder of your Web site from being archived
  3. Save and close cd_archivemanager_conf.xml.