Chuyển đến nội dung

Manual snippet

Nội dung này chưa có sẵn trong ngôn ngữ của bạn.

Some page templates are not available in multiple languages, you can manually create and paste in both your Vietnamese and English articles. Make and save with ghost’s Snippet card for reuse.

Ghost's snippet tag
Ghost’s snippet tag
<link rel="alternate" href="https://[domain.com]/en/[slug]/" hreflang="en" />
<link rel="alternate" href="https://[domain.com]/[slug]/" hreflang="vi" />
<link rel="alternate" href="https://[domain.com]/en/[slug]/" hreflang="x-default" />

Replace

  • [domain.com] with your domain
  • [slug] with the post’s slug. Note that the copy is correct, with the slug in the line hreflang="vi", copy the correct slug of that article. Similar to hreflang="en"

Then copy and paste into both posts at Code injection > Post header

Paste in the Post header of 2 articles
Paste in the Post header of 2 articles

Check out any or both if you’re doing it for the first time at: https://technicalseo.com/tools/hreflang/