Shopify: Maitiro Ekuronga Dynamic Theme Mazita uye Meta Tsananguro yeSEO uchishandisa Liquid

Shopify Template Liquid - Gadzirisa SEO Title uye Meta Tsananguro

Kana wanga uchiverenga zvinyorwa zvangu mwedzi mishoma yapfuura, uchaona kuti ndanga ndichigovera zvakawanda nezve ecommerce, kunyanya zvine chekuita ne Shopify. Kambani yangu yanga ichigadzira yakasarudzika uye yakabatanidzwa Shopify Uyezve saiti yemutengi. Pane kupedza mwedzi uye makumi ezviuru zvemadhora pakuvaka dingindira kubva pakutanga, takataura nemutengi kuti atibvumire kushandisa dingindira rakavakwa uye rakatsigirwa rakaedzwa nekuedzwa. Takaenda navo Wokiee, yakawanda Shopify Theme ine toni yekugona.

Zvakanga zvichiri kuda mwedzi yebudiriro kuti tibatanidze kuchinjika kwataida zvichienderana nekutsvaga kwemusika uye mhinduro dzevatengi vedu. Papakati pekuita yaive yekuti Closet52 inzvimbo yakananga-kune-vatengi ecommerce saiti uko vakadzi vaizokwanisa nyore. tenga madhirezi online.

Nekuti Wokiee idingindira remabasa mazhinji, imwe nzvimbo yatinonyanya kutarisisa ndeye kutsvaga injini optimization. Nekufamba kwenguva, isu tinotenda kuti organic search ichave yakaderera mutengo pakutenga uye vatengi vane chinangwa chepamusoro chekutenga. Mutsvagiridzo yedu, takaona kuti vakadzi vanotenga madhirezi ane 5 akakosha sarudzo dzinopesvedzera:

  • Zvitaera zvemadhirezi
  • Mavara emadhirezi
  • Mitengo yemadhirezi
  • Kutakurirwa mahara
  • Zvinonetsa-Mahara Zvinodzoka

Mazita uye meta tsananguro dzakakosha pakuita kuti zvinyorwa zvako zvinyorwe uye zviratidzwe nemazvo. Saka, hongu, isu tinoda zita reti tag uye meta tsananguro ine izvo zvakakosha zvinhu!

  • The title tag mumusoro wepeji yako wakakosha kuti uve nechokwadi chekuti mapeji ako akaiswa indexed nemazvo kutsvaga zvine chekuita.
  • The meta tsanangudzo inoratidzwa mumapeji ekutsvaga injini yekutsvaga (SERPs) inopa rumwe ruzivo runokwezva mushandisi wekutsvaga kuti adzvanye.

Dambudziko nderekuti Shopify inowanzo govana mazita uye meta tsananguro pane akasiyana mapeji matemplate - kumba, kuunganidzwa, zvigadzirwa, nezvimwe. Saka, ini ndaifanira kunyora mamwe mafungidziro kuti dynamically kuzadza mazita uye meta tsananguro nemazvo.

Gadzirisa Yako Shopify Peji Zita

Shopify's theme mutauro imvura uye yakanaka chaizvo. Ini handisi kuzopinda mune zvese zvemashoko eiyo syntax, asi iwe unogona kuburitsa zvine simba zita repeji zviri nyore. Chinhu chimwe chete chaunofanirwa kuchengeta mupfungwa apa ndechekuti zvigadzirwa zvine akasiyana ... saka kubatanidza akasiyana mumusoro wepeji rako zvinoreva kuti iwe unofanirwa kupenengura nesarudzo uye nekusimba kuvaka tambo kana template iri chigadzirwa template.

Heino muenzaniso wezita rekuti a jasi rakapfava.

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

Uye heino kodhi inoburitsa izvo mhedzisiro:

{%- 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>

Iyo kodhi inoparara seizvi:

  • Peji Musoro - sanganisira iro chairo peji rezita kutanga… zvisinei netemplate.
  • Tags - sanganisira ma tag nekujoinha ma tag ane hukama nepeji.
  • Chigadzirwa Makorori - loop kuburikidza nesarudzo dzemavara uye gadzira tambo yakaparadzaniswa nemakoma.
  • Metafields - iyi Shopify muenzaniso ine hurefu hwekupfeka semetafield yatinoshuvira kusanganisa.
  • mutengo – sanganisira mutengo wekutanga.
  • Zita Rezvitoro – wedzera zita rechitoro panoperera zita.
  • Separator - pane kudzokorora kuparadzanisa, tinongoita kuti ive tambo yekugovera uye kuidzokorora. Nenzira iyo, kana tikasarudza kushandura chiratidzo ichocho mune ramangwana, chiri munzvimbo imwe chete.

Gadzirisa Yako Shopify Peji Meta Tsananguro

Patakakambaira saiti, takaona kuti chero theme template peji yainzi yaidzokorora peji reimba SEO marongero. Taida kuwedzera imwe tsananguro yemeta zvichienderana nekuti peji racho raive peji rekutanga, peji remiunganidzwa, kana peji rechigadzirwa chairo.

Kana iwe usina chokwadi chekuti zita rako retemplate nderei, ingo wedzera chinyorwa cheHTML mune yako theme.liquid faira uye unogona kuona kunobva peji kuti uzvizivise.

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

Izvi zvakatibvumira kuona matemplate ese akashandisa tsananguro yesaiti kuitira kuti tigadzirise tsananguro yemeta zvichienderana netemplate.

Heino tsananguro yemeta yatinoda pane iri pamusoro chigadzirwa peji:

<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.">

Heino iyo kodhi:

{%- 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 }}">

Mhedzisiro iyi ine simba, yakazara seti yemazita uye meta tsananguro kune chero mhando yetemplate kana yakadzama chigadzirwa peji. Kufambira mberi, ini ndichanyanya kudzokorora kodhi ndichishandisa nyaya dzenyaya uye nekuironga zvirinani. Asi parizvino, iri kuburitsa huvepo hwakanaka kwazvo mumapeji emhedzisiro yekutsvaga injini.

Sezvineiwo, kana uchida kuderedzwa kukuru… tinoda kuti uedze saiti ne30% off coupon, shandisa kodhi. HIGHBRIDGE paunenge uchibuda.

Tenga Zvipfeko Zvino

Kuzivisa: Ndiri mubatanidzwa we Shopify uye Themeforest uye ndiri kushandisa izvo zvinongedzo mune ino chinyorwa. Closet52 mutengi wefemu yangu, Highbridge. Kana iwe uchida rubatsiro mukugadzira yako ecommerce kuvepo uchishandisa Shopify, ndapota taura nesu.