使用jQuery加载元素会影响SEO排名吗? [英] Would using jQuery to load elements affect SEO ranking?

查看:363
本文介绍了使用jQuery加载元素会影响SEO排名吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的页面有两个部分,加载速度较慢.由于它们已经是ASCX,因此使用jQuery异步呈现它们将是微不足道的.

I have a page that has two parts that are slower loading. As they are already ASCXes, it would be trivial to render them asynchronously with jQuery.

很明显,这意味着所讨论的内容不是在第一次旅行时就被泵送到浏览器,而是在它后面的200毫秒左右.

That would mean, obviously, that the content in question isn't pumped to the browser on the first trip, but rather 200ms or so behind it.

爬虫程序是否评估通过脚本加载的内容?对排名有影响吗?

Do the spiders evaluate the content that loads via script? Does it have an affect on ranking?

如果没有,则不会允许恶意SEO滥用者通过在加载页面后替换内容来提高排名(由于浏览器在首次推送中使用了流行的搜索字词,因此将内容替换为,从而获得了更高的排名)通过脚本加载页面后是否废弃广告?

And if not, wouldn't that allow a malicious SEO abuser to climb the rankings by replacing content after loading the page (achieving higher rankings due to use of popular search terms in the first push by the browser, replacing the content with crap ads after the page loads via script)?

最后,如果将要加载的内容加载到空div/elements中,而不是已经由文本填充的内容,这有什么区别吗?乍一看,站点开发人员正在使用一个较小的占位符div来使用户体验得到改善,这似乎更合法.

Finally, does it make any difference if the content being loaded is loaded into empty divs/elements versus those already populated by text? On first thought it seems more legit that a small placeholder div with not a lot in it is being used by a site developer to improve UX.

干杯.

推荐答案

大多数爬网程序都不知道如何评估javascript.即使他们这样做了,由于多种原因,要评估比最简单的javascript还很难的事情.因此,如果您的内容未在页面中内联,则很可能会影响排名.

Most crawlers do not know how to evaluate javascript. Even if they did, for a variety of reasons it'd be very difficult to evaluate more than the most simple of javascript. So if your content was not inlined in the page, it could very well affect the ranking.

对于SEO滥用者来说,这是可能的,但是将看不见的内容也放在隐藏的div中也是可以的.请记住,这些天大量的页面排名与页面中的关键字无关,而是与数据的相关性以及与页面的链接有关. SEO是必需的,但是SEO滥用者已经有了一些方法,例如链接交易,向博客发送垃圾邮件和其他有趣的东西,以提高其页面排名.

As to the SEO abuser, this is possible, but so is putting un-seen content in a hidden div. Remember that a large amount of page ranking these days has nothing to do with the keywords in your page, but the relevance of your data, and links to your page. SEO is necessary, but the SEO abusers already have some methods like link trading, spamming links to blogs, and other fun stuff to increase their page ranking.

如果想要正确地抓取内容,您可能需要做的就是为最终用户使用ajax来提高速度,并在检测到爬网程序时进行缓慢的内联页面加载.这将需要保留一个用户代理列表,并且可能会增加代码大小,但是它具有附加功能,如果您愿意的话,还可以支持不具有JavaScript功能的移动/文本浏览器.

What you might have to do if you want your content spidered properly is use ajax for end-users for speed, and do the slow in-line page load for when you detect a crawler. This would necessitate keeping a list of user agents, and possibly increase your code size but it has the added feature that if you wanted, you could then support mobile/text browsers with no javascript capabilities too.

这篇关于使用jQuery加载元素会影响SEO排名吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