Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 PHP 函数处理我的主菜单链接和其他一些重要的内容链接:include_once ('mainmenu.inc.php'),我想知道谷歌是否会在按顺序确定我的排名位置之前运行我的 PHP 代码了解我的网站的内容和结构。
GoogleBot 不会运行您的 PHP。您的服务器将解析 PHP 并将其提供给机器人(就像使用您网站的任何其他常规用户一样)。但是,如果您有通过 javascript 或 ajax 传递的内容,您可能会遇到问题。
没错 Ashwani,Google 也索引 css 和 js 文件,我已经看到网站从 .js 文件中获取反向链接