什么是隐身

发布于 2024-11-24 21:33:17 字数 503 浏览 4 评论 0原文

首先我想我明白什么是隐形,但它的细节是什么?

我的问题:我有一个使用 wavemaker 创建的 Web 应用程序,因此它充满了 javascript 和 ajax 调用。因此谷歌抓取工具看不到我的任何内容。我现在的想法是为禁用 javascript 的用户和谷歌爬虫制作一个不同的简单 html 页面。此页面包含一个 javascript 块和一个重定向,如下所示:

<script language="javascript" type="text/javascript">

   //redirect to the ajax page
   window.location.href = 'http://www.myhomepage.com/index.html?page=about'; 

</script>

仅当用户浏览此站点并打开 javascript 时才会发生重定向。谷歌抓取工具永远不会被重定向。两个页面具有相同的内容,但 URL 不同。你认为这项技术是隐形的吗?

First I think I understand what cloaking is, but what is it in detail?

My problem: I've a webapp created using wavemaker, so it's full of javascript and ajax calls. Therefore the google crawler can't see any of my content. My idea is now to make a different simple html page for users have javascript disabled and for the google crawler. This page contains a javascript block and a redirect like this:

<script language="javascript" type="text/javascript">

   //redirect to the ajax page
   window.location.href = 'http://www.myhomepage.com/index.html?page=about'; 

</script>

The redirect will only occur when a user browses this site and have javascript turned on. The google crawler will never be redirected. Both pages have the same content, but different URLs. Do you think this technic is cloaking?

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

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

发布评论

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

评论(4

囚你心 2024-12-01 21:33:17

我认为基于 Flash 的网站提出的所有观点都适用于这种情况。
您有 1 个网站使用了搜索引擎爬虫无法(完全\正确)读取的技术。
马特·卡茨是这样说的:
“一个好的经验法则是在文本浏览器(如 Links)或关闭 JavaScript/CSS/Flash 的古老浏览器中查看您的网站。如果您只需单击常规链接即可访问所有页面,那么您的网站应该是非常适合爬行。”
http://www.mattcutts.com/blog/solved- another-common-site-review-problem/

基于此以及其他文章:
如果您的代码将向搜索引擎爬虫显示相同的内容 - 我不认为这是伪装

I think all the points that were raised on Flash based web sites apply to this scenario.
You have 1 web site that uses technologies the Search engine crawlers can not read (fully \ correctly).
here is what Matt Cutts said:
"A good rule of thumb is to take a look at your site in a text browser like Links or an ancient browser with JavaScript/CSS/Flash turned off. If you can reach all your pages just by clicking regular links, your site should be pretty crawlable."
http://www.mattcutts.com/blog/solved-another-common-site-review-problem/

based on that, and other articles:
if your code will show Search engine crawlers the same content - i do not think this is cloaking

街道布景 2024-12-01 21:33:17

更简单:

您可以使用 标签,从而将内容传递给关闭了 JavaScript 的用户(和 Google 机器人)。不需要丑陋的重定向......

只需像这样使用它:

<noscript>Your content for Javascript disabled browsers and bots here</noscript>

Even simpler:

You could make use of the <noscript> Tag, hence delivering content to users (and the google bot) that have javascript turned off. No need for an ugly redirect ...

Just use it like this:

<noscript>Your content for Javascript disabled browsers and bots here</noscript>
谁的新欢旧爱 2024-12-01 21:33:17

它通常被称为黑帽 SEO 技巧。
然而它可以有其他用途,但是通常一个好的服务器应用程序不需要使用这样的技巧。

我认为这比我解释得更好......

http://en.wikipedia.org/wiki/Cloaking

It's usually referred to as a black hat SEO trick.
However it can have other uses, generally however a good server application shouldn't need to use tricks like that.

I think this explains it better than me though ...

http://en.wikipedia.org/wiki/Cloaking

留蓝 2024-12-01 21:33:17

时钟是一种不道德的 SEO 技术,不遵循 SEO 规则,对您的网站有害。它也称为黑帽 SEO 技术。在该技术中,呈现给搜索引擎蜘蛛的内容不同于呈现给用户浏览器的内容。

Clocking is a SEO unethical technique which not follow SEO rules and harmful for your site. It's also call black hat SEO Technic. In the technique the content presented to the search engine spider is different from that presented to the user's browser.

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