It actually depends on your site as there are lots of things to consider. For example, if your site is available on multiple domain names, you need a mechanism for telling it which domain is the canonical. Also, if sub sections of your site are available on different domains (which is something I've seen), for examples "news.domain.com" might only contain the news section of a site, then you need to know if the canonical on those pages is news.domain.com or domain.com.
In my opinion, umbracoAlias indicates something that shouldn't be the canonical as it's an "alternative" not a "definitive". But you might have other things in your site that do funky things with urls that you need to consider.
Canonical URL
Hi Just wondering how you guys manage your Canonical URL on each page.
Should it just be
If the property umbracoAlias is available should that be taken into account?
Hey Iori,
Please have a look here
http://uptica.com/canonical-urls-in-umbraco-cms-version-7-1-x-with-razor/
https://www.tadasolutions.com/blog/umbraco-v7-canonical-tags/
Hi Lori,
It actually depends on your site as there are lots of things to consider. For example, if your site is available on multiple domain names, you need a mechanism for telling it which domain is the canonical. Also, if sub sections of your site are available on different domains (which is something I've seen), for examples "news.domain.com" might only contain the news section of a site, then you need to know if the canonical on those pages is news.domain.com or domain.com.
In my opinion, umbracoAlias indicates something that shouldn't be the canonical as it's an "alternative" not a "definitive". But you might have other things in your site that do funky things with urls that you need to consider.
Nik
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.