Let's say I have the following three URLS.
Url1: Domain/Home Url2: www.domain/home Url3: domain/home <-- Canonical
With respect to SEO, is it preferred to add a canonical link to Url1 & Url2, or is it better to do a 301 Redirect to Url3 when user visits Url1 and Url2?
I am looking for SEO best practice.
Let's assume my canonical url is:
In my application, I already redirect all http traffic to https. I also redirect url without www to urls with www.
My question is should I still add the following link to my HTML page? Or because I am redirecting other forms of url, I no longer need the following canonical link on my html page?
<link rel="canonical" href="https://www.domain/browse" />
In other words, is it better to redirect all variations of
https://www.domain/browse (with/without www, lower-case/upper case, etc) to
https://www.domain/browse or is it better to add the canonical link to my html page?