Hreflang & multiple URL path [closed]

First of all, thank you for your answers, it helped me a lot until now.

However, I can’t find any documentation about this problem: I manage a multilingual blog and the urls of my articles are generated from the title of my articles, some examples below

FR > URL\.fr/la-grande-maison-verte-est-super EN-GB > URL\.co.uk/the-big-blue-house-is-beautiful 

I had an idea to handle this with href tags in the classic way, like below.

<link rel="alternate" hreflang="en" href="https://URL\.fr/la-grande-maison-verte-est-super" /> <link rel="alternate" hreflang="en-gb" href="https://URL\.co.uk/the-big-blue-house-is-beautiful" /> 

I have some doubts when it comes to the good practice of this method, I do not know if it will impact my SEO that I have text in another language in the URL. Do you have any examples of sites that handle this? I was thinking of a news site but I don’t see any site managing this!

Using hreflang in sitemap

I am using hreflang between main codes on a global website. My codes are as follows:

<link rel=”alternate” href=”https://example.com/en/” hreflang=”en” /> <link rel=”alternate” href=”https://example.com/tr/” hreflang=”tr” /> <link rel=”alternate” href=”https://example.com/en/” hreflang=”x-default” /> 

Other than these codes, should I use hreflang in the sitemap?

<url> <loc>https://example.com/</loc> <xhtml:link                  rel="alternate"                  hreflang="en"                  href="https://example.com/en/" />  <xhtml:link                  rel="alternate"                  hreflang="tr"                  href="https://example.com/tr/" />  <xhtml:link                  rel="alternate"                  hreflang="x-default"                  href="https://www.deezer.com/en/" /> </url> 

Can we implement hreflang on root domain for one country and on sub-folder for another country?

Is it possible for 2 countries, we can implement hreflang tags on root domain and a sub-folder, for example for US hreflang on www.example.com and for Italy www.example.com/IT can we do it like this?

I have added both urls in Google search console & submitted separate sitemaps, but Google is counting all pages (including sub-folders) for the main domain, so I am thinking that Google is considering main domain (root domain) as a whole website not a country specific as per hreflang.

If you know about this or have similar experience, then Appreciate your help! Thanks, Adil

Hreflang and canonical problem on session parameters

We have a oxid onlineshop with different domains/subdomains depending on currency and language.

Now we have a problem with hreflang tags, because of parameters

1) the session of the basket between domains is set by ?force_sid=(random string for session id)

2) for different views in categories like ?ldtype=grid&_artperpage=100&pgNr=0&cl=alist&searchparam=&cnid=3ae4a2e1dd7501139.35363255

if the url is accessed without the parameters then the canonical and hreflang tags are correct.

If the parameters are set then the canonical and hreflang tags are wrong.

What are the correct tags for example: www.example.de/category-name/?force_sid=e9k6p7d5dbpcu3s41p22tbll71 ?

We have:

<link rel="canonical" href="https://www.example.de/category-name/"> <link rel="alternate" hreflang="x-default" href="https://www.example.de/category-name/"> <link rel="alternate" hreflang="de" href="https://www.example.de/category-name/"> <link rel="alternate" hreflang="de-CH" href="https://www.example.ch/category-name/"> <link rel="alternate" hreflang="fr-CH" href="https://fr.example.ch/category-name/"> <link rel="alternate" hreflang="de-AT" href="https://www.example.at/category-name/"> <link rel="alternate" hreflang="fr" href="https://www.example.fr/category-name/"> <link rel="alternate" hreflang="en" href="https://www.example.com/category-name/"> <link rel="alternate" hreflang="es" href="https://www.example.es/category-name/"> 

Should en and x-default be included on the same page for hreflang tags?

We are using a tool such as SEMRush where it is flagging that the en and x-default values for the hreflang are causing conflicts.

Should both en and x-default be included for the hreflang tags?

This is what we have now.

<html> <head>   <link rel="alternate" hreflang="de" href="https://de.example.com/"> <link rel="alternate" hreflang="en" href="https://www.example.com/"> <link rel="alternate" hreflang="x-default" href="https://www.example.com/"> <link rel="alternate" hreflang="es" href="https://es.example.com/"> </head> <body>  .... </body> </html> 

Hreflang tags working for some pages but not other

Hi

We have our site set up with multiple country subdirectories. We have hreflang tags on all of the sites. It is mostly working OK but in some regions, the UK or .com pages are displaying instead of the local Canada/Ireland versions. We know it is all set up correctly as it's working for 80% of the pages. Our website agency has also confirmed it is all correctly set up.

Does anyone know why the wrong pages might be displaying for some of our keywords? It is only happening for a few…

Hreflang tags working for some pages but not other

HREFLANG and different GSC property for every language

According to this article https://www.searchviu.com/en/hreflan…ntation-guide/,
it’s suggested to create a Google Search Console property for every language or country version of your website.

So, this means different properties for every /de/, /fr/ etc subdirectory

I wonder how this is going to affect the previous history of our website.
Suddenly all our Impressions and Clicks will be split among different properties, which complicates things.

Do you really think that there are more benefits of doing this that worth the trouble?

How do I remove unwanted hreflang links from page

I have a content page in English with Japanese and Chinese translations. Even when I unpublished the translation nodes, the page source code will display the hreflang attributes to the unpublished languages in header.

<link rel="alternate" hreflang="en" href="https://testsite.com/dining.html" /> <link rel="alternate" hreflang="ja" href="https://testsite.com/ja/dining.html" /> <link rel="alternate" hreflang="zh-hans" href="https://testsite.com/zh-hans/dining.html" /> 

This seems to be generated automatically. And when I run a test for SEO these language links throws 404 error because they are unpublished. How do I remove the unpublished links from the hreflang. (And it should be automatically added when I publish the translations)