像 bit.ly 这样的 URL 缩短器在 Web 开发中是否有任何用途?

发布于 2024-08-28 18:35:22 字数 219 浏览 3 评论 0原文

我可能在这里遗漏了一些东西,但我无法理解像 bit.ly 这样的链接缩短服务的真正目的,或者这只是大量的炒作!

确实,如果你在浏览器的地址栏上输入 nyti.ms,它会将你带到 www.nytimes.com,但输入“nytimes.com”仍然如此困难!它非常易于阅读和理解,不用去记住 为什么

缩短 URL 在 Web 开发中有什么用处吗?

有人要使用晦涩的缩短 URL?

I might be missing something here but am unable to understand the true purpose of link shortener services like bit.ly or is it just a lot of hype!

Truly if you type nyti.ms on your URL bar on the browser it takes you to www.nytimes.com, but still what is so hard in typing "nytimes.com! which is far much comprehensible to read and understand leave alone to remember!

Does shortening URL serve any purpose in web development?

Why should someone want use obscure shortened URL?

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

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

发布评论

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

评论(6

╰つ倒转 2024-09-04 18:35:22

压缩。

例如:您可能希望在 QR 码 中容纳一个很长的 URL。 :)
alt text

其中有容量有限。

Compression.

For example: you may want to fit a very long URL in a QR Code. :)
alt text

Which has limited capacity.

痴者 2024-09-04 18:35:22

想想 Twitter。您只能提供 140 个字符。如果您想在消息中添加 URL,则最好简短 – 特别是如果您没有链接到另一个网站的主页,而是链接到较深的地方。

Think of e.g. Twitter. You have only 140 characters to give. If you want to add a URL to your message, it better be short – especially if you are not linking to the home page of another website, but somewhere deep.

妞丶爷亲个 2024-09-04 18:35:22
  1. 对于 Twitter,它很方便,因为有 140 个字符的限制。
  2. 它是一个跟踪短链接被点击次数的工具。
  3. 这是一个编程问题吗?
  1. For twitter it is handy because of the 140 char limit
  2. It is a tool to track how many times your shorted link is clicked.
  3. Is this a programming question?
多情出卖 2024-09-04 18:35:22

主要用于 Twitter 等字符串长度有限的服务。也适用于各种需要看不到链接 URL 的模因(例如 rick-rolling)。

Mostly for services like Twitter where string length is limited. Also for various memes which require one not to see the link URL (say rick-rolling).

童话 2024-09-04 18:35:22

在诸如短信之类的电话通信或诸如电子邮件、论坛、新闻组之类的在线通信中,可能需要缩短极长的 URL。

如果我通过电子邮件发送一个很长的链接,它可能会换行并破坏 URL。 URL 的其他奇怪之处可能无法正确处理,具体取决于它的通信方式。如果通过电话大声朗读,则 URL 会变得更短。

In phone communication such as texting or in online communications such as email,forums,newsgroups it may be desirable to shorten an extremely long URL.

If I email a very long link it may get line wrapped and break the URL. Other strangenesses of the URL may not be handled properly depending on the means that it is being communicated. If it is being read out loud over the phone it makes the URL much shorter.

指尖上得阳光 2024-09-04 18:35:22

是的。如果您使用 URL 缩短器来伪装 URL,那么诱骗人们点击真正令人讨厌的色情网站的链接就会容易得多。

Yes. It's a lot easier to trick people into clicking on links to really nasty porn sites if you disguise the URL using a URL shortener.

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