# HAMUR_E1066: A route rule path mixes text and a param in a segment

A route rule path mixes text and a param in a segment. Error `HAMUR_E1066` belongs to `hamur`, scan, build and dev (1001 – 1999).

## Message

```text
HAMUR_E1066 <key> in <shown>: the path <pattern> has a segment mixing text and a param, which a route rule cannot match; use whole-segment params
```

## Cause

A route rule path has a segment that mixes text and a param, such as `/a-[id]`. A route rule cannot match it.

## Fix

Use whole-segment params in the page's path.
