x

How to add the hreflang-Tag for Google to Weebly's blog

Hello, on my website I have a blog that is translated into two languages: English and Spanish

For each blogs I have gone to Page > SEO Settings > Header Code and I have added the hreflang codes:

<link rel="alternate" hreflang="en" href="https://www.drivingyourdream.com/cardesigncourse" />
<link rel="alternate" hreflang="es" href="https://www.drivingyourdream.com/cursoautomocion" />
<link rel="alternate" hreflang="x-default" href="https://www.drivingyourdream.com/cardesigncourse" />


The question is:

Is it enough? or,  Do I have to add the code to each of the blog posts? In that case, How would you do it? Dragging with the Html tool?   

Thank you very much


Best regards

676 Views
Message 1 of 2
Report
1 REPLY 1
Square

If you've added that to the header code for the blog page, it will also be used on any blog post for that particular blog, @miguelangel. You shouldn't need to add anything to any individual blog post.

646 Views
Message 2 of 2
Report