cahamo / cahamo.github.io

Cahamo's electronics and micro-controller website.
https://cahamo.delphidabbler.com
MIT License
0 stars 0 forks source link

Fix canonical URLs #29

Open delphidabbler opened 1 year ago

delphidabbler commented 1 year ago

Google is reporting that pages are reporting canonical URLs on cahamo.gitub.io instead of cahamo.delphidabbler.com.

Could this be because the site.url variable is being used which GitHub pages resolves to the github.io version of the URL?

Fix might involve using literal text for cahamo.delphidabbler.com instead of site.url.

delphidabbler commented 1 year ago

Having viewed a live page, canonical url is being declared correctly as have host https://cahamo.delphidabbler.com.

So site.url doesn't seem to be the problem.

Is there something linking to cahamo.github.io?

delphidabbler commented 1 year ago

Is problem the absence of the following line in _config.yml?

url: "https://cahamo.delphidabbler.com"