与使用第三方资源相比,构建自己的类似tinyURL 的功能/服务有优势吗?

发布于 2024-08-05 22:41:44 字数 306 浏览 3 评论 0原文

我已经看到了许多不同的方法来构建功能/服务来生成短 URL,然后我可以通过自己的域进行控制。

这听起来是个好主意;然而,当我看到诸如能够长期控制这些 URL、根据需要调整最终位置、对它们结束位置进行更多跟踪等优点时,

我想知道是否已经有一项服务可以提供无需自己构建/托管/支持解决方案即可实现这种级别的控制?

所需的确切功能如下:

  • 控制 URL 生成后指向的位置(由于法律/监管问题,底层 URL 需要更改)
  • 更强大地跟踪 URL 的使用位置,而不是仅仅执行 Google 搜索 对于小网址

I've seen the many different ways I can build a function/service to generate short URLs which I can then control via my own domain.

This sounds like a great idea; however, as I look at the advantages such as being able to control these URLs long term, adjusting the end location if needed have more tracking over where they wind up, etc.

I'm wondering if there is already a service out there that provides for this level of control without needing to build/host/support the solution myself?

The exact features desired are as follows:

  • Control of where the URL points to AFTER it's generated (the underlying URL needs to change due to legal/regulatory issues)
  • More robust tracking of where the URL is used as opposed to just doing a Google Search
    for the tiny URL

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

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

发布评论

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

评论(2

孤云独去闲 2024-08-12 22:41:45

优点是您拥有这些链接,并且不依赖于可能停业的服务。此外,如果缩短的 URL 仍然包含您的域名,那么它会对页面排名具有 SEO 优势。另一件事是,它会减少用户点击链接的摩擦。当您使用另一个域进行缩短时,您也依赖于用户对该组织的信任。

The advantage would be that you own the links and are not dependent on a service that may go out of business. Also, if the shortened URL still has your domain it would have SEO advantages for page rank. Another thing is that it would reduce friction from clicking the link by your users. When you use another domain for shortening you are dependent on the trust the user has with that organization as well.

゛时过境迁 2024-08-12 22:41:45

它们不一定针对简短进行优化,通常它们看起来像 http://purl.org/net/kin ,但 PURL 可能就是您想要的

PURL(持久统一资源定位器)是在动态且不断变化的 Web 基础设施中充当永久标识符的 Web 地址。 PURL 不是直接解析为 Web 资源,而是提供了一定程度的间接性,允许资源的底层 Web 地址随时间而变化,而不会对依赖它们的系统产生负面影响。此功能提供对网络资源的引用的连续性,这些资源可能因业务、社会或技术原因而从一台机器迁移到另一台机器。

purl.org

如果您使用集中式服务器,您可以完全控制它们指向的位置;您还可以下载他们的软件来运行您自己的软件。

They may not necessarily be optimised for shortness, typically they look like http://purl.org/net/kin , but PURLs might be what you want

PURLs (Persistent Uniform Resource Locators) are Web addresses that act as permanent identifiers in the face of a dynamic and changing Web infrastructure. Instead of resolving directly to Web resources, PURLs provide a level of indirection that allows the underlying Web addresses of resources to change over time without negatively affecting systems that depend on them. This capability provides continuity of references to network resources that may migrate from machine to machine for business, social or technical reasons.

purl.org

You have complete control over where they point if you use the centralised server; you can also download their software to run your own.

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