Enabling web crawlers to index Pega Knowledge help sites
If you are not running the Pega Knowledge application in a Pega Cloud Services
environment, you must add the following servlet configuration to the
web.xml
file on your deployment server, to enable web
crawlers to index Pega Knowledge help sites. If you are running the application in a
Pega Cloud Services environment, your product build automatically includes the
servlet configuration.
<servlet>
<servlet-name>AutoRedirectServlet</servlet-name>
<display-name>AutoRedirectServlet</display-name>
<description>Servlet for pega knowledge management</description>
<servlet-class>com.pega.pegarules.internal.web.servlet.WebStandardBootAutoRedirect</servlet-class>
<init-param>
<param-name>PegaEtierClass</param-name>
<param-value>com.pega.pegarules.session.internal.engineinterface.service.HttpAPI</param-value>
</init-param>
<init-param>
<param-name>AuthenticationType</param-name>
<param-value>PRCustom</param-value>
</init-param>
<init-param>
<param-name>AuthService</param-name>
<param-value>CustomSample</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>AutoRedirectServlet</servlet-name>
<url-pattern>/autoredirect</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AutoRedirectServlet</servlet-name>
<url-pattern>/autoredirect/*</url-pattern>
</servlet-mapping>
Previous topic Configuring the search suggestions feature Next topic Optional: Defining the security model and organization structure