<p>What is the type of field of family ?
You don't have to enter the domain and language. Just start from family and forward. If family is the title field, write it like this:</p>

<pre><code>{title}/offers/{slug}
</code></pre>

<p>if the family field is an element type, do it like this:</p>

<pre><code>{familyField.last().uri}/offers/{slug}
</code></pre>

<p>or</p>

<pre><code>{familyField.last().slug}/offers/{slug}
</code></pre>

<p>or if it is a title</p>

<pre><code>{title}/offers/{slug}
</code></pre>

CC BY-SA 4.0
2019-05-07T09:58:39.547Z
What we can do: We have more then one family for a offer (slug). I mean we should take a offer to x families.
Patric
CC BY-SA 4.0
2019-05-07T09:40:10.723Z
2019-05-07T09:40:10.723Z
Bold Fish
<p>We need to setup following URL:</p>

<pre><code>DOMAIN/{lang}/{family}/offers/{slug}
</code></pre>

<p>e.g.:</p>

<pre><code>example.com/en/Larsen/offers/example
</code></pre>

<p>What do we need to configure our section URL? Have anyone an idea?</p>

<craft3><url><routing>
URL routing with types
# URL routing with types

(Asked by: username_0 on 2019-05-07)

We need to setup following URL:
DOMAIN/{lang}/{family}/offers/{slug}

e.g.:
example.com/en/Larsen/offers/example

What do we need to configure our section URL? Have anyone an idea?

**Tags:** craft3, url, routing

---

## 1 answers

### Answer by username_1 on 2019-05-07. Score: 1

What is the type of field of family ?
You don't have to enter the domain and language. Just start from family and forward. If family is the title field, write it like this:
{title}/offers/{slug}

if the family field is an element type, do it like this:
{familyField.last().uri}/offers/{slug}

or
{familyField.last().slug}/offers/{slug}

or if it is a title
{title}/offers/{slug}

> **Comments:**
> **username_0**: What we can do: We have more then one family for a offer (slug). I mean we should take a offer to x families.  

---

