# Problem with Dynamic Routes

**URL:** <https://community.prismic.io/t/problem-with-dynamic-routes/12767>\
**Category:** Developing with Prismic\
**Created:** [March 24, 2023, 10:38am UTC](https://community.prismic.io/t/problem-with-dynamic-routes/12767 "2023-03-24T10:38:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent07](https://avatars.discourse-cdn.com/v4/letter/v/e47c2d/32.png) [@Vincent07](https://community.prismic.io/u/Vincent07)\
**Post date:** [March 24, 2023, 10:38am UTC](https://community.prismic.io/t/problem-with-dynamic-routes/12767/1 "2023-03-24T10:38:42Z")

</div>

Hi everybody!

I have a little issue with my dynamic routes.  
I have Client (portfolio), and Landing Pages.

I set up the route:

```auto
apiOptions: {
      routes: [
        // Resolves the Homepage document to "/"
        {
          type: 'homepage',
          path: '/',
        },
        {
          type: 'article',
          path: '/blog/:category/:uid',
          resolvers: {
            category: 'category'
          }
        },
        {
          type: 'client',
          path: '/cas-clients/:uid'
        },
        {
          type: 'landing_page',
          path: '/:category/:uid',
          resolvers: {
            category: 'category'
          }
        },
      ],
    },

```

But, landing\_page and client look like they overlap.  
The path has the same "structure".

/cas-client/uid  
/:category/:uid.

So when i click on a landing page button, Nuxt use the "client" type route, and crash.

☹

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [March 27, 2023, 3:17pm UTC](https://community.prismic.io/t/problem-with-dynamic-routes/12767/3 "2023-03-27T15:17:20Z")

</div>

Hello @Vincent07

In the case of these routes:

`/cas-clients/:uid` and  
`/:category/:uid`

It should be on different levels like:

`/cas-clients/client_id/:uid`  
`/:category/:uid`

Thanks,  
Priyanka
