Edit the meta data of collections/all pages

Edit the meta data of collections/all pages

Andrewism101
Tourist
5 0 2

We have SEO Yoast installed and the collections/all pages have been picked up as SEO Yoast thinks it's a standard collections page. Which is fine as a fallback but ideally, we would want to individually change the title and description. So normally how would you do this in Shopify?

 

For example https://domain.com.au/collections/all/radiant-cut

Replies 4 (4)

oscprofessional
Shopify Partner
16343 2438 3179

@Andrewism101 ,

All pages should have an option for meta data.

oscprofessional_0-1651048246818.png

oscprofessional_1-1651048316662.jpeg

 

 

have you checked the collection page?

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...
Andrewism101
Tourist
5 0 2

Yes, but it's a products archive page denoted by the /all/ in the URL. Take out the all, and yes I can find those easily. I believe the ALL is something shopify does by default to create more options for users but creates SEO headaches.

 

/collections/all/oval-cut - I thought I could find this tagging somewhere but I cannot.

Andrewism101
Tourist
5 0 2

So I want to put an if conditional to look for “/collections/all/round-cut” for example and if it doesn’t match PAGE.URL, load the default <title> (see below).

 

If {% page.url = “/collections/all/round-cut” % }

<title>NEW TITLE</title>

{% endif %}

 

If {% page.url = “/collections/all/halo-cut” % }

<title>NEW TITLE</title>

{% endif %}

 

 

 

// load default if two or more above don’t match current page URL

<title>{% if current_tags %}{{ current_tags | join: ', ' }} {% endif %}{{ seo_title }}</title>

jlbrookman
Visitor
1 0 0

Hi,

Did you find a work around for this?