SEO friendly meta data and h1. How to?

Anton_Malyutin
Tourist
13 0 1

Hi all

Maybe someone knows, how I can create custom meta-title, description and h1 for each tag page.

For example, I have pages:

  1. https://site.com/collections/bags - collection page;
  2. https://site.com/collections/bags/black - tag page;
  3. https://site.com/collections/bags/big - tag page.

, and I want to create for 2,3 pages:

  • custom meta-title (e.g. "Good Black Bags in Store" and "Shop Big Bags - Store")
  • custom meta-description
  • custom h1 tag for each product-tag page.  

I think if it's not possible with base shopify functionally, maybe I can to hard coding in theme.liquid template, something like this:

if page url collections/bags/big 
then title = 

if page url collections/bags/black 

esle 
...

Thanks!

0 Likes
Rock_Paper_Copy
Shopify Partner
1021 0 110

Hi Anton! Maggie, a Shopify Partner here :)

The best way to optimize your Shopify content is with properly used H tags, internal links, bolded text, meta titles and descriptions. 

Learn how do optimize your Shopify content in this video tutorial:

How to SEO your Shopify pages

Maggie Tuczapska

Rock Paper Copy

Learn How to Set up a Shopify Store. Join our Shopify Training Course today: http://bit.ly/ShopifytrainingSEO
0 Likes
Digitalguru
New Member
1 0 0

Hi,

 

Admin section already have for custom meta tags. Access pages which you want to optimize meta tags. Put your own meta tags on that pages.

0 Likes
Anton_Malyutin
Tourist
13 0 1

Hi, 

Maybe, I bad explain. I will try again:

I want to seo-optimize tags pages. which generates when I add tags here http://prntscr.com/dk330k

In base Shopify generates these pages automatically and they are indexed. But they are very poorly optimized and I want to fix it.

UPD:

I try to use code like this:

{% if page.url == "/some-url" %}
  <title>something</title>
	{% else %}
  <title>other thing</title>
	{% endif %}

But it doesn't work

0 Likes
Tony_McCreath
Shopify Expert
240 0 38

Try displaying page.url to see what sort of values it is set to on those pages.

Technical SEO Consultant - Specialising in setting up Structured Data for Rich Snippets, Google Analytics for advanced reports and the Google Search Console for efficient crawling.
0 Likes