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
- Open your Archive Manager
cd_archivemanager_conf.xml configuration file, by default located in your Tridion Installation \config directory, in a text editor:
- 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
Note: Exclusion patterns are case sensitive: for example, /images is not the same as /Images.
- Save and close
cd_archivemanager_conf.xml.