如何强制机器人/应用程序使用您的 URL 缩短器

发布于 2024-10-10 01:36:22 字数 236 浏览 0 评论 0原文

我使用过几个 Twitter 应用程序,它们似乎都使用网站自己的 URL 缩短器而不是 bit.ly 或tinyurl.com 等来缩短 URL。例如,亚马逊的名称是 amzn.to。这些应用程序是否真的与最流行的网站(亚马逊、戴尔、ESPN、微软、谷歌、苹果等)保持同步,或者是否有元标记、javascript 或其他我可以添加到我的 Web 应用程序中的内容它使用自定义 URL 缩短器吗?我们有一个一直使用的域名,因为我们的域名长度超过 20 个字符。

I've used several Twitter apps and they all seem to shorten URLs using the website's own URL shortener instead of bit.ly or tinyurl.com or something. For instance, Amazon's is amzn.to. Is it that these apps are really keeping up with the most popular sites (Amazon, Dell, ESPN, Microsoft, Google, Apple, etc) or is there a metatag, javascript, or something else that I can add to my web application to have it use a custom URL shortener? We have one that we've used forever as our domain name is over 20 characters in length.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

海之角 2024-10-17 01:36:22

基本上,支持 bit.ly 和其他 URL 缩短程序的应用程序可以识别您是谁,从而使用自定义域适当地缩短 URL。

Basically, apps that are supporting bit.ly and other URL shorteners can tell who you are and thus shorten the URL appropriately using a custom domain.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文