Noscript Tag,JavaScript禁用警告和Google Penalty [英] Noscript Tag, JavaScript Disabled Warning and Google Penalty

查看:83
本文介绍了Noscript Tag,JavaScript禁用警告和Google Penalty的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户禁用JavaScript或使用像Noscript这样的脚本阻止插件时,我一直在使用noscript标记来显示警告。如果JavaScript被禁用,网站将无法正常运行,并且用户可能无法在没有警告的情况下找出无法正常工作的原因。

I have been using a noscript tag to show a warning when users have JavaScript disabled or are using script blocking plugins like Noscript. The website will not function properly if JavaScript is disabled and users may not figure out why it is not working without the warning.

在最新的Google算法改组后,我看到了每日流量下降到前几个月的1/3左右。我还看到在SERPS中排名第一或第二的页面从结果中退出。在对网站管理员工具进行一些调查之后,我注意到JavaScript在关键字部分列为#16。这没有任何意义,因为该网站与JavaScript无关,而且该单词出现的唯一位置是noscript标签之间的文本。

After the latest Google algorithm shuffle, I have seen the daily traffic drop to about 1/3 of what it was in the previous months. I have also seen pages that were ranking #1 or #2 in the SERPS drop out of the results. After doing some investigating in webmaster tools, I noticed that "JavaScript" is listed as #16 in the keywords section. This makes no sense because the site has nothing to do with JavaScript and the only place that word appears is in the text between the noscript tags.

Google似乎现在包括和索引noscript标签之间的内容。我不相信以前发生过这种情况。警告是三句话。我想在网站的每一页顶部出现相同的三个句子可能会对搜索引擎优化产生破坏性影响。

It seems that Google is now including and indexing the content between the noscript tags. I don't believe that this was happening before. The warning is three sentences. I'd imagine that having the same three sentences appearing at the top of every single page on the site could have a damaging effect on the SEO.

你认为这可能吗?引起SEO的问题?并且,有没有其他方法可以向搜索引擎无法索引或读取的方式禁用JavaScript的用户发出警告?

Do you think this could be causing a problem with SEO? And, is there any other method to provide a warning to users who have JavaScript disabled in a way that won't be indexed or read by search engines?

推荐答案

另一个论坛上有人提到使用图像进行警告。我的方式,这将有三个好处:

Somebody on another forum mentioned using an image for the warning. The way I see it, this would have three benefits:


  1. 没有任何不相关的文本供搜索引擎索引。

  2. 显示单个图像的代码不如文本警告(每个页面加载一次)都要小。

  3. 可以实现跟踪以确定如何很多时候调用图像,以了解有多少访问者禁用或阻止了JavaScript。

如果你把它与某些东西结合起来就像JP提到的非noscript技术一样,它似乎是最好的解决方案。

If you combine this with something like the non-noscript technique mentioned by J-P, it seems to be the best possible solution.

这篇关于Noscript Tag,JavaScript禁用警告和Google Penalty的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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