Shopify: Otu esi hazie aha isiokwu dị egwu yana nkọwa meta maka SEO site na iji Liquid

Shopify Template Liquid - Hazie aha SEO na nkọwa meta

Ọ bụrụ na ị na-agụ akụkọ m n'ọnwa ole na ole gara aga, ị ga-achọpụta na m na-ekerịta ọtụtụ ihe gbasara ecommerce, karịsịa gbasara Shopify. Ụlọ ọrụ m na-ewulite nke ọma ahaziri ahazi yana jikọtara ya Zụọ ahịa Gụnyere saịtị maka onye ahịa. Kama itinye ọnwa na iri puku kwuru iri puku dollar iji wuo isiokwu site na mmalite, anyị gwara onye ahịa ka anyị kwe ka anyị jiri isiokwu wuru nke ọma ma kwado nke nwalere ma nwalee. Anyị soro Wokiee, Okwu Shopify nwere ọtụtụ ihe nwere ike.

Ọ ka chọrọ ọnwa mmepe iji tinye mgbanwe anyị chọrọ dabere na nyocha ahịa na nzaghachi ndị ahịa anyị. Isi mmalite nke mmejuputa a bụ na Closet52 bụ saịtị ecommerce na-ere ahịa ozugbo ebe ụmụ nwanyị ga-enwe ike ịdị mfe. zụta uwe n'ịntanetị.

N'ihi na Wokiee bụ isiokwu nwere ọtụtụ ebumnuche, otu mpaghara anyị lekwasịrị anya nke ukwuu bụ njikarịcha njin ọchụchọ. Ka oge na-aga, anyị kwenyere na nchọ organic ga-abụ ọnụ ahịa kacha ala n'otu n'otu yana ndị na-azụ ahịa nwere ebumnuche kacha elu ịzụta. Na nyocha anyị, anyị chọpụtara na ụmụ nwanyị na-azụ ahịa maka uwe nwere isi mkpebi ise:

  • Ụdị ejiji
  • Agba nke uwe
  • Ọnụ ahịa uwe
  • Free Shipping
  • Nghaghachi na-akwụghị ụgwọ

Aha na nkọwa meta dị oke egwu mgbe ị na-edepụta ọdịnaya gị ma gosipụta nke ọma. Yabụ, n'ezie, anyị chọrọ mkpado aha na nkọwa meta nwere isi ihe ndị ahụ!

  • The aha mkpado na isiokwu ibe gị dị oke mkpa iji hụ na edepụtachara ibe gị nke ọma maka ọchụchọ ndị dị mkpa.
  • The nkọwa nkọwa a na-egosipụta na ibe nsonaazụ ọchụchọ (SERPs) nke na-enye ozi ndị ọzọ na-adọrọ mmasị onye ọrụ ka ọ pịa.

Ihe ịma aka bụ na Shopify na-ekekọrịtakarị aha na nkọwa meta n'ofe ndebiri ibe dị iche iche - ụlọ, mkpokọta, ngwaahịa, wdg. Yabụ, ekwesịrị m ide ụfọdụ mgbagha iji mejupụta aha na nkọwa meta nke ọma.

Welie aha ibe ụlọ ahịa Shopify gị

Asụsụ isiokwu Shopify bụ mmiri mmiri ma ọ dị mma nke ukwuu. Agaghị m abanye na nkọwa niile nke syntax, mana ị nwere ike ịmepụta aha ibe dị mfe. Otu ihe ị ga-eburu n'uche ebe a bụ na ngwaahịa nwere variants ... yabụ itinye ụdị dị iche iche n'ime aha ibe gị pụtara na ị ga-emerịrị nhọrọ ahụ wee wuo eriri mgbe template bụ a. ngwaahịa ndebiri.

Nke a bụ ọmụmaatụ aha maka a uwe akwa akwa akwa.

<title>Plaid Sweater Dress on sale today for $78.00 » Multi Knee-Length » Closet52</title>

Ma ebe a bụ koodu na-arụpụta nsonaazụ ahụ:

{%- capture seo_title -%}
  {{- page_title -}}
    {% assign my_separator = " » " %}
    {%- if current_tags -%}{%- assign meta_tags = current_tags | join: ', ' -%}{{ my_separator }}{{ 'general.meta.tags' | t: tags: meta_tags -}}{%- endif -%}
    {%- if current_page != 1 -%}{{ my_separator }}{{ 'general.meta.page' | t: page: current_page }}{%- endif -%}
    {%- if template == "product" -%}{{ " on sale today for " }}{{ product.variants[0].price | money }}{{ my_separator }}{% for product_option in product.options_with_values %}{% if product_option.name == 'Color' %}{{ product_option.values | join: ', ' }}{% endif %}{% endfor %}{% if product.metafields.my_fields.dress_length != blank %} {{ product.metafields.my_fields.dress_length }}{%- endif -%}{%- endif -%}{{ my_separator }}{{ shop.name }}
{%- endcapture -%}
  
