# HAMUR_E0042: A redirect's to has a wildcard

A redirect's to has a wildcard. Error `HAMUR_E0042` belongs to `hamur`, config, environment and command line (0001 – 0999).

## Message

```text
HAMUR_E0042 to "<to>" has a wildcard; use routeRules for patterns
```

## Cause

A redirect's `to` holds a `*` wildcard.

## Fix

Write the exact target, or use `routeRules` for a pattern.
