<p>So probably you don't want to use canonical URLs there, but rather <a href="https://support.google.com/webmasters/answer/189077?hl=en" rel="nofollow noreferrer">hreflang</a> -- and the good news is that as long as all of your localized sites are in the same site group in Craft, SEOmatic does all of this automatically for you:</p>

<p><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-01-27T17:06:53.543Z
Hi, thank you for the response. I'm not sure (I could be wrong) if hreflang is what we want because the countries that are being made are Canada and Australia. They won't be in different languages, but will have duplicate content (a lot of pages), so we want to make sure they all have the canonical root domain + entry specific url
Cat Named Dog
CC BY-SA 4.0
2020-01-22T22:14:38.247Z
2020-01-22T22:14:38.247Z
andrew.welch
<p>We're adding a multi-site config to a website.</p>

<p>All sections are being copied over to the new sites from the primary site.</p>

<p>So for example, we now have these two pages:</p>

<p><code>mysite.com/services/some-service</code></p>

<p><code>mysite-ca.com/services/some-serivice</code></p>

<p>The <code>mysite-ca.com</code> should have a canonical url of <code>mysite.com/services/some-service</code></p>

<p>I'm using seomatic and I'd like to insert the correct dynamic canonical url in the Content Seo Settings.</p>

<p>Is there a way to get an <code>entry.url</code> from another site?</p>

<plugin-seomatic>
Get entry url from primary site (using seomatic)
# Get entry url from primary site (using seomatic)

(Asked by: username_0 on 2020-01-22)

We're adding a multi-site config to a website.

All sections are being copied over to the new sites from the primary site.

So for example, we now have these two pages:

`mysite.com/services/some-service`

`mysite-ca.com/services/some-serivice`

The `mysite-ca.com` should have a canonical url of `mysite.com/services/some-service`

I'm using seomatic and I'd like to insert the correct dynamic canonical url in the Content Seo Settings.

Is there a way to get an `entry.url` from another site?

**Tags:** plugin-seomatic


---

## 1 answers

### Answer by username_1 on 2020-01-22. Score: 1

So probably you don't want to use canonical URLs there, but rather [hreflang](https://support.google.com/webmasters/answer/189077?hl=en) -- and the good news is that as long as all of your localized sites are in the same site group in Craft, SEOmatic does all of this automatically for you:

[SEOmatic Multi-Site Language/Locale Support](https://nystudio107.com/docs/seomatic/Technologies.html#multi-site-language-locale-support)

> **Comments:**
> **username_0**: Hi, thank you for the response. I'm not sure (I could be wrong) if hreflang is what we want because the countries that are being made are Canada and Australia. They won't be in different languages, but will have duplicate content (a lot of pages), so we want to make sure they all have the canonical root domain + entry specific url  

---

