#1
  1. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    May 2018
    Posts
    13
    Rep Power
    0

    x-default hreflang


    Hi

    I have a website in which I need to target homepage (Example Domain) internationally and one different page (www.example.com/usa) in USA particularly.
    Both the pages are in English.

    I need to know is the following code correct for both pages or there need some changes.

    Here is the code:

    URL - https://www.example.com

    Code
    <link rel="alternate" hreflang="x-default" href="https://www.example.com" />
    <link rel="alternate" hreflang="en-us" href="https://www.example.com/usa/" />

    URL - https://www.example.com/usa/

    Code
    <meta http-equiv="content-language" content="en-us" />
    <link rel="alternate" hreflang="x-default" href="https://www.example.com" />
    <link rel="alternate" hreflang="en-us" href="https://www.example.com/usa/" />
  2. #2
  3. No Profile Picture
    Moderator
    SEO Chat Hero (2000 - 2499 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    2,402
    Rep Power
    3129
    Please search the forum, this exact question has been asked, and answered just recently.

    There are even working examples.

Similar Threads

  1. New to HREFLANG
    By RachelFinch in forum New User SEO Questions and Answers
    Replies: 1
    Last Post: Mar 9th, 2018, 08:59 AM
  2. Hreflang Tag
    By syreshven in forum New User SEO Questions and Answers
    Replies: 3
    Last Post: Jan 24th, 2018, 05:50 AM
  3. global hreflang x-default
    By sallida in forum New User SEO Questions and Answers
    Replies: 5
    Last Post: Dec 12th, 2016, 01:11 PM
  4. the X-default hreflang new update from google web mastertools
    By jorgepatrick in forum Google Optimization
    Replies: 2
    Last Post: Apr 16th, 2013, 03:01 AM
  5. Rel=”alternate” hreflang=”x”
    By leehughes in forum Google Optimization
    Replies: 3
    Last Post: Oct 10th, 2012, 04:38 PM

IMN logo majestic logo threadwatch logo seochat tools logo