php和Googlebot [英] php and Googlebot

查看:64
本文介绍了php和Googlebot的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个针对搜索引擎索引进行优化的php页面:没有

图片,表格或CSS,只是带有相关元标记的简单html等。

该页面包含从数据库中提取的列表记录,对于每个记录

,此表格中有该记录的详细信息视图的链接:< a

href ="<?= $ _ SERVER [''PHP_SELF'']?>?rec =<?= $ recordId?>">


我已经确定urlstring不包含一个名为''id''或

的变量,因为我听说有些机器人会认为这是一个会话ID而不是

点击链接。


从我的服务器统计数据中我可以看到主视图。页面被索引

由谷歌罚款,但机器人显然没有按照

详细信息页面的链接。


有没有人知道为什么?

..soma

解决方案

_SERVER [''PHP_SELF'']? >?rec =<?=


recordId?>">


我已经确定了urlstring没有不包含一个名为''id''或

的变量,因为我听说有些机器人会假设这是一个会话ID而不是

请点击链接。


从我的服务器统计数据中我可以看到主视图页面被索引

由谷歌罚款,但机器人显然没有按照

详细信息页面的链接。


有没有人知道为什么?

..soma




" somaboy mx" <无**** @ fakemail.fk> écritdansle message de news:

42 ********** @ x-privat.org ...

从我的服务器统计数据中,我可以看到主视图。这个页面被
索引为Google罚款,但机器人显然没有关注
详细信息页面的链接。

有没有人知道为什么?



请耐心等待......


I''ve created a php page which is optimized for search engine indexation: no
images, tables or css, just plain html with relevant meta tags etc.

The page contains a list records pulled from a database, and for each record
there is a link to the detail view for that record in this form: <a
href="<?=$_SERVER[''PHP_SELF''] ?>?rec=<?=$recordId ?>">

I''ve made sure the urlstring doesn''t contain a variable called ''id'' or
something, since I heard some bots will assume that is a session id and not
follow the link.

From my server stats I can see that the "master view" page is being indexed
fine by Google, but the bot apparently doesn''t follow the links to the
detail pages.

Does anyone have any idea why?
..soma

解决方案

_SERVER[''PHP_SELF''] ?>?rec=<?=


recordId ?>">

I''ve made sure the urlstring doesn''t contain a variable called ''id'' or
something, since I heard some bots will assume that is a session id and not
follow the link.

From my server stats I can see that the "master view" page is being indexed
fine by Google, but the bot apparently doesn''t follow the links to the
detail pages.

Does anyone have any idea why?
..soma



"somaboy mx" <no****@fakemail.fk> a écrit dans le message de news:
42**********@x-privat.org...

From my server stats I can see that the "master view" page is being indexed fine by Google, but the bot apparently doesn''t follow the links to the
detail pages.

Does anyone have any idea why?



Be patient...


这篇关于php和Googlebot的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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