<title>{{ seo_title | strip_newlines }}</title>

Koodu na-agbaji dị ka nke a:

  • Peeji Mbụ – tinye aha peeji nke n'ezie… n'agbanyeghị ụdị ndebiri.
  • Tags - tinye mkpado site na ijikọ mkpado jikọtara ibe.
  • Agba agba - gaa na nhọrọ agba wee wuo eriri rikoma kewapụrụ.
  • Metafields - ihe atụ Shopify a nwere ogologo uwe dị ka metafield nke anyị chọrọ ịgụnye.
  • price – gụnye ọnụahịa variant nke mbụ.
  • Namelọ ahịa Aha – tinye aha ụlọ ahịa na njedebe nke aha.
  • Nkewa - kama ikwugharị onye nkesa ahụ, anyị na-eme ka ọ bụrụ ọrụ eriri ma megharịa ya. N'ụzọ dị otú ahụ, ọ bụrụ na anyị kpebie ịgbanwe akara ahụ n'ọdịnihu, ọ bụ naanị n'otu ebe.

Welie nkọwapụta meta nke ụlọ ahịa Shopify gị

Mgbe anyị gara na saịtị ahụ, anyị chọpụtara na ibe template isiokwu ọ bụla a na-akpọ na-emegharị ntọala SEO ụlọ. Anyị chọrọ ịgbakwunye nkọwa meta dị iche dabere ma ibe ahụ ọ bụ ibe ụlọ, ibe mkpokọta, ma ọ bụ ibe ngwaahịa n'ezie.

Ọ bụrụ na ịmaghị aha ndebiri gị, tinye naanị ndetu HTML na nke gị isiokwu.liquid faịlụ ma ị nwere ike ịlele isi mmalite nke ibe iji chọpụta ya.

<!-- Template: {{ template }} -->

Nke a nyere anyị ohere ịchọpụta ndebiri niile ejiri nkọwa meta saịtị ahụ ka anyị nwee ike gbanwee nkọwa meta dabere na ndebiri ahụ.

Nke a bụ nkọwa meta anyị chọrọ na ibe ngwaahịa dị n'elu:

<meta name="description" content="Turn heads in this classic hunter green plaid sweater dress. Modern updates make it a must-have: the stand-up neckline, three-quarter sleeves and the perfect length. On sale today for $78.00! Always FREE 2-day shipping and hassle-free returns at Closet52.">

Nke a bụ koodu ahụ:

{%- capture seo_metadesc -%}
  {%- if page_description -%}
    {%- if template == 'list-collections' -%}
      {{ "Find a beautiful dress for your next occasion. Here are all of our beautiful dress collections." | strip }} 
    {%- else -%}
    {{- page_description | strip | escape -}} 
      {%- if template == 'product' -%}
        {{ " On sale today for " }}{{ product.variants[0].price | money }}!
      {%- endif -%}
   {%- endif -%}
  {%- endif -%}
  {{ " Always FREE 2-day shipping and hassle-free returns at " }}{{ shop.name | strip }}.
{%- endcapture -%}
  
<meta name="description" content="{{ seo_metadesc | strip_newlines }}">

Ihe si na ya pụta bụ nhazi aha na nkọwa meta dị ike, zuru oke maka ụdị ndebiri ọ bụla ma ọ bụ ibe ngwaahịa zuru ezu. N'ịga n'ihu, enwere m ike megharịa koodu ahụ site na iji nkwupụta ikpe wee hazie ya nke ọma. Mana ugbu a, ọ na-ewepụta ọnụnọ kacha mma na ibe nsonaazụ ọchụchọ.

Site n'ụzọ, ọ bụrụ na ị ga-amasị nnukwu ego… anyị ga-amasị gị iji nwalee saịtị na a 30% anya coupon, jiri koodu. HIGHBRIDGE mgbe ị na -apụ.

Ahịa maka Uwe Ugbu a

Ngosipụta: Abụ m mmekọ maka Shopify na Okwu na m na-eji njikọ ndị ahụ n'isiokwu a. Closet52 bụ onye ahịa nke ụlọ ọrụ m, Highbridge. Ọ bụrụ na ịchọrọ enyemaka n'ịzụlite ọnụnọ ecommerce gị site na iji Shopify, biko kpọtụrụ anyị.