[Resolved] hreflang is not visible below header structure
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is looking to install the hreflang attribute to improve SEO for different languages on their website. They have checked their account settings and read a blog post on the topic, but they cannot find the hreflang code in the
section of their website.
Solution: We have reviewed the source code of the client's website and confirmed that the hreflang attributes are correctly placed within the
<head>
section, not the
, which is part of the body element. The hreflang tags are correctly implemented as follows:
In my previous support ticket I did get some help for my seo. I want to install the Hreflang so Google will better understand the different languages we have on our website.
Right now I see all the settings in my account are fine. But when I check where the hreflang code is for my website I can't find it below the <header>
I also did read the whole blog post and my seo specialist did a check but it is not installed right now. I hope you guys can help me because we are making big steps already with seo for different countries thanks to your plugin!
But this is an very important step to do it way better.
The `hreflang` attribute should be placed in the `<head>` section of an HTML document, specifically within the `<link>` element in the `<head>` section. The purpose of the `hreflang` attribute is to indicate the language and regional targeting of a webpage. Placing it in the `<head>` section helps search engines understand the language and geographical targeting of the page, which can be important for SEO (Search Engine Optimization) and ensuring that users are directed to the correct version of a page based on their language and location preferences.
So it should not end up in header which is placed within the body element.
I understand and did ask it to my seo specialist worker. He said We need to add the location also. So by example fr-FR. I'm scared this will have negative effect on my seo. Could please help me step by step so we won't lose our seo positions.
We have .nl bu in Belgium they als speak dutch. So we need a nl-BE right? I was thinking about the following:
nl-NL | Netherlands
nl-BE | Belgium north
fr-FR | France
fr-BE | Belgium south
de-DE | Germany
de-AT | Oostenrijk
de-CH | Zwitserland
en-UK | England
es-ES | Spain
it-IT | Italy
sw-SV | Sweden
Right now we have by example a dutch website and in Belgium they also speak dutch. But you can't find this back in the hreflang. We just have .nl right now. But we need to tell in the hreflang that our website is also for Belgium so Google understand it.
Do you know a colleague who got experience for Europe hreflang settings maybe? it's very very important for us.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.