# 404 error when directly opening dynamic page that uses parameter

**URL:** <https://community.weweb.io/t/404-error-when-directly-opening-dynamic-page-that-uses-parameter/13624>\
**Category:** Ask us anything\
**Created:** [September 30, 2024, 10:02am UTC](https://community.weweb.io/t/404-error-when-directly-opening-dynamic-page-that-uses-parameter/13624 "2024-09-30T10:02:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay12](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@Jay12](https://community.weweb.io/u/Jay12)\
**Post date:** [September 30, 2024, 10:02am UTC](https://community.weweb.io/t/404-error-when-directly-opening-dynamic-page-that-uses-parameter/13624/1 "2024-09-30T10:02:41Z")

</div>

I created a dynamic collection page by binding to collection. (followed exactly this tutorial below)

> **[Dynamic collection pages | WeWeb Documentation](https://docs.weweb.io/pages/dynamic-collection-page.html#bind-to-collection-data)**
>
> Learn how to create a dynamic collection page

It works fine when I open this dynamic collection page from the collection list but I get 404 error when I open this page url directly (not through the collection list)

I set up the parameter like the following so I assumed when I access the URL directly (e.g. /detail/3401), then the “CurrentpageParameter” would be 3401 even if I don’t go through collection list. Am I missing something?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/736890b031829cd44e4ecb2cafe379a95f46af31.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/90a9b712dd6d435d1f6194bdc20cea20cfcd7d3a.png)
