Hi folks, is there any way I can add the H1 html tag to improve the SEO of the pages, but only on the pages with /tagged/ URL inside Shopify blog.
For example: https://mobilia-theme-milan.myshopify.com/blogs/news/tagged/accessories
This page is missing the H1 tag that could be “Accessories” (which is actually the name of the category).
Is there a way or suggestion to program this within the store’s theme?
Any help is welcome, thanks!
It’s surely possible, but you’d need to firstly identify what is the template being used in those specific pages. Without accessing the theme it’s difficult to pinpoint.
Once you do, then you can simply display the collection name using liquid. You may also want to double check it’s the correct page you using Javascript - since you want it to show up only on pages with “tagged”, you could test it via regex, something like:
/\/blogs\/news\/tagged\//gmi.test(window.location.href)
And then display the
accordingly.
Kind regards,
Diego