# Routing Problem

**URL:** <https://community.weweb.io/t/routing-problem/3949>\
**Category:** Ask us anything\
**Created:** [August 19, 2023, 9:04pm UTC](https://community.weweb.io/t/routing-problem/3949 "2023-08-19T21:04:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SilasCG](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@SilasCG](https://community.weweb.io/u/SilasCG)\
**Post date:** [August 19, 2023, 9:04pm UTC](https://community.weweb.io/t/routing-problem/3949/1 "2023-08-19T21:04:43Z")

</div>

Hey,

i have a problem. I created two dynamic pages with following structure: URL 1: “[domain.com/{{param1}](http://domain.com/%7B%7Bparam1%7D)}” and URL 2: “[domain.com/{{param1}](http://domain.com/%7B%7Bparam1%7D)}/{{param2}}”. Internally it works great, but when im trying to copy to URL 1 and paste it into a browser (so the whole app gets reloaded) im getting a 404 error, URL 2 works fine. Does anyone know how i can fix that? I also can see that the url gets redirected to: “[domain.com/{{param1}](http://domain.com/%7B%7Bparam1%7D)}/” ending with a backslash.

And again this only happens when the app loads, not when i change the route when the app is loaded.

Edit: I found a solution, i dont know why but the Page has still used his old path /search/{{param1}}, i deleted this Page and put all content into a new one, now it works fine

Thanks

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [August 21, 2023, 8:29am UTC](https://community.weweb.io/t/routing-problem/3949/2 "2023-08-21T08:29:51Z")

</div>

Glad you found a solution, @SilasCG! Thanks for taking the time to share it with us 🙂
