# Custom Rules

### How to redirect?

If a link has rules, each rules runs ordered and if matches, makeshorter redirects your custom url. If no rules matches, default url is redirected.

![](/files/-Me5Vp_LACAS_jk4toqt)

If link click comes from Internet Explorer, NotSupported page will be displayed.

If other browsers will be used then your second rule will be activated. Where does link click come?

If Mexico, 404 not found page will be displayed to user.

or if Belgium, som special content will be displayed.

None of these rules is matched, then standart home page will be redirected.

### How to group rules?

Custom rules can not be grouped. Country, device, platform or browser rules will be executed ordered. If first matches, rest of rules will be dismissed.  &#x20;


---

# 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.makeshorter.com/features/custom-rules.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.
