How to delete the /all collection

Highlighted
New Member
2 0 0

I would like to remove the /all collection from shopify because its showing up on google search and that collection is a big mess. 

 

I tried creating a new collection with the handle /all as seen on another forum but that didnt fix it.

 

Any suggestions?

 

Thanks in advance

0 Likes
Shopify Expert
2133 356 446

Hi @CardsPlug 

You can not remove /all url, because its generating from shopify and we have not editing for that. You can create your oven collection and that contain link like:

/mens-collection 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes

Hello @CardsPlug,

 

Jill from Shogun Page Builder here. It is possible to add code into the theme that will prevent specific pages from being indexed by search engines. The "robots" meta tag is a commonly used in SEO for this purpose.

 

Shopify has this helpful guide on the topic:

https://help.shopify.com/en/manual/promoting-marketing/seo/hide-a-page-from-search-engines

 

Using step 5 of that guide as an example, you could add the following into the head of the theme to suppress the "all" collection:

 

{% if collection.handle == 'all' %}
<meta name="robots" content="noindex">
{% endif %}

Since Google caches pages for results, the page may not disappear from results as soon as that tag is added. However, once Google re-crawls your store, the "All" collection page should no longer show in Google search.

 

Hopefully that helps! :)

Jill Nahajewski | Head of Client Support, Shogun |
support@getshogun.com | Try Shogun Page Builder for Shopify for FREE!
1 Like