How To Change Shopify URL

Martha Nicholson
4 min readMar 28, 2021
Shopify URL

Shopify, as a digital selling platform, has gained huge popularity nowadays. People, especially women, are engaging more and more into this platform for their product-selling businesses. But unlike product selling in Shopify, the use of Shopify URLs are not so easy. They are a bit difficult to handle as they contain lots of limitations. Let’s discuss Shopify URLs and learn how to change them in the easiest way.

What Is Shopify?

Shopify is an online platform for business purposes, especially product selling. It is online software that is completely based on subscription. You can set a store and sell your products online via this Shopify platform. By using SEO services, you can update and spread up your customer lines easily. If you want to know more about Shopify, you can google it and learn about Shopify SEO services.

How To Change Shopify URL

Shopify URLs are quite difficult to change. You will find two types of URLs there- product URLs and collection URLs. They have different structures and limitations to be changed into. Let’s learn in detail about both Shopify URLs and how to change them as well.

Product URL

In case of product URL changing of Shopify, you will find them in a subfolder of products. The URLs in the subfolder will remain within the boundary of the category path.

If we provide an example, it will be more easily understandable — https://uk.gymshark.com/collections/bottoms/products/gymshark-origin-seamless-leggings-black-marl. Now, for changing this URL, you have to set the tag up, which is canonic for this page, just at the top-level section of this page. So, the changed URL with a changed tag of this page will be like this — https://uk.gymshark.com/products/gymshark-origin-seamless-leggings-black-marl.

Again, you can change the URL as it does not contain the category path with it. In order to change the URL, you have to follow some instructions, which include:

· First, you must log in or sign in to the backend account that you already have.

· Secondly, you need to enter into the theme section. To enter the section, you have to change or edit your code in a file named product. liquid. This file you will find just under the snippets option.

· Be careful and do not get confused with the different liquid names. Because the liquid name under which your product code belongs might vary from store to store.

· Now, you will get to see the remaining product URL of your page. The URL structure will be somehow like this-<a href= “{{product.url l within: collection}}”>”

· You have to remove “l within: collection” from this structure. Then, the structure will be changed into product links from the previous pages of the product list.

· Finally, the product links will be linked up into the page structure of top-level/products/product-url-key. Thus, it will become matched up with the changed canonic tag successfully.

· Matching up the canonic tag means you have made your Shopify product URL changed.

Collection URL

Shopify collection URLs are far different than product URLs. You can not change the collection URLs as you did with the product URL. Collection URLs are always unchangeable, such as https://uk.gymshark.com/collections/accessories. Collection URLs do not possess any / signs in them. Rather they make it replaced by a hyphen sign.

For example, in the case of https://uk.gymshark.com/collections/t-shirts/tops/womens this link, the ‘/’ will become ‘-‘ like this https://uk.gymshark.com/collections/t-shirts-tops/womens.

Moreover, in the case of a Shopify collection URL, there is no parent-child relationship in it. It never supports this type of relationship for its back at all. In visual merchandising, Shopify collection URL inherits the logic directly from its parent instead of making a parent-child relationship with it. But if you use an additional or extra filtered layer or tag for this page, you might overcome the imitations a little that the Shopify collection URL carries.

We provide here an example for you-https://uk.gymshark.com/collections/sports-bras/womens. We have done this through the implementation of metadata and content on the page as well as through the use of an additional tag. Now, this page is able to imitate collection only from the perspective of SEO instead of the perspective of management and others.

You will face some limitations in customizing the page. The page will no longer work with prior flexibility. Such as, on a large scale, you can not use the tactic for product sorting cases.

Conclusion

Finally, the necessary information about how to change a Shopify URL is at your hand now. You have learned how to change the product URLs in Shopify and also what limitations Shopify collection URLs contain. Now, hopefully, you will be able to do it all by yourself — best of luck for your journey with Shopify.

--

--

Martha Nicholson

Martha Nicholson is a professional content marketer that loves to share her knowledge by publishing blogs online. She has spent the last five years offering