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.
Here is the solution to remove /pages /products /collections and create a custom URL structure.
With all due respect, if you didn't know the situation with Shopify with this, or how to do this, then you possibly should clarify if your understanding on bad URLs is actually canonical. I hope you are not selling that as a service right now. We all have a learning journey, but I can assure you, that having collection in the url is not the problem. (Nor /pages/)
But if you're so concerned, simply open a Wordpress instance and park your blog pages there. Then you can set permalinks to what you like and use a proxy redirect to pull the Shopify URLS, masked with what you like.
Google cares a lot more about taxonomy, authority, experience and the content of the page, than it cares about a folder name for a slug, or websites like Booking.com, Trip Advisor or Kayak would never get any traffic.
This is the answer
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025