Answers.Body: <p>You're going to want to ensure that all of the sites that are a translation of each other are in the same site group, as detailed here: <a href="https://nystudio107.com/docs/seomatic/Technologies.html#multi-site-language-locale-support" rel="nofollow noreferrer">SEOmatic Multi-Site Language/Locale Support</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-18T05:25:18.017Z
Answers.Text: Dose this one support for craft 2?
Answers.UserDisplayName: Nelson Nguyen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-18T15:40:26.330Z
Answers.Text: Ah apologies, no -- it's for Craft 3 only.
Answers.UserDisplayName: andrew.welch
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-18T05:23:35.290Z
Answers.LastActivityDate: 2020-02-18T05:23:35.290Z
Answers.UserDisplayName: andrew.welch
Body: <p>I currently have multi site config. One site have 2 locales.<br>
  My configuration like so:</p>
  
  <pre><code>'example.com' =&gt; array(
      'siteUrl' =&gt; array(
          'us_en' =&gt; 'https://www.example.com/',
          'br_sp' =&gt; 'https://www.example.com/sp'
      ),
  'example.uk' =&gt; array(
      'siteUrl' =&gt; array(
          'uk_en' =&gt; 'https://www.example.uk/',
      ).
  </code></pre>
  
  <p>I'm using SEOmatic plugin.
  Hreflang requires all site have to list on the head of page.
  However, SEO list 2 locales which are us_en and br_sp on a site only.
  How can I do it?</p>
  
Tags: <localization><multi-site><craft2><plugin-seomatic>
Title: Implement hreflang with multi sites
ThreadText: # Implement hreflang with multi sites
  
  (Asked by: username_0 on 2020-02-18)
  
  I currently have multi site config. One site have 2 locales.  
  My configuration like so:
  
  ```
  'example.com' => array(
      'siteUrl' => array(
          'us_en' => 'https://www.example.com/',
          'br_sp' => 'https://www.example.com/sp'
      ),
  'example.uk' => array(
      'siteUrl' => array(
          'uk_en' => 'https://www.example.uk/',
      ).
  
  ```
  
  I'm using SEOmatic plugin.
  Hreflang requires all site have to list on the head of page.
  However, SEO list 2 locales which are us\_en and br\_sp on a site only.
  How can I do it?
  
  **Tags:** localization, multi-site, craft2, plugin-seomatic
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-02-18. Score: 1
  
  You're going to want to ensure that all of the sites that are a translation of each other are in the same site group, as detailed here: [SEOmatic Multi-Site Language/Locale Support](https://nystudio107.com/docs/seomatic/Technologies.html#multi-site-language-locale-support)
  
  > **Comments:**
  > **username_0**: Dose this one support for craft 2?  
  > **username_1**: Ah apologies, no -- it's for Craft 3 only.  
  
  ---
  
  