You could put them anywhere, but I think Google reads the HTML and might pick up on it as I believe it’s termed link stuffing, which is adding lots of links that are not accessible just to create interlinking.

If it’s your index page, why do you need canonical url? My understanding of canonical urls is it’s used for things like product pages that could be accessed from a variety of links, mostly through filters passed through URL, so the site doesn’t get hit with duplicated content.

1 Like