The link REL canonical tag for the main webpage

Started by seocyrusjpr, Aug 09, 2022, 11:03 AM

Previous topic - Next topic

seocyrusjprTopic starter

I am gathering opinions on how it would be better to make that tag for the main page, with or without a slash:

<link rel="canonical" href="https://www.somesite.com/" />
or

<link rel="canonical" href="https://www.somesite.com" />
your arguments?
This is so that ill-wishers do not generate duplicates of the main page, using engine inaccuracies or hosting features.
  •  

land_driver

Don't bother. For your server, both options are with a slash. Because the root directory. It's the same for SEs.
I have it done with a slash everywhere, but I don't have any justification for why, I just probably got confused about 5-8 years ago, analyzed competitors, came to the conclusion that the majority have it, and I've been doing it for many years ..

For those who are used to blowing on the water (I'm also one of those), it's better to do as the server sends and see the SEs accordingly.
Because now it makes no difference, but tomorrow they will introduce something, change it, and it will appear.
  •  

jackjenny63

Google representative John Mueller in this video:

listed all the signals that the search engine uses to determine the canonical address.

For instance, between HTTPS and HTTP addresses, Google will choose HTTPS, and he may also prefer an attractive URL from his point of view. Among the signals of canonicalization are links from one page to another.
If you have specified one page as canonical, and according to the combination of factors, another one seems more suitable to the search engine, it will not listen to you.
Incorrect settings can harm the indexing of pages. Let's analyze a few typical optimizers' errors.
  •