# Static collection page - modify URL?

**URL:** <https://community.weweb.io/t/static-collection-page-modify-url/3225>\
**Category:** Ask us anything\
**Tags:** static-collections\
**Created:** [June 27, 2023, 10:32am UTC](https://community.weweb.io/t/static-collection-page-modify-url/3225 "2023-06-27T10:32:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna.fae](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/anna.fae/32/776_2.png) [@Anna.fae](https://community.weweb.io/u/Anna.fae)\
**Post date:** [June 27, 2023, 10:32am UTC](https://community.weweb.io/t/static-collection-page-modify-url/3225/1 "2023-06-27T10:32:59Z")

</div>

I have static collection page and its URL is generated from slug.  
Now it is **[domain.com/slug-from-collection](http://domain.com/slug-from-collection)**

I need it to be:  
**[domain.com/TITLE/slug-from-collection](http://domain.com/TITLE/slug-from-collection)**

how to add “TITLE/” for URL because my collection is part of section with TITLE, user navigates ther by:  
[domain.com/TITLE/](http://domain.com/TITLE/)  
then  
[domain.com/TITLE/item](http://domain.com/TITLE/item)

looks like there is no way to update it?

 ![Screenshot 2023-06-27 at 06.27.45](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a1b7dba8356ca59d3c7105b412a53f78d5ccbfea.png)

---

<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:** [June 28, 2023, 10:32am UTC](https://community.weweb.io/t/static-collection-page-modify-url/3225/2 "2023-06-28T10:32:02Z")

</div>

Hi @Anna.fae 👋

You’ll need to update this in the “slug” field of your collection.

---

<div class="post-metadata">

**Author:** ![brandon](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/brandon/32/2804_2.png) [@brandon](https://community.weweb.io/u/brandon)\
**Post date:** [June 29, 2023, 5:44am UTC](https://community.weweb.io/t/static-collection-page-modify-url/3225/3 "2023-06-29T05:44:03Z")

</div>

@Joyce you are on fire in this forum. I swear over the last 3 days nearly every question I search you’ve dropped an answer just hours before I look. So first, THANK YOU for your hard work in keeping us informed!

Naturally, I just had this exact question that @Anna.fae had with a static collection of mine. Would you mind clarifying further what you mean by the slug field in the Collection? At first, I thought there was an actual Slug setting when editing the collection, but there is none. I’m guessing what you mean is that we just need to build that folder in to the fields value?

So for example, let’s say I want my collection to have a /tutorials/ folder in the URL. Instead of this value returning from Xano:

`how-to-create-a-slug-123`

I should have Xano instead return this value:

`tutorials/how-to-create-a-slug-123`

Is that what you mean by your answer?

---

<div class="post-metadata">

**Author:** ![Anna.fae](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/anna.fae/32/776_2.png) [@Anna.fae](https://community.weweb.io/u/Anna.fae)\
**Post date:** [June 29, 2023, 1:47pm UTC](https://community.weweb.io/t/static-collection-page-modify-url/3225/4 "2023-06-29T13:47:37Z")

</div>

I did it like that, added “concat” filter and “title” in xano for my slug field and it works on weweb like “/title/slug” text with correct navigation

---

<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:** [June 29, 2023, 10:39pm UTC](https://community.weweb.io/t/static-collection-page-modify-url/3225/5 "2023-06-29T22:39:03Z")

</div>

Haha thanks for the kind words 🙂

And yes, that is exactly what I meant! Thanks for taking the time to clarify 🙂

---

<div class="post-metadata">

**Author:** ![what.gift](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/what.gift/32/8069_2.png) [@what.gift](https://community.weweb.io/u/what.gift)\
**Post date:** [November 12, 2024, 11:04pm UTC](https://community.weweb.io/t/static-collection-page-modify-url/3225/6 "2024-11-12T23:04:47Z")

</div>

I’m using Hashnode in Headless mode to manage the blog.

It doesn’t allow the slug to add /pages/

I’m also managing session states where the domain is /gb/ or /us/ for different regions. Meaning that I need more flexibility with the URL than only serving one country on a domain.

Why are static collections so limited to the URL structure‽ Nevertheless, I’m thinking to setup some middleware to handle Hasnhnode as there’s a 50 article limit on the API (oh the joys). Then add specific GrapghQL queries for country regions.

I’m already forced away from using dynamic collections due to it’s missing SEO scope.

It just feels like a lot of workarounds to get a basic blog working ☹ How are other people managing this situation?
