解决Google抓取索引错误

时间:2018-04-25 07:42:22

标签: html google-webmaster-tools

以下是我的帮助主题之一:

http://www.publictalksoftware.co.uk/public_talks/HelpOnline/source/congregationlink.htm

Snippet

在该主题中是以下HTML代码:

<li>
    <p align="left">You might have a file 
    your computer with directions and details, in which case you could
    use a <a href="file://path_to_file.doc">file://path_to_file.doc</a> link.</p>
</li>

现在,我刚刚注意到,在谷歌搜索控制台中它已经提出crawl index error

Crawl Index Error

帮助主题中的信息仅为用户的可视示例非文字HTML 。如何更改此HTML,使其仍然看起来相同,但会抑制抓取索引错误?

我基本上想要向用户展示他们希望链接到本地​​文件时可以在该编辑框中输入的内容的示例。

如您所见,我实际上向用户提供了三个示例。但它们都是文字链接,因为我不知道如何将它们作为例子来表示而不将它们变成文字链接。

2 个答案:

答案 0 :(得分:1)

你可以试试。

<!--googleoff: index-->
<li>
    <p align="left">You might have a file 
    your computer with directions and details, in which case you could
    use a <a href="file://path_to_file.doc">file://path_to_file.doc</a> link.</p>
</li>
<!--googleon: index>

答案 1 :(得分:0)

我已经改变了这样的HTML逻辑:

<p align="left">1. Keep a set of directions to a Kingdom Hall:</p>
<pre> www.streetmap.co.uk</pre>
<p align="left">2. Keep the coordinator or speakers email address:</p>
<pre>mailto:email@address.com</pre>
<p align="left">3. You might have a file on your computer with directions and details:</p>
<pre align="left">file://path_to_file.doc</pre>

Results