How to hide “collections/all” page in Shopify

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy the first month of Shopify for $1.

The “collections/all” page is automatically created by Shopify. This page will show all published products of the Shopify store. For some reason, you may not want visitors to this page. Yes, you can do that.

  • From your Shopify admin, go to Online Store > Themes.
  • Find the theme you want to edit, and then click Actions > Edit code.
  • In the Templates directory, click collection.liquid.
  • Insert below code to the top of this file
  • Insert below code to the bottom of this file
  • Click Save and you are done.

Happy coding!

Looking for Shopify Experts?

Hura Apps can help you take your store to the next level

Our team of experienced designers and developers can help you create a beautiful, high-converting Shopify store that will drive sales and increase customer satisfaction. From custom design to app development and optimization, we have the skills and expertise to help you achieve your eCommerce goals.

Get in touch

You may also like...

4 Responses

  1. Tom says:

    Thank you so much for posting this – it worked!!

    • Perry says:

      In doing this did it affect the child pages from here?

      e.g. /collections/bag-straps was still visible?

      Basically I’m looking to hide the /collections page for SEO reasons, but don’t want to effect the pages that sit beneath it.

  2. Mike says:

    I understand this may not be seen, but if so here is my issue.
    I do no have the collection.liquid section
    Only a collection.json and that says that the code provided is invalid.

    Thanks for any help.

  3. Patrick T says:

    i love u so muc hbroo IT ACTUAYLL FRREAING WORD WHAT RTHEH Ll

Leave a Reply

Your email address will not be published. Required fields are marked *