How can I delete /pages, /products from my URL using the Dawn theme?

Hi,

How can I remove /pages, /products, /collections etc from my url? It looks awful and weird. I’m using the Dawn theme.

hey, Jiozx

I’m afraid you can’t remove that, at least not from the admin. Those are native structuring of shopify sites. You can try contacting someone from the support team, but I really don’t think that this is changeable

Hi,

I have seen videos on YouTube showing that it is possible if you change the theme code. But none of them show which file you have to edit if you’re using the Dawn theme.

can you show me one of those videos so that I can see what is being done?

Sure. Here’s the shortest video of them: https://youtu.be/sb6LzZbey48

hey, Jiozx. I don’t know if all of them follow this same idea, but what happens in this video is:

it’s not that the /collection path is being removed directly from the system. What is being changed in the code is that, previously, the code was setting the backend to provide the path to a product within a collection, and then, the person on the video removed this, now it’s no longer necessary to show in which collection the product is inside. Did you notice that although the collection is removed from the path, the url continues to have /products ?

Nope … didn’t notice it at all