• Resolved pexel

    (@pexel)


    Hello;
    Even though I configured the Turkish and English hreflang tags correctly, the user who logs in from England or America also opens in Turkish?
    What is the problem?

    <html lang=”en” prefix=”og: https://ogp.me/ns#”&gt;

    • This topic was modified 6 months, 2 weeks ago by pexel.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DAEXT

    (@daext)

    Hello pexel,

    hreflang doesn’t redirect the page. It is only a directive used by search engine.

    Based on your current settings users that use the English language will have the page https://pexpe.com/en/ served by search engine.

    I would also recommend to set the https://pexpe.com/en/ page with x-default and not https://pexpe.com/ page in Turkish language.

    • This reply was modified 6 months, 2 weeks ago by DAEXT.
    Thread Starter pexel

    (@pexel)

    Please, how exactly should I set en and tr? I don’t understand

    The main language of the site is Turkish.

    EN Page
    
    <link rel="alternate"  hreflang="en" />
    <link rel="alternate"  hreflang="tr" />
    <link rel="alternate"  hreflang="x-default" />
    
    TR Page
    
    <link rel="alternate"  hreflang="tr" />
    <link rel="alternate"  hreflang="en" />
    <link rel="alternate"  hreflang="x-default" />
    • This reply was modified 6 months, 2 weeks ago by pexel.
    Plugin Author DAEXT

    (@daext)

    Hello pexel,

    I recommend setting x-default to the English version of the site. However, this is a SEO related decision that should be made by the administrator.

    See:

    https://developers.google.com/search/blog/2013/04/x-default-hreflang-for-international-pages

    By inspecting the https://www.ads-software.com source code you see the hreflang tags. This is a good example similar to your case.

    • This reply was modified 6 months, 1 week ago by DAEXT.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hreflang Lang Problem’ is closed to new replies.