# Urls

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FVQh0uIywWFVMyd60x8Mc%2Fimage.png?alt=media&#x26;token=a9a5d5c3-1073-45cc-a64d-448aa47dd68e" alt=""><figcaption></figcaption></figure>

**This feature allows you to massively edit the URLs used in your knowledge base.**\
Two types of URLs can be replaced using this feature:

* **URLs inserted as hyperlinks** in the text of your answers
* **URLs used as redirections** via the "redirections" option field in the answers

As a result, URLs used directly in an answer (neither as a hyperlink nor as a redirection option) cannot be replaced in bulk with this feature.

**Steps to follow**

1. Click on **Export** and an **Excel file** will be downloaded to your computer.
2. Several columns are listed in the file, including:

* **urlType**: this column indicates the type of URL used per answer: **ACTION\_TEXT** if the URL is inserted as a hyperlink; **REDIRECT\_URL** if it is used as a redirection.
* **urlOld**: this column shows the URLs currently used in your knowledge base.
* **urlNew** (column to fill in): in this column, enter the new URLs you want to use in your knowledge base. If some URLs do not need to be replaced, leave those cells empty; these URLs will remain unchanged after import.\
  **Note:** Your URL must always start with the https prefix.

<figure><img src="https://264031769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMvi3Izk7dvjl9HitZpp%2Fuploads%2FywPpg0ayxTSNrLpolnBh%2Fimage.png?alt=media&#x26;token=33d178ca-51b7-460d-9314-326b4efef166" alt=""><figcaption></figcaption></figure>

3. Fill in the **urlNew** column with your target URLs. Save your Excel file and click on **Choose file** then **Import**.
4. Once finished, you will be notified by the automatic download of an **XML file** to your computer confirming the type of changes made to your knowledge base.

**Keep in mind:**

* Deleting rows from the Excel file will not affect the import or your knowledge base.
* However, deleting columns from the file will make the URL bulk-edit feature ineffective. You will not be notified of any errors during import, but the URLs will remain unchanged.
