在博客中添加短网址会使 SEO 更好还是更差?

发布于 2024-10-08 10:19:37 字数 1459 浏览 0 评论 0原文

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

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

发布评论

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

评论(2

舟遥客 2024-10-15 10:19:37

如果您打算这样做,请记住添加

<link rel="canonical" href="www.blog.com/articles/this-is-a-sample.html" />

this-is-a-sample.html,这样无论访问 www.blog.com/:157 都会看到在引用 this-is-a-sample.html 的规范标记中,不会因为内容重复而惩罚您的网站。

这样做不会提高或降低您的网页排名。

在这里阅读有关规范标签的更多信息:

http://googlewebmastercentral.blogspot.com/2009/02/指定-your-canonical.html

If you're going to do that, remember to add

<link rel="canonical" href="www.blog.com/articles/this-is-a-sample.html" />

To this-is-a-sample.html, so whatever access www.blog.com/:157 will look at the canonical tag referring to this-is-a-sample.html and won't penalize your site for having duplicated content.

Doing this won't increase or decrease your page rank.

Read more about the canonical tag here:

http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

猫七 2024-10-15 10:19:37

扩展 Ben 的答案,你为什么不看看 StackOverflow 如何处理这个问题呢?
以您自己的线程为例: https://stackoverflow.com/questions/4479453/adding-short-urls-to-a-blog-makes-seo-better-or-worse 类似于“不错的友好 URL”,而 https://stackoverflow.com/questions/4479453/ 是较短的一个,类似于您的 www.blog.com/:157

现在,如果您打开此页面的源代码,您应该会看到 Ben 在上面详细阐述的 rel="canonical"。该标签可确保搜索引擎将索引指定的标签。此外,建议这两个链接应该是可点击的,以便用户可以为规范链接添加书签。不要错过这个帖子:为什么有些网站在网址末尾添加“Slugs”?,这并不能解决您的问题,但它可以让您更深入地了解您的理解。

Expanding Ben's answer, why do not you take a look at how StackOverflow handle this?
Take your own thread for example: https://stackoverflow.com/questions/4479453/adding-short-urls-to-a-blog-makes-seo-better-or-worse is resemble "nice friendly-URLs" of your blog, while https://stackoverflow.com/questions/4479453/ is the shorter one, similar to your www.blog.com/:157

Now if you open this source of this page, you should see rel="canonical" that Ben elaborated above. This tag makes sure that search engines will index the assigned one. Moreover, it is advised that those two links should be clickable, so that users can bookmark the canonical one. Do not miss this thread: Why do some websites add "Slugs" to the end of URLs?, it is not tackle your question, yet it gives your deeper insight on your understanding.

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