How to hide “collections/all” page in Shopify

Hura Product Showcase Builder

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!

Hura Theme Blocks

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 *