My site is in French and I do not know how to change the hreflang attribute to improve my targeting and SEO ...
6 comments
-
Official comment Hi, all! Thanks for your requests :) The best way to implement "hreflang" tags to your Strikingly sites is by adding a bit of code through Settings>Advanced>Custom Code>Header (for Pro) in your site editor pages.
Here's an example:
Your English site has the URL http://www.yoursite.com while your site's French version can be found through http://fr.yoursite.com.
- In your site editor, go to Settings>Advanced>Custom Code>Header of http://www.yoursite.com, add a link element pointing to the French version at http://fr.yoursite.com/. Here's how the code looks like:
<link rel="alternate" hreflang="fr" href="http://fr.yoursite.com/" />
- Do the same for your French site http://fr.yoursite.com. Go to the site editor and head on to Settings>Advanced>Custom Code>Header. This time, add the link element code pointing to your English site http://www.yoursite.com:
<link rel="alternate" hreflang="en" href="http://www.yoursite.com/" />
Learn more about "rel="alternate" hreflang="x" through this help article from Google. Hope this helps! :) - In your site editor, go to Settings>Advanced>Custom Code>Header of http://www.yoursite.com, add a link element pointing to the French version at http://fr.yoursite.com/. Here's how the code looks like:
-
We are also interested in hreflang tags. Any ideas on how to change or set them?
-
I also interest in hreflang with Strikingly
-
Thanks, all, for sending this in. Please check out your inbox :)
-
Hi,
I would be happy to know if I can can the hreflang tags as well.
Thank you
-
I would also like to know how to set up hreflang tag for my site is Japanese.
I believe this is a good topic to have in FAQ.