Both the ItemLink servlet bean and SEO jump servlet can be configured to use multiple URL templates. The actual template used for any given request is partly determined by examining the User-Agent property of the HTTP request and finding a template that supports this browser type.

The supportedBrowserTypes and excludedBrowserTypes properties of a URL template are mutually exclusive. You can configure an individual template to support a specific set of browser types, or to exclude a specific set of browser types, but not both. A typical configuration is to set excludedBrowserTypes to robot in direct URL templates, and set supportedBrowserTypes to robot in indirect URL templates. This will ensure that web spiders will see indirect URLs, and human visitors will see direct URLs.

The supportedBrowserTypes or excludedBrowserTypes property is a list of components of class atg.servlet.BrowserType. (Note that to add a component to the list, you specify the name property of the component, rather than the Nucleus name of the component.) The ATG platform includes a number of BrowserType components, which are found in Nucleus at /atg/dynamo/servlet/pipeline/BrowserTypes. You can also create additional BrowserType components. For more information, see Customizing a Request-Handling Pipeline.

 
loading table of contents...