如果“rel =”nofollow“”,(Google)机器人/爬虫会跟踪链接吗?是通过javascript设置的吗?
我想阻止机器人通过 rel=nofollow 跟踪我的外部链接。 我有两个问题:
1)这真的有助于我的页面排名(我听到一个 SEO 人员这么说,因为用户离开页面的可能性较低,页面排名应该上升)
2)它有效吗当 $(document).ready() 函数中通过 javascript 设置 rel=nofollow 时?
编辑:感谢迄今为止的建议 - 更详细地了解 1:
机器人如何知道(...)?
机器人知道这一点,因为他知道您链接到的页面的页面排名,如果排名很高,则您点击此链接并离开我的页面的可能性就很高。这就是为什么如果您的传入链接多于传出链接,那么应该是件好事,当然,来自高排名页面的传入链接比来自低排名网站的传入链接更重要。另一方面,指向高排名页面的传出链接应该会增加用户离开的可能性......但我不是这方面的专家,这正是这个 SEO 人员所说的
编辑 2 问题是,如果我将 rel="nofollow" 添加到外部链接,是否会提高我的 Google 页面排名,并且 - 如果它提高了我的页面排名 - 通过使用 javascript 设置它是否仍然有效。 提前致谢
I want to keep bots from following my external links through rel=nofollow.
I have 2 questions about it:
1) Does this really help my page ranking (I heard a SEO guy saying this, as it the page ranking should go up as the probability is lower that the user leaves the page)
2) Does it work when the rel=nofollow is set through javascript in the $(document).ready() function?
EDIT: thanks for the suggestions so far - to go more into detail to 1:
how can the robot know(...)?
The robot knows this because he knows the page ranking of the page that you link to, and if it is high the probability is high that you follow this link and so by leave my page. That's why it is supposed to be good if you have more incoming than outgoing links, where of course incoming links from high-ranked pages count more than incoming links from low-ranked websites. on the other hand outgoing links to high-ranked pages are supposed to increase the probability that the user leaves... but I am no expert in this that's just what this SEO guy was telling
EDIT 2
Question is if it improves my Google pageranking if I put rel="nofollow" to external links, and - in case it improves my page ranking - if this still works through setting it with javascript.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
1.
这是有可能的。您的页面将在内部流动页面排名,因此拥有更多出站链接将降低您流向自己页面的页面排名。
2.
Google 能够读取 javascript,并且会在动态创建的链接上使用 nofollow,但是,我不确定在“静态”链接上动态添加 nofollow 时它是否有效。
当然,当谈到搜索引擎优化时,有很多猜测。
1.
It's possible. Your pages will flow pagerank internally, so having more outbound links will decrease the pagerank you flow to your own pages.
2.
Google is capable of reading javascript, and will honor a nofollow on dynamically created links, however, I am not sure if it works when dynamically adding nofollow on 'static' links.
Of course, there's much speculation when it comes to SEO.
什么?
<块引用>
随着用户离开页面的概率降低,页面排名应该上升
机器人应该如何知道这一点?
机器人不处理 JavaScript,
rel="nofollow"
在发送到客户端时必须出现在源标记中。并添加:
rel="nofollow"
不保证链接不被关注或添加为到其他页面的链接以建立页面排名(真正的过程要复杂得多);这取决于机器人/搜索引擎。What?
How should a robot know this?
Robots don't process JavaScript,
rel="nofollow"
has to be present in the source markup as it is sent to the client.And to add:
rel="nofollow"
does not guarantee that a link is not followed or added as link to the other page to build up page rank (the real process is much more complex); that depends on the robot/search engine.添加 rel="nofollow" 不会阻止机器人跟踪链接。但它会阻止机器人向该链接提供任何页面排名。
哦,正如之前所说,大多数机器人不执行 JavaScript。我相信谷歌一直在研究这样的剂量,但这是例外而不是常态。
Adding a rel="nofollow" will not stop the bot following the link. but it will stop the bot giving any of your page rank to that link.
Oh and as said before mostly bots do not execute JavaScript. I belive google have been playing around with one that dose, but this is the exception not the norm.
1)您链接出的页面越多,对您的权限比的影响就越大,您本质上希望您链接出的链接越多。点击率由谷歌分析跟踪,这被纳入他们本质上黑盒搜索排名的魔力中。
2) 虽然人们普遍认为机器人不处理 JavaScript,但这是错误的,Google 当前一代的机器人支持 ajax。
1) The more pages that you link out to, the more it affects your authority ratio, you essentially want more linking in that you link out. CTR is tracked by google analytics and this is factored into their essentially blackbox search ranking magic.
2) Whilst it's commonly thought that robots don't process JavaScript, this is wrong, google's current generation of robots are ajax aware.
我自己来这里就是为了寻找这个问题的答案。 (谢谢安德烈!)
我可以向 Google 证明,跟踪带有 href="javascript:..." URL 的链接,并转到正确的页面,因此这无法防御不需要的链接爬行。我还看到搜索结果片段包含由 javascript 插入的文本,因此有充分的证据表明 Google 正在处理 javascript。
如果链接是内部链接,那么正确使用 robots.txt 将是首选、更简单且更节省带宽的答案,当然,如果您有权访问它。 (我们不在有问题的服务器上,因此我自己寻找答案。)
我将通过 javascript 添加 nofollow。
I came here looking for an answer to this question myself. (Thanks Andre!)
I can attest to Google following links with href="javascript:..." URLs, and going to the correct pages, so that is no defense against unwanted link-crawling. I have also seen search result snippets include text inserted by javascript, so there is ample evidence of Google processing javascript.
If the links are internal, proper use of robots.txt would be the preferred, easier, and more bandwidth-efficient answer, of course, if you have access to that. (We don't on the server in question, thus my own search for answers.)
I shall be adding nofollow via javascript.