3 ms·
> Actual link: https://www.anyleaf.org/stove-thermometer https://www.anyleaf.org/stove-thermometer HN truncates my links to the top URL 30s after posting. Thi
by lambda 5y ago
> Actual link: https://www.anyleaf.org/stove-thermometer https://www.anyleaf.org/stove-thermometer HN truncates my links to the top URL 30s after posting.
This is probably because you have the following in your HTML:
<link rel="canonical" href="https://www.anyleaf.org">
This is used to tell search engines and other sites that the page in question contains the same content as the page in the "canonical" link; so they should prefer to show the canonical version over the other one. I'm guessing HN also uses this for a single reason.
You shouldn't have canonical link relations to pages which are meaningfully different.
Edit: ah, I see that someone else pointed this out and you've fixed it already.