# How to create pages with Slug in the URL for product SEO?

**URL:** <https://community.weweb.io/t/how-to-create-pages-with-slug-in-the-url-for-product-seo/6055>\
**Category:** How do I?\
**Created:** [December 21, 2023, 6:10pm UTC](https://community.weweb.io/t/how-to-create-pages-with-slug-in-the-url-for-product-seo/6055 "2023-12-21T18:10:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asadriko](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@asadriko](https://community.weweb.io/u/asadriko)\
**Post date:** [December 21, 2023, 6:10pm UTC](https://community.weweb.io/t/how-to-create-pages-with-slug-in-the-url-for-product-seo/6055/1 "2023-12-21T18:10:06Z")

</div>

I have a page that is the showcase and I just created a dynamic page for the products with a parameter in the URL:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/679a409549484682abee2e7fe14005e5c5f976de.png)

This only works when accessing the URL via the link on the Vitrini page via a resquest with the click of a button:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/f/ff3c5f1165eb8a2ed8b100f2c156fb3f21afc761.png)

But when I press F5, or copy the URL and opening it directly returns 404:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/19256468a2e9ebed2183102c63dcbe76fa8f1dda.png)

Has anyone done something similar and can tell me where I’m going wrong?

Can you help Me [@weweb-team](https://community.weweb.io/groups/weweb-team) @Joyce ?

---

<div class="post-metadata">

**Author:** ![asadriko](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@asadriko](https://community.weweb.io/u/asadriko)\
**Post date:** [December 21, 2023, 8:57pm UTC](https://community.weweb.io/t/how-to-create-pages-with-slug-in-the-url-for-product-seo/6055/2 "2023-12-21T20:57:37Z")

</div>

I had two pages with the same url. I think was this the issue.  
I removed one, published again and it´s work.

I think will would better if has a constraint to not permit to duplicate URL too when this has variables.

---

<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:** [December 22, 2023, 1:38pm UTC](https://community.weweb.io/t/how-to-create-pages-with-slug-in-the-url-for-product-seo/6055/3 "2023-12-22T13:38:22Z")

</div>

Hi @asadriko 👋

Thanks for taking the time to share the solution on here and yes, great idea! Will pass it along to the product team 🙂
