# URLs

### Matches between qualification/production URLs

The equivalence of URLs allows you to add and manage equivalences between qualification and production URLs. This is particularly useful if the links displayed by your bot differ according to various criteria such as the geographical location of the user, the version of a product on which the user is located, etc.

Thus, you can automatically replace the original URL with a new URL. This process will be carried out according to the consultation space and the environment.

To add an equivalency, click **Add** and fill in the fields. Click the blue tick to validate the operation.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FiTKdZTs1qws41vwhftCt%2Fimage.png?alt=media&#x26;token=e32faf58-bcb4-49b1-b75d-207cb688169d" alt=""><figcaption></figcaption></figure>

Use case

In this case, the goal is to replace a link in the dydu platform with a link from the online documentation in the **Documentation** consultation space. Feel free to customize the URLs and spaces for consultation during the realization of this practical case.

1. Create a knowledge like this:

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FpjS9JF2OHwhH2UqAtnmU%2Fimage.png?alt=media&#x26;token=f5dc9d85-1294-4c1a-adae-8f8bb89b33b0" alt=""><figcaption></figcaption></figure>

2. Go to **Preferences > Bot > Urls**.
3. Click **Add**.
4. Fill in the fields like this:

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2F2hXW4t2eIn2oVYNG7eeR%2Fimage.png?alt=media&#x26;token=6b455d9c-0edf-4efc-b316-b51f249e7647" alt=""><figcaption></figcaption></figure>

* **Original URL:** <https://self.dydu.ai/>
* **Destination URL:** <https://self.docs.dydu.ai/docs/en/en/Key_concepts/getting_started/>
* **Consultation space:** Defaut
* **Environment:** Qualification

  The qualification environment allows us to test our equivalence from the test bot. The production environment will allow you to establish equivalence in production.

2. Click the blue tick.
3. Test your knowledge from the test bot (or other selected environment) twice in the consultation space by **default** and in the **Documentation** (or your custom spaces).

### URLs

This topic allows you to specify the most recurring URLs for later use in knowledge actions. To do so, click **Add** and fill in the fields. Click the blue tick.

You will then find all of these URLs among the predefined URLs in a knowledge. To do so, click on the 3 dots on the right of a knwoledge answer then **Edit**.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FW9SmkRbosxgOEdUxK4T1%2Fimage.png?alt=media&#x26;token=f3048e58-a8c6-47e7-9654-b751a4f5084f" alt=""><figcaption></figcaption></figure>

In the answer part (Content > Knowledge), select one of the predefined URLs and add a **Title** which will be displayed in the answer. Once the configuration of your URL is complete, click **Ok**.

Note: you can also disable the use of predefined URLs in replies by clicking **Disable**.
