--- title: Change the default reverse proxy REST endpoint path slug: '2160' canonical_url: https://docs.coveo.com/en/2160/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Change the default reverse proxy REST endpoint path By default, the reverse proxy REST endpoint path is set to `+http:///coveo/rest+`. You can change this default value to a custom path. > **Important** > > If you use a custom reverse proxy REST endpoint with a recent version of Coveo for Sitecore, this may cause your analytics calls to fail. > This issue has been fixed in the October 23, 2023 release of Coveo for Sitecore. > You'll therefore need to upgrade to this version of Coveo for Sitecore. > > For all instructions on how to use a custom reverse proxy REST endpoint and a custom `Coveo analytics endpoint` in a search page, see [Changing the reverse proxy REST endpoint an existing search page uses](#changing-the-reverse-proxy-rest-endpoint-a-search-page-uses). To change the reverse proxy REST endpoint path . Open the `Coveo.SearchProvider.Custom.config` file in a text editor. . In the `configuration/sitecore` element, look for a `` element. If there's no `` element, add one. ```xml ``` . In the `` element, add the `` element below: ```xml ``` You should now have the following configuration structure: ```xml ``` . In the new `` element, change the values for both the `virtualFolder` and `physicalFolder` attributes. . Open the `Coveo.SearchProvider.Rest.Custom.config` file in a text editor. . In the `` element, look for a `` element. If there's no `` element, add one as follows: ```xml /coveo/rest ``` . Change the text content of the `` element to match the path that you specified earlier. ## Changing the reverse proxy REST endpoint a search page uses If you've changed the location of the reverse proxy REST endpoint, you'll need to reference the new location everywhere you inserted a Coveo Hive **Coveo Search Resources** component. To set the `Coveo REST endpoint` value . Open your search page in the Sitecore **Experience Editor**. . Select your **Coveo Search Resources** component. . In the floating toolbar, select **Edit the rendering's data source**. It should be the leftmost option in the toolbar. . Set the value of the `Coveo REST endpoint` field to the new path. If you're using a pre-October 23, 2023 version of Coveo for Sitecore, these changes might cause your Coveo analytics calls to fail. If so, you'll also need to upgrade to the [October 23, 2023 release](https://docs.coveo.com/en/n5jd0437/) and then set the `Coveo analytics endpoint` value in your search pages. To set the `Coveo analytics endpoint` value on a search page . Open the Coveo search page in the **Experience Editor**. . Select the **Coveo Search Resources** rendering. It's typically at the bottom of the page. . In the floating toolbar, select **Edit the rendering's data source**. It should be the leftmost option in the toolbar. . Set the `Coveo analytics endpoint` value. The value must be harmonized with the custom Coveo REST endpoint value. For example, the following combination of values in a **Coveo Search Resources** data source is valid: * `Coveo REST endpoint`: `/coveo/customendpoint` * `Coveo analytics endpoint`: `/coveo/customendpoint/ua` . Save and publish your changes.