HTML Version of Indexed Items Are Showing an Error Page
HTML Version of Indexed Items Are Showing an Error Page
In this article
Symptoms
You selected the Index rendered HTML option during the installation of the Coveo for Sitecore package. Since then, all indexed published pages are showing an error page.
The links are still working well, and relevance seems to be partially respected.
Cause
This is due to a conflict between the Coveo.Analytics.Processors.ExcludeCoveoUserAgentProcessor
and Sitecore Analytics Tracking.
Sitecore Analytics is expecting a user agent when parsing the page, and one of the Coveo for Sitecore processor removes it.
Resolution
-
Open the Coveo.SearchProvider.config file and find the
startAnalytics
node. -
Comment out the
ExcludeCoveoUserAgentProcessor
.Before:
<startAnalytics> <!-- The ExcludeCoveoUserAgentProcessor stops the pipeline if the request comes from the Coveo user agent --> <processor patch:before="*[1]" type="Coveo.Analytics.Processors.ExcludeCoveoUserAgentProcessor, Coveo.Analytics"/> </startAnalytics>
After:
<startAnalytics> <!-- The ExcludeCoveoUserAgentProcessor stops the pipeline if the request comes from the Coveo user agent --> <!--<processor patch:before="*[1]" type="Coveo.Analytics.Processors.ExcludeCoveoUserAgentProcessor, Coveo.Analytics"/>--> </startAnalytics>