How can I remove '/pages/' from my website URL?

Hi,

one of my pages is under www.annas-blumenpoesie.de/pages/DIY. I want to remove the /pages/ so that the URL looks like www.annas-blumenpoesie.de/DIY.

Any idea how this can be accomplished? in the page menu under SEO it cant be changed because the /pages/ is a fix part of the URL.
My theme is testament and the pw to enter the page is ublick.

Thanks!

2 Likes

Hi @huks ,

You cannot actually change the URL structure of a Shopify store. What you could do though, if your intent is to create a cleaner URL for sharing, is create a URL redirect. You can go to Online Store > Navigation, click on URL Redirects, and add a new redirect from /DIY to /pages/DIY. This way when a visitor uses the www.annas-blumenpoesie.de/DIY link, they will be instantly redirected to the Shopify URL.

5 Likes

Technically you could do this through some kind of URL rewrite with a proxy in front of Shopify. Could theoretically do it with CloudFlare Workers.

Would be a lot of mucking around for very minimal gain imo.

If you’re going to go to these kind of extremes to tackle Shopify URL-isms there are bigger things to fix first like the lack of sub-categorisation or duplicate URL’s for the same product existing.

2 Likes

It’s nauseating that this is the only solution, given it’s not actually a solution, but a workaround. Shameful bleep. (Not you of course, but this clunky product).

3 Likes

Thank You SOOOOO much I did it and its working :folded_hands:

Totally agree this is crazy.

3 Likes

Here is the solution to remove /pages and create custom URL structure.