Shopify themes, liquid, logos, and UX
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!
Hannah
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 😞
What do you do if you're migrating a site and you want to do it so that the URL matches somewhere you had an older URL for SEO purposes? Because for us we are trying to reindex but now the URL is domain/pages/subject instead of domain/subject.
Hey @sleepydev
In this situation you would want to set up URL redirects in your store admin. You can find this option in your admin under Online Store > Navigation. The option to see your URL redirects will be a button in the upper right corner of the window.
You can learn more about this feature in our Help Center: Shopify Help Center | URL redirects.
Shay | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
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.
Shay | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
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!!
Is there an update on this? I am trying to do the same thing.
Me too! Completely blindsided that it can't be edited. I have the URL printed and displayed in multiple places so that /pages/ is totallymessing me up! Had no idea such stupidity would exist when I decided to switch platforms. 😞
Agree, it so unnatural for such directory pathway to exist for SEO, extra folder to open for Google crawler, and it's not just one category, it's for major pages, following this thread.
Hello @Shay
Is there an update regarding the implementation of shorter URLs? Because of the URL folder /pages/ we cannot use the Shopify CMS.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024