测试逃逸片段搜索与网站管理员工具 [英] Testing Escaped Fragment Search with Webmaster Tools

查看:84
本文介绍了测试逃逸片段搜索与网站管理员工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站是在AngularJS,所以我最近创建我的所有内容的HTML快照,增加了逃脱片段标记来我所有页面的头部(META NAME =片段CONTENT =!),然后试着测试,看看新的设置是在网站管理员工具的工作。当我看着我看到了逃出片段的来源(然而,这倒)(元含量=!NAME =片段)。我不知道为什么会发生的事情或者如果该事项...

My site is in AngularJS, so I recently created HTML snapshots of all my content, added the escaped fragment tag to the head of all my pages (meta name="fragment" content="!"), and then tried to test to see if the new setup was working in Webmaster Tools. When I look in the source I see the escaped fragment (however, it's inverted) (meta content="!" name="fragment"). I'm not sure why that's happening or if that matters...

当我提交的URL取像谷歌网站管理员工具的回报获取状态未找到。但是,如果我手动添加?_escaped_fragment_ =我的网址的结尾,我得到一个成功状态。

When I submit a URL to "Fetch as Google," Webmaster Tools returns Fetch Status Not Found. However, if I manually add "?_escaped_fragment_=" to the end of my URL, I get a success status.

所以,我的问题是,这是否有些事情要如何与网站管理员工具的测试网址或有我设置片段逃脱正确?

So, my question is, does this have something to do with how Webmaster Tools tests URLs or have I set up fragment escaping incorrectly?

推荐答案

显然,取像谷歌不取相同的方式,谷歌一样。当使用取像谷歌的网页无法检查的元标记。但是,很明显,谷歌确实爬行时检查页面的元标记。

Apparently "Fetch as Google" does not fetch the same way that Google does. When using "Fetch as Google" the page isn't checked for the meta tag. However, obviously, Google does check the page for the meta tag when crawling.

这篇关于测试逃逸片段搜索与网站管理员工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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