<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>

CC BY-SA 4.0
2020-02-18T05:25:18.017Z
Dose this one support for craft 2?
Nelson Nguyen
CC BY-SA 4.0
2020-02-18T15:40:26.330Z
Ah apologies, no -- it's for Craft 3 only.
andrew.welch
CC BY-SA 4.0
2020-02-18T05:23:35.290Z
2020-02-18T05:23:35.290Z
andrew.welch
<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>

<localization><multi-site><craft2><plugin-seomatic>
Implement hreflang with multi sites
# 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.  

---

