How to create a custom URL for a collection in Vtex IO?

I’d like to know how to create a custom URL for a collection in VTEX IO. In CMS it was apparently much simpler, but I couldn’t find anything straightforward in IO.

Basically what I need is:

I already have the collection “Oferta da Semana” (/159?map=productClusterIds) created and I need to create a presentable URL that I can share with customers more easily, since in its native form that kind of URL is way too complicated to communicate.
I’d like it to look something like https://www.mydomain.com/weeklyoffers

How do I go about creating this collection URL in VTEX IO?

Hi @jardel.sausen, how are you? Hope you’re doing well!

I believe these two pieces of documentation can help you answer your question:

There are two ways to create custom landing pages — one through the admin itself if you already have your template in admin/cms/pages, and once it’s created you can edit the customQuery template through the site editor
https://help.vtex.com/pt/tutorial/criando-landing-pages--2DqFleXKz0Vsg3KhHLuUEB

If you don’t have your template created yet, you’ll need to create it in your store’s theme so it can be reused

Hope it helps :smiley:

Hi Jardel, how are you?

Using VTEX IO to create a friendly URL. Basically what we do is go to Pages and create a page using a template that has a search inside it — here at Imediata we always create a template called Collections for this kind of situation.

Then you go to the Site Editor, in the Search block, enter the collection ID, and you’re done.

Just send the URL of the created page to the clients :slight_smile:

I hope this helps in some way, cheers.