Hello, i hope someone can help:
How can I completely remove /pages and /collections from all slugs? This is really bad practice for SEO and really annoying when linking to a page.
I.e For a page that is: /pages/about I would want it to be about
For products, instead of products/item1 I would want it to be /item1
And for collections, instead of /collections/featured I would want it to be /featured
I'm using the Highlight theme FYI , so theme code setup might be different to other themes.
Thanks so much!
Solved! Go to the solution
This is an accepted solution.
This is an accepted solution.
I understand and it makes sense for /collections and /products. but not for /pages. Do you know how i can bypass the slug having /pages in it? so it shows directly to that page name?
Unfortunately, you cannot do that. I just did a test to confirm 😞
I just wanted to confirm what @Lucid_Polygon shared in the thread here. At this time the URL structure for all Shopify stores is the same and that can't be changed.
Our platform is optimized with SEO in mind and I want to assure you that the URL structure used across our millions of storefronts does not negatively impact your store's search engine optimization.
That being said, this is a frequent request from our merchants and it is feedback we continue to share with our developers for consideration. I will be happy to add your feedback on this as well.
thank you @Shay - good to know that its something that may be considered.
I wondered if redirects work for the time being, more for url vanity? I.e if i redirected domain.com/shop to domain.com/pages/shop.
@Lucid_PolygonAhh yes i forgot that a page cant exist to redirect.
But yes, I did mean redirect /shop to /pages/shop. I.e when someone clicks on a link that goes to domain.com/shop, it actually opens up domain.com/pages/shop.
i just tested it out and it works! but annoyingly Shopify won't let you redirect /shop. So i had to make it /shop-all to test it.
You can't redirect URLs that begin with the following prefixes: /apps, /application, /cart, /carts, /orders, /shop, or /services.
It doesn't make any sense why /shop goes to home as a default and that this can't be changed.
For my site, home shows main info about the business and some featured products with a link to the full shop (all products). So ideally I want /shop to link to a collection or page of all products. Not home.
It's fine for me to create a new slug, like /shop-all for now but it just makes no sense to me why Shopify make it so hard for us to have more control with this.
Now that makes sense. You have a different home page. Cool. I was thinking of a possible use case.
Agree, Platforms come with some silly restrictions.
Agree! but i guess its all to make them easier to use overall.
Thanks again for your help and patience!!
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023