# Custom routing

The Custom routing setting can be managed under the *Settings / Library / Storage / Custom routing menu.*

Custom routing rules in DAM allow you to rewrite URLs to match specific file paths and names, making public asset URLs shorter and more user-friendly. \
\
These rules utilize regular expressions (REGEX) to ensure that lengthy or complex URLs can be simplified without affecting the organization or accessibility of the assets. This feature improves URL usability while maintaining structured file management within the DAM system.<br>

<figure><img src="/files/pOS4ubOs6FbUrEqWhdjW" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
This feature should be requested to the [Support team](https://scaleflex.zendesk.com/hc/en-gb/requests/new) for activation prior to be possible to use it in DAM.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scaleflex.com/digital-asset-management-dam/settings/storage/custom-routing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
