3 ms·
You could also specify the corresponding short URL of a page with a META tag: <meta property="shortlink" content="https://bit.ly/shortlink"> Just because
by sysadm1n 4y ago
You could also specify the corresponding short URL of a page with a META tag:
<meta property="shortlink" content="https://bit.ly/shortlink">
Just because it's not a standard doesn't mean you can't use it. This is sort of futureproofing incase it does become a standard.
- kevincox 4y agoI don't care if it is a "standard" but it would be nice if people agreed on something. Is the meta version being used anywhere? It looks what I described is very existing to the spec published here: https://microformats.org/wiki/rel-shortlink https://microformats.org/wiki/rel-shortlink
- sysadm1n 4y agoOnly learning about this now. Thanks for pointing it out. I remember seeing this in the source of some blogs, great to know the exact snippet of code I should be using.