Learn how to use the shortlink rel link tag to improve your site.
The shortlink link element is used to provide a shortened version of the current page’s URL. It’s especially useful for social media sharing, simplifying lengthy URLs for easier distribution and recall.
Code Examples
https://examp.le/QxTp9
A secure, short URL that redirects to the canonical page.
http://examp.le/QxTp9
Uses HTTP instead of HTTPS, missing the opportunity to secure the redirected connection.
Recommendations
01
Prefer HTTPS
When generating shortlinks, use HTTPS to ensure secure connections and enhance trust with users.
02
Consistency is Key
Ensure the shortlink points to the canonical version of the URL to avoid content duplication issues.