Add SEO to "all collection" page

Solved
rockawaydigital
Shopify Expert
82 0 5

Hi guys,

 

I just came across this page without proper SEO set up, and I can't seem to find where this page is located. It's not in my collections, and neither in the regular website pages. It seems like this page is automatically generated (showcasing all collections), but where can I find it and add SEO?

 

https://www.honeybirdette.com/collections

 

 

Screen Shot 2019-12-02 at 2.43.30 PM.png

Accepted Solution (1)

Accepted Solutions
Lilith
Shopify Staff
Shopify Staff
603 72 171

This is an accepted solution.

Hey, @rockawaydigital!

 

My name is Lilith, I'm on the Social Care team at Shopify.

 

I'm glad that you asked this! This particular page pulls information from the metadata found in your Preferences section of your admin. You'll see the section named Title and meta description.

 

That said, you can do some modifications and custom additions to your metadata to this specific /collections page by adding some snippets to your theme.liquid code found in Online Store > Themes > Actions > Edit Code.

 

Make sure to insert this somewhere after <head> and before </head>:

 

{% if template == 'list-collections' %}
  // Your custom <meta> tags
{% else %}
  // Normal action if it's not the /collections page
{% endif %}

Another, way to do this is to use some SEO apps. If you don't already have them, I do recommend using the following:

 

 

Let me know how you do with the information above! I'm happy to answer any questions you think of as you work on your business.

Lilith | 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

View solution in original post

Replies 24 (24)
TheShopTinkerer
Explorer
71 10 9

I'm not sure there's a way to edit this in Shopify's normal SEO section for Collections but this is called a Collection List. You should have a liquid file that's called something like "list-collections-template.liquid" which is where that's generated.

Making Shopify Tasks Straight Forward. Contact me directly to get help with your Shopify website quickly and painlessly.

Website: https://theshoptinkerers.com/
rockawaydigital
Shopify Expert
82 0 5

@TheShopTinkerer  thank you! I had a chat with Shopify Plus helpdesk and they say it's not possible to edit it at this time.

 

I might hide it from google search instead 🙂

Lilith
Shopify Staff
Shopify Staff
603 72 171

This is an accepted solution.

Hey, @rockawaydigital!

 

My name is Lilith, I'm on the Social Care team at Shopify.

 

I'm glad that you asked this! This particular page pulls information from the metadata found in your Preferences section of your admin. You'll see the section named Title and meta description.

 

That said, you can do some modifications and custom additions to your metadata to this specific /collections page by adding some snippets to your theme.liquid code found in Online Store > Themes > Actions > Edit Code.

 

Make sure to insert this somewhere after <head> and before </head>:

 

{% if template == 'list-collections' %}
  // Your custom <meta> tags
{% else %}
  // Normal action if it's not the /collections page
{% endif %}

Another, way to do this is to use some SEO apps. If you don't already have them, I do recommend using the following:

 

 

Let me know how you do with the information above! I'm happy to answer any questions you think of as you work on your business.

Lilith | 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

rockawaydigital
Shopify Expert
82 0 5

hi @Lilith thanks so much for your reply. This code will only add tags right? not the meta title or description?

 

the current meta title displayed on google search ( Collections – Honey B - Honey Birdette)  has never been in the 'preference' section (nor in any apps), so not too sure why this is being pulled in at the moment 🙂

Lilith
Shopify Staff
Shopify Staff
603 72 171

@rockawaydigital thanks for the questions on the title and description! So, normally themes will pull that page's information from the Preferences section, but the Title can also come from your Settings > General > Store Name if the theme is built that way.

 

That said, it's possible to modify the title and description tags. I would double-check with your in-house developers to make sure these override the default. Each theme is different and can require a couple of extra steps. Besides all of that here are the snippets for title and description you'll add within the custom meta tags section of the snippet in my previous reply:

 

<title>The Title Goes Here</title>
<meta name="description" content="New meta description goes here" />

I do want to mention though, I'd keep those snippets in that "meta" section lean. Try not to add meta tags for keywords too much as this can eventually hurt your SEO ranking down the road.

 

After you're satisfied with the changes make sure to resubmit that sitemap again to the search engines you want to rank in. This helps search engines update your data better.

 

There's one other thing I wanted to add. Your store is phenomenal and your rankings are pretty great. I would recommend adding that Sitelink Search box to your search data on Google. I've got a guide on how to do that here, you'll want to make sure you have some assistance from your developer if you're not too comfortable doing this yourself. Keep in mind this is a bit more complex. Also, this can also be affected by Google's (or other search engines') algorithm.

 

This is what it could look like:

 

(Image from Google's Sitelinks Searchbox)

 

Image_dRmDAWCyCp

 

That search box is totally optional, but it can reduce the clicks it takes to get your prospects straight to the product they want.

Lilith | 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

rockawaydigital
Shopify Expert
82 0 5

hi @Lilith 


Thanks so much for the search bar recommendation, I wasn't aware of that! Will pass it onto the developers, thanks!

 

regarding below code, does this need to be placed in the "list-collections-template.liquid"?

<title>The Title Goes Here</title>
<meta name="description" content="New meta description goes here" />

thanks so much for your help!

Lilith
Shopify Staff
Shopify Staff
603 72 171

Hi @rockawaydigital

 

Sorry, I should have given you the full template example.

 

You'll want to add the tags in theme.liquid. You can find this under Online Store > Themes > Actions > Edit Code > Layout.

 

Just a quick reminder that the code for the meta data should go after <head> and before </head>.

 

Here's what the full snippet example for the title and description may look like once you've added it in:

 

{% if template == 'list-collections' %}
  // Your custom <meta> tags
<title>The Title Goes Here</title>
<meta name="description" content="New meta description goes here" />
{% else %}
  // Normal action if it's not the /collections page
{% endif %}

Happy to help anytime!

Lilith | 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

rockawaydigital
Shopify Expert
82 0 5

hi @Lilith thank you so much!

 

Just one more question on this; is it possible to leave the last bit out? So the rest of the pages will automatically have their meta data as it's set up now?

 

{% else %}
  // Normal action if it's not the /collections page

 

Lilith
Shopify Staff
Shopify Staff
603 72 171

Hi @rockawaydigital!

 

I'd recommend keeping that part in. The reason is that the code snippet indicates that if the page is the collection list, then it'll use the metadata you write in that code. However, if a visitor is any other page, it'll show the normal metadata that you've set in the admin for those pages. No need to change anything on that.

 

If you remove that second part, it'll default all the pages on the whole site to the collections list data, which won't be ideal for SEO. Alternatively, the code could also run into an error since it's using an if/then statement which is the only way to add that metadata to your collections list page.

 

Let me know if I can help answer anything else on this. Always happy to help!

Lilith | 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

Shubhi_02
Shopify Expert
10 0 2

Hi,
To begin with, let me tell you that you do not need to worry about this. Actually what happens is that Shopify creates an “all collection” page automatically or by default and it assigns the Meta Information of the Homepage of your web store to this “all collection” or  “/collections” page.

Therefore, you have to optimize your Homepage which will consequently optimize the “all collections” page.

To optimize your Homepage, go to the “Online Store” section of your Shopify store. Within this, you will see a subsection named “Preferences”. Clicking on this will direct you to the optimization space for your Homepage.

Hope this helps!

Shubhihasani
fp-cmorales
Explorer
44 2 5

Aside from what they mention about SEO Plugin for Shopify website: You have to work for Google Webmaster because I believe that it hasn't indexed yet your collections. You need to reindex your website wait the changes on Search Engine Result.

Glad2bee
Tourist
3 0 0

Hi Lilith,

I hope you don't mind me jumping on board with this.

I'm using supply theme and added the code to theme liquid.  The edited title and meta description is successfully showing up on the collections-list page and that page only but the homepage title and meta description is also still there. I'd be grateful for any input you could offer.view source collections page.JPG

 

Lilith
Shopify Staff
Shopify Staff
603 72 171

@Glad2bee Thanks for the screenshot on the source code there. Definitely helps to see the code!

 

Did you use the If/Then code in your theme to add the meta descriptions?

 

If you did, there might be something that could need a bit of a tweak to ensure that the correct metadata shows up. If you'd like to share the code you added our Shopify Community might be able to view what might be happening there.

 

I do also recommend working with some of the apps I mentioned in an earlier post or working 1:1 with one of our partners in the Experts Marketplace that can dive right into your code to make sure it's working exactly the way you need it.

Lilith | 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

Glad2bee
Tourist
3 0 0

Thank you so much for the reply Lilith.

I placed the code as follows. Edit code → Layout → Theme.liquid.

between <head> and </head> .

I placed following code :

{% if template == 'list-collections' %}

<title>Collections &ndash; Organicules  IE</title>

<meta name="description" content="Shop Organicules natural beauty products here. From shampoo and conditioner bars, natural deodorants and soaps to bath bombs and body scrubs. " />

{% else %}

{% endif %}

 

just in front of this code:

<title>
{{ page_title }}{% if current_tags %}{% assign current_tags_joined = current_tags | join: ', ' %} &ndash; {{ 'general.meta.tags' | t: tags: current_tags_joined }}{% endif %}{% if current_page != 1 %} &ndash; {{ 'general.meta.page' | t: page: current_page }}{% endif %}{% unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless %}
</title>

{% if page_description %}
<meta name="description" content="{{ page_description | escape }}">
{% endif %}

 

Thank you again

 

eModaOutlet
New Member
2 0 0

Hi there,

 

I have read all of your conversations and i have the same problem that i want to change meta-description of every single page and when i go to page i'm unable to find it. like, Products page, collections.

 

So in this case i don't to change my seo through liquid code, because which is not feasible for everyone. Is there any free plan app that you'll recommend me for changing my pages SEO ?

 

Thanks and Regards.

 

UsamaSubzwari.

rslygh
Tourist
9 0 6

This might be an old post, but I used it today to add a custom meta description to my /collections page. Thanks!

Ruutel
New Member
5 0 0

Hi, I've tried everything you've said but nothing seems to work. I have the Debut theme, can someone help me change my SEO for my all collection page? My website is ruutel.com.mx

 

(There's a screenshot attached which shows my website nowadays. I want to change the SEO description for "Productos")

Captura de Pantalla 2021-11-04 a la(s) 11.39.38.png

Lilith
Shopify Staff
Shopify Staff
603 72 171

@Ruutel were you able to try all the options in this earlier reply to this thread?

Lilith | 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

Ruutel
New Member
5 0 0

@Lilith yes, but nothing seems to work