I have my site setup, and I am getting ready to make a lot of changes to it, but I need the layout and SEO finished first. After running Lighthouse by Google, I noticed all my SEO tips were good, minus that the Canonical link was pointing to my VPS and not to my site url. After some quick google search, I found out that I could just edit in a for the Canonical:
So I did this to my default.html:
All fine and dandy right? No. As now there are two canonical URLs, one pointing to my website, and the other to my VPS…
I tried next to use the Jekyll SEO Tag and using the:
canonical_url: 'example .com'
This would be placed in your layout, I’d presume:
canonical_url: ‘example .com’
<HTML Stuff Here>
Only thing is, that not only does it just add 2 canonical URLs, they’re both the same, just the Jekyll SEO Tag version adds the port number…
I am stumped, and I need some help, any ideas?