Liquid, JavaScript, Themes
Hello
My online store needs to be SEO-optimized, and I'd like each page to have H1, H2, and H3 tags (main page, contact, stores, women all, dresses, etc., etc...) I guess it will be in the code, under themes → code → assets → XXX.page.liquid. Still, I haven't figured out how to change/set the headlines. Could anyone help me out?
Thank you!
@adddress_berlin it depends on where you want to make those modifications. Usually, you can look within the code editor in Sections or Snippets. Most themes include the use of headings. In this case, you can look for h1-h6-Tags and change them.
Thank you so much for your quick response! I checked again Sections and Snippets but still couldn't figure out how to change meta-tags and H's to SEO optimize the page.
Is there any possibility to access HTML and Js files somewhere in the directories provided by shopify. For instance if we want to change something directly in the master files or to add a meta tag manually in the master files.
Thank you!
@adddress_berlin the liquid files which are accessible via the Code-Editor contain HTML. Therefore, you can change the Headings in each Snippet or Section file. The Meta data can be modified in the Theme.liquid file within the Layout folder.
Here is an example of the code meta description:
{% if page_description != blank %}
<meta name="description" content="{{ page_description | escape }}">
{% endif %}
But at the end, it depends on the Theme you are using and how the theme developers set up the SEO-relevant sections.
To modify the product page, you can look for a section called "main-product.liquid" which might also contain a snipped called "product-template.liquid". But this, again, depends on the Theme you are using.
Mit dem Lernpfad der Shopify Academy und dem Verified Skills-Badge Expanding Your Sho...
By Shopify Feb 7, 2025Den Verkauf im Großhandel steigern: In der Shopify Academy lernst du, wie das geht, zum...
By Shopify Feb 3, 2025Teil 2 - Wie die Prinzipien des UX-Designs dir dabei helfen können einen großartigen Shop ...
By Kai Sep 16, 2024